|
|
@@ -91,8 +91,8 @@
|
|
|
<if test='null != xingbie'>
|
|
|
xingbie,
|
|
|
</if>
|
|
|
- <if test='null != zzhfw'>
|
|
|
- zzhfw,
|
|
|
+ <if test='null != pillarArea'>
|
|
|
+ pillar_area,
|
|
|
</if>
|
|
|
<if test='null != tianqi'>
|
|
|
tianqi,
|
|
|
@@ -183,8 +183,8 @@
|
|
|
<if test='null != xingbie'>
|
|
|
#{xingbie},
|
|
|
</if>
|
|
|
- <if test='null != zzhfw'>
|
|
|
- #{zzhfw},
|
|
|
+ <if test='null != pillarArea'>
|
|
|
+ #{pillarArea},
|
|
|
</if>
|
|
|
<if test='null != tianqi'>
|
|
|
#{tianqi},
|
|
|
@@ -279,7 +279,7 @@
|
|
|
<if test='null != stationId'>station_id = #{stationId},</if>
|
|
|
<if test='null != fenxiang'>fenxiang = #{fenxiang},</if>
|
|
|
<if test='null != xingbie'>xingbie = #{xingbie},</if>
|
|
|
- <if test='null != zzhfw'>zzhfw = #{zzhfw},</if>
|
|
|
+ <if test='null != pillarArea'>pillar_area = #{pillarArea},</if>
|
|
|
<if test='null != tianqi'>tianqi = #{tianqi},</if>
|
|
|
<if test='null != temperature'>temperature = #{temperature},</if>
|
|
|
<if test='null != checkDate'>check_date = #{checkDate},</if>
|
|
|
@@ -337,98 +337,99 @@
|
|
|
<select id="getList" resultMap="BaseResultMap">
|
|
|
SELECT
|
|
|
<include refid="Base_Column_List"/>
|
|
|
- FROM bus_jcb_dmcgyq
|
|
|
+ FROM bus_jcb_dmcgyq t
|
|
|
+ LEFT JOIN v_station v on t.station_id = v.station_id
|
|
|
<where>
|
|
|
- del_flag='0'
|
|
|
+ t.del_flag='0'
|
|
|
<if test="stationId!=null and stationId!=''">
|
|
|
- and station_id=#{stationId}
|
|
|
+ and t.station_id=#{stationId}
|
|
|
</if>
|
|
|
<if test="fenxiang!=null and fenxiang!=''">
|
|
|
- and fenxiang=#{fenxiang}
|
|
|
+ and t.fenxiang=#{fenxiang}
|
|
|
</if>
|
|
|
<if test="xingbie!=null and xingbie!=''">
|
|
|
- and xingbie=#{xingbie}
|
|
|
+ and t.xingbie=#{xingbie}
|
|
|
</if>
|
|
|
- <if test="zzhfw!=null and zzhfw!=''">
|
|
|
- and zzhfw=#{zzhfw}
|
|
|
+ <if test="pillarArea!=null and pillarArea!=''">
|
|
|
+ and t.pillar_area=#{pillarArea}
|
|
|
</if>
|
|
|
<if test="tianqi!=null and tianqi!=''">
|
|
|
- and tianqi=#{tianqi}
|
|
|
+ and t.tianqi=#{tianqi}
|
|
|
</if>
|
|
|
<if test="temperature!=null and temperature!=''">
|
|
|
- and temperature=#{temperature}
|
|
|
+ and t.temperature=#{temperature}
|
|
|
</if>
|
|
|
<if test="checkDate!=null and checkDate!=''">
|
|
|
- and check_date=#{checkDate}
|
|
|
+ and t.check_date=#{checkDate}
|
|
|
</if>
|
|
|
<if test="dgqwgAzlg!=null and dgqwgAzlg!=''">
|
|
|
- and dgqwg_azlg=#{dgqwgAzlg}
|
|
|
+ and t.dgqwg_azlg=#{dgqwgAzlg}
|
|
|
</if>
|
|
|
<if test="dgqwgWzws!=null and dgqwgWzws!=''">
|
|
|
- and dgqwg_wzws=#{dgqwgWzws}
|
|
|
+ and t.dgqwg_wzws=#{dgqwgWzws}
|
|
|
</if>
|
|
|
<if test="dgqwgBmqj!=null and dgqwgBmqj!=''">
|
|
|
- and dgqwg_bmqj=#{dgqwgBmqj}
|
|
|
+ and t.dgqwg_bmqj=#{dgqwgBmqj}
|
|
|
</if>
|
|
|
<if test="dgqwgAzlgGzms!=null and dgqwgAzlgGzms!=''">
|
|
|
- and dgqwg_azlg_gzms=#{dgqwgAzlgGzms}
|
|
|
+ and t.dgqwg_azlg_gzms=#{dgqwgAzlgGzms}
|
|
|
</if>
|
|
|
<if test="dgqwgWzwsGzms!=null and dgqwgWzwsGzms!=''">
|
|
|
- and dgqwg_wzws_gzms=#{dgqwgWzwsGzms}
|
|
|
+ and t.dgqwg_wzws_gzms=#{dgqwgWzwsGzms}
|
|
|
</if>
|
|
|
<if test="dgqwgBmqjGzms!=null and dgqwgBmqjGzms!=''">
|
|
|
- and dgqwg_bmqj_gzms=#{dgqwgBmqjGzms}
|
|
|
+ and t.dgqwg_bmqj_gzms=#{dgqwgBmqjGzms}
|
|
|
</if>
|
|
|
<if test="bspwgBsqx!=null and bspwgBsqx!=''">
|
|
|
- and bspwg_bsqx=#{bspwgBsqx}
|
|
|
+ and t.bspwg_bsqx=#{bspwgBsqx}
|
|
|
</if>
|
|
|
<if test="bspwgBsqxGzms!=null and bspwgBsqxGzms!=''">
|
|
|
- and bspwg_bsqx_gzms=#{bspwgBsqxGzms}
|
|
|
+ and t.bspwg_bsqx_gzms=#{bspwgBsqxGzms}
|
|
|
</if>
|
|
|
<if test="bspwgAzlg!=null and bspwgAzlg!=''">
|
|
|
- and bspwg_azlg=#{bspwgAzlg}
|
|
|
+ and t.bspwg_azlg=#{bspwgAzlg}
|
|
|
</if>
|
|
|
<if test="bspwgAzlgGzms!=null and bspwgAzlgGzms!=''">
|
|
|
- and bspwg_azlg_gzms=#{bspwgAzlgGzms}
|
|
|
+ and t.bspwg_azlg_gzms=#{bspwgAzlgGzms}
|
|
|
</if>
|
|
|
<if test="dgqclG1!=null and dgqclG1!=''">
|
|
|
- and dgqcl_g1=#{dgqclG1}
|
|
|
+ and t.dgqcl_g1=#{dgqclG1}
|
|
|
</if>
|
|
|
<if test="dgqclG2!=null and dgqclG2!=''">
|
|
|
- and dgqcl_g2=#{dgqclG2}
|
|
|
+ and t.dgqcl_g2=#{dgqclG2}
|
|
|
</if>
|
|
|
<if test="dgqclG3!=null and dgqclG3!=''">
|
|
|
- and dgqcl_g3=#{dgqclG3}
|
|
|
+ and t.dgqcl_g3=#{dgqclG3}
|
|
|
</if>
|
|
|
<if test="dgqclG4!=null and dgqclG4!=''">
|
|
|
- and dgqcl_g4=#{dgqclG4}
|
|
|
+ and t.dgqcl_g4=#{dgqclG4}
|
|
|
</if>
|
|
|
<if test="sbzt!=null and sbzt!=''">
|
|
|
- and sbzt=#{sbzt}
|
|
|
+ and t.sbzt=#{sbzt}
|
|
|
</if>
|
|
|
<if test="checkUser!=null and checkUser!=''">
|
|
|
- and check_user=#{checkUser}
|
|
|
+ and t.check_user=#{checkUser}
|
|
|
</if>
|
|
|
<if test="czwt!=null and czwt!=''">
|
|
|
- and czwt=#{czwt}
|
|
|
+ and t.czwt=#{czwt}
|
|
|
</if>
|
|
|
<if test="submitState!=null and submitState!=''">
|
|
|
- and submit_state=#{submitState}
|
|
|
+ and t.submit_state=#{submitState}
|
|
|
</if>
|
|
|
<if test="createBy!=null and createBy!=''">
|
|
|
- and create_by=#{createBy}
|
|
|
+ and t.create_by=#{createBy}
|
|
|
</if>
|
|
|
<if test="createTime!=null and createTime!=''">
|
|
|
- and create_time=#{createTime}
|
|
|
+ and t.create_time=#{createTime}
|
|
|
</if>
|
|
|
<if test="updateBy!=null and updateBy!=''">
|
|
|
- and update_by=#{updateBy}
|
|
|
+ and t.update_by=#{updateBy}
|
|
|
</if>
|
|
|
<if test="updateTime!=null and updateTime!=''">
|
|
|
- and update_time=#{updateTime}
|
|
|
+ and t.update_time=#{updateTime}
|
|
|
</if>
|
|
|
<if test="userId!=null and userId!=''">
|
|
|
- and user_id=#{userId}
|
|
|
+ and t.user_id=#{userId}
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|