|
|
@@ -11,7 +11,7 @@
|
|
|
<result column="station_name" property="stationName"/>
|
|
|
<result column="dept_station_id" property="deptStationId"/>
|
|
|
<result column="pillar_code" property="pillarCode"/>
|
|
|
- <result column="jcxc_id" property="jcxcId"/>
|
|
|
+ <result column="xch" property="xch"/>
|
|
|
<result column="temperature" property="temperature"/>
|
|
|
<result column="check_date" property="checkDate"/>
|
|
|
<result column="gz1lcz" property="gz1lcz"/>
|
|
|
@@ -65,7 +65,7 @@
|
|
|
v.station_id,
|
|
|
t1.dept_station_id,
|
|
|
t1.pillar_area pillar_code,
|
|
|
- t.jcxc_id,
|
|
|
+ t.xch,
|
|
|
t.temperature,
|
|
|
t.check_date,
|
|
|
t.gz1lcz,
|
|
|
@@ -120,8 +120,8 @@
|
|
|
<if test='null != pillarCode'>
|
|
|
pillar_code,
|
|
|
</if>
|
|
|
- <if test='null != jcxcId'>
|
|
|
- jcxc_id,
|
|
|
+ <if test='null != xch'>
|
|
|
+ xch,
|
|
|
</if>
|
|
|
<if test='null != temperature'>
|
|
|
temperature,
|
|
|
@@ -257,8 +257,8 @@
|
|
|
<if test='null != pillarCode'>
|
|
|
#{pillarCode},
|
|
|
</if>
|
|
|
- <if test='null != jcxcId'>
|
|
|
- #{jcxcId},
|
|
|
+ <if test='null != xch'>
|
|
|
+ #{xch},
|
|
|
</if>
|
|
|
<if test='null != temperature'>
|
|
|
#{temperature},
|
|
|
@@ -400,7 +400,7 @@
|
|
|
<set>
|
|
|
<if test='null != deptStationId'>dept_station_id = #{deptStationId},</if>
|
|
|
<if test='null != pillarCode'>pillar_code = #{pillarCode},</if>
|
|
|
- <if test='null != jcxcId'>jcxc_id = #{jcxcId},</if>
|
|
|
+ <if test='null != xch'>xch = #{xch},</if>
|
|
|
<if test='null != temperature'>temperature = #{temperature},</if>
|
|
|
<if test='null != checkDate'>check_date = #{checkDate},</if>
|
|
|
<if test='null != gz1lcz'>gz1lcz = #{gz1lcz},</if>
|
|
|
@@ -450,7 +450,7 @@
|
|
|
SELECT
|
|
|
<include refid="Base_Column_List"/>
|
|
|
FROM bus_jcb_jcxc t
|
|
|
- LEFT JOIN base_jcxc t1 on t.jcxc_id = t1.id
|
|
|
+ LEFT JOIN base_jcxc t1 on t.xch = t1.id
|
|
|
LEFT JOIN v_station v on t1.dept_station_id = v.dept_station_id
|
|
|
WHERE t.del_flag='0' and t.id = #{id}
|
|
|
|
|
|
@@ -474,7 +474,7 @@
|
|
|
SELECT
|
|
|
<include refid="Base_Column_List"/>
|
|
|
FROM bus_jcb_jcxc t
|
|
|
- LEFT JOIN base_jcxc t1 on t.jcxc_id = t1.id
|
|
|
+ LEFT JOIN base_jcxc t1 on t.xch = t1.id
|
|
|
LEFT JOIN v_station v on t1.dept_station_id = v.dept_station_id
|
|
|
<where>
|
|
|
t.del_flag='0'
|
|
|
@@ -484,8 +484,8 @@
|
|
|
<if test="pillarCode!=null and pillarCode!=''">
|
|
|
and t1.pillar_code=#{pillarCode}
|
|
|
</if>
|
|
|
- <if test="jcxcId!=null and jcxcId!=''">
|
|
|
- and t.jcxc_id=#{jcxcId}
|
|
|
+ <if test="xch!=null and xch!=''">
|
|
|
+ and t.xch=#{xch}
|
|
|
</if>
|
|
|
<if test="temperature!=null and temperature!=''">
|
|
|
and t.temperature=#{temperature}
|