BusJcbJcxcMapper.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  3. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  4. <mapper namespace="com.railway.business.catenary.mapper.BusJcbJcxcMapper">
  5. <resultMap id="BaseResultMap" type="com.railway.business.catenary.domain.BusJcbJcxc">
  6. <result column="id" property="id"/>
  7. <result column="dept_id" property="deptId"/>
  8. <result column="dept_name" property="deptName"/>
  9. <result column="station_id" property="stationId"/>
  10. <result column="station_name" property="stationName"/>
  11. <result column="pillar_code" property="pillarCode"/>
  12. <result column="xianchahao" property="xianchahao"/>
  13. <result column="temperature" property="temperature"/>
  14. <result column="check_date" property="checkDate"/>
  15. <result column="gz1lcz" property="gz1lcz"/>
  16. <result column="gz2lcz" property="gz2lcz"/>
  17. <result column="zglcz" property="zglcz"/>
  18. <result column="qglcz" property="qglcz"/>
  19. <result column="ngj" property="ngj"/>
  20. <result column="plz" property="plz"/>
  21. <result column="xcxzgazlg" property="xcxzgazlg"/>
  22. <result column="xcxzgazlg_gzms" property="xcxzgazlgGzms"/>
  23. <result column="hdjx" property="hdjx"/>
  24. <result column="hdjx_gzms" property="hdjxGzms"/>
  25. <result column="fhzzsq" property="fhzzsq"/>
  26. <result column="fhzzsq_gzms" property="fhzzsqGzms"/>
  27. <result column="dqssxx" property="dqssxx"/>
  28. <result column="dqssxx_gzms" property="dqssxxGzms"/>
  29. <result column="lswst" property="lswst"/>
  30. <result column="lswst_gzms" property="lswstGzms"/>
  31. <result column="xzgldydx" property="xzgldydx"/>
  32. <result column="xzgldydx_gzms" property="xzgldydxGzms"/>
  33. <result column="dxztlh" property="dxztlh"/>
  34. <result column="dxztlh_gzms" property="dxztlhGzms"/>
  35. <result column="czjj" property="czjj"/>
  36. <result column="lgzzgc" property="lgzzgc"/>
  37. <result column="gzyfzgc" property="gzyfzgc"/>
  38. <result column="wxj" property="wxj"/>
  39. <result column="wxj_gzms" property="wxjGzms"/>
  40. <result column="hddxxjzt" property="hddxxjzt"/>
  41. <result column="hddxxjzt_gzms" property="hddxxjztGzms"/>
  42. <result column="jcdxzt" property="jcdxzt"/>
  43. <result column="jcdxzt_gzms" property="jcdxztGzms"/>
  44. <result column="dljxzt" property="dljxzt"/>
  45. <result column="dljxzt_gzms" property="dljxztGzms"/>
  46. <result column="sbzt" property="sbzt"/>
  47. <result column="check_user" property="checkUser"/>
  48. <result column="confirm_user" property="confirmUser"/>
  49. <result column="czwt" property="czwt"/>
  50. <result column="submit_state" property="submitState"/>
  51. <result column="create_by" property="createBy"/>
  52. <result column="create_time" property="createTime"/>
  53. <result column="update_by" property="updateBy"/>
  54. <result column="update_time" property="updateTime"/>
  55. <result column="user_id" property="userId"/>
  56. </resultMap>
  57. <sql id="Base_Column_List">
  58. id,
  59. v.dept_id,
  60. v.dept_name,
  61. v.station_name as station_name,
  62. t.station_id,
  63. t.pillar_code,
  64. t.xianchahao,
  65. t.temperature,
  66. t.check_date,
  67. t.gz1lcz,
  68. t.gz2lcz,
  69. t.zglcz,
  70. t.qglcz,
  71. t.ngj,
  72. t.plz,
  73. t.xcxzgazlg,
  74. t.xcxzgazlg_gzms,
  75. t.hdjx,
  76. t.hdjx_gzms,
  77. t.fhzzsq,
  78. t.fhzzsq_gzms,
  79. t.dqssxx,
  80. t.dqssxx_gzms,
  81. t.lswst,
  82. t.lswst_gzms,
  83. t.xzgldydx,
  84. t.xzgldydx_gzms,
  85. t.dxztlh,
  86. t.dxztlh_gzms,
  87. t.czjj,
  88. t.lgzzgc,
  89. t.gzyfzgc,
  90. t.wxj,
  91. t.wxj_gzms,
  92. t.hddxxjzt,
  93. t.hddxxjzt_gzms,
  94. t.jcdxzt,
  95. t.jcdxzt_gzms,
  96. t.dljxzt,
  97. t.dljxzt_gzms,
  98. t.sbzt,
  99. t.check_user,
  100. t.confirm_user,
  101. t.czwt,
  102. t.submit_state,
  103. t.create_by,
  104. t.create_time,
  105. t.update_by,
  106. t.update_time,
  107. t.user_id
  108. </sql>
  109. <insert id="insert" parameterType="com.railway.business.catenary.domain.BusJcbJcxc">
  110. INSERT INTO bus_jcb_jcxc
  111. <trim prefix="(" suffix=")" suffixOverrides=",">
  112. <if test='null != zhanqujian'>
  113. zhanqujian,
  114. </if>
  115. <if test='null != zhizhuhao'>
  116. zhizhuhao,
  117. </if>
  118. <if test='null != xianchahao'>
  119. xianchahao,
  120. </if>
  121. <if test='null != temperature'>
  122. temperature,
  123. </if>
  124. <if test='null != checkDate'>
  125. check_date,
  126. </if>
  127. <if test='null != gz1lcz'>
  128. gz1lcz,
  129. </if>
  130. <if test='null != gz2lcz'>
  131. gz2lcz,
  132. </if>
  133. <if test='null != zglcz'>
  134. zglcz,
  135. </if>
  136. <if test='null != qglcz'>
  137. qglcz,
  138. </if>
  139. <if test='null != ngj'>
  140. ngj,
  141. </if>
  142. <if test='null != plz'>
  143. plz,
  144. </if>
  145. <if test='null != xcxzgazlg'>
  146. xcxzgazlg,
  147. </if>
  148. <if test='null != xcxzgazlgGzms'>
  149. xcxzgazlg_gzms,
  150. </if>
  151. <if test='null != hdjx'>
  152. hdjx,
  153. </if>
  154. <if test='null != hdjxGzms'>
  155. hdjx_gzms,
  156. </if>
  157. <if test='null != fhzzsq'>
  158. fhzzsq,
  159. </if>
  160. <if test='null != fhzzsqGzms'>
  161. fhzzsq_gzms,
  162. </if>
  163. <if test='null != dqssxx'>
  164. dqssxx,
  165. </if>
  166. <if test='null != dqssxxGzms'>
  167. dqssxx_gzms,
  168. </if>
  169. <if test='null != lswst'>
  170. lswst,
  171. </if>
  172. <if test='null != lswstGzms'>
  173. lswst_gzms,
  174. </if>
  175. <if test='null != xzgldydx'>
  176. xzgldydx,
  177. </if>
  178. <if test='null != xzgldydxGzms'>
  179. xzgldydx_gzms,
  180. </if>
  181. <if test='null != dxztlh'>
  182. dxztlh,
  183. </if>
  184. <if test='null != dxztlhGzms'>
  185. dxztlh_gzms,
  186. </if>
  187. <if test='null != czjj'>
  188. czjj,
  189. </if>
  190. <if test='null != lgzzgc'>
  191. lgzzgc,
  192. </if>
  193. <if test='null != gzyfzgc'>
  194. gzyfzgc,
  195. </if>
  196. <if test='null != wxj'>
  197. wxj,
  198. </if>
  199. <if test='null != wxjGzms'>
  200. wxj_gzms,
  201. </if>
  202. <if test='null != hddxxjzt'>
  203. hddxxjzt,
  204. </if>
  205. <if test='null != hddxxjztGzms'>
  206. hddxxjzt_gzms,
  207. </if>
  208. <if test='null != jcdxzt'>
  209. jcdxzt,
  210. </if>
  211. <if test='null != jcdxztGzms'>
  212. jcdxzt_gzms,
  213. </if>
  214. <if test='null != dljxzt'>
  215. dljxzt,
  216. </if>
  217. <if test='null != dljxztGzms'>
  218. dljxzt_gzms,
  219. </if>
  220. <if test='null != sbzt'>
  221. sbzt,
  222. </if>
  223. <if test='null != checkUser'>
  224. check_user,
  225. </if>
  226. <if test='null != czwt'>
  227. czwt,
  228. </if>
  229. <if test='null != submitState'>
  230. submit_state,
  231. </if>
  232. <if test='null != createBy'>
  233. create_by,
  234. </if>
  235. <if test='null != createTime'>
  236. create_time,
  237. </if>
  238. <if test='null != updateBy'>
  239. update_by,
  240. </if>
  241. <if test='null != updateTime'>
  242. update_time,
  243. </if>
  244. <if test='null != userId'>
  245. user_id
  246. </if>
  247. </trim>
  248. <trim prefix="values (" suffix=")" suffixOverrides=",">
  249. <if test='null != zhanqujian'>
  250. #{zhanqujian},
  251. </if>
  252. <if test='null != zhizhuhao'>
  253. #{zhizhuhao},
  254. </if>
  255. <if test='null != xianchahao'>
  256. #{xianchahao},
  257. </if>
  258. <if test='null != temperature'>
  259. #{temperature},
  260. </if>
  261. <if test='null != checkDate'>
  262. #{checkDate},
  263. </if>
  264. <if test='null != gz1lcz'>
  265. #{gz1lcz},
  266. </if>
  267. <if test='null != gz2lcz'>
  268. #{gz2lcz},
  269. </if>
  270. <if test='null != zglcz'>
  271. #{zglcz},
  272. </if>
  273. <if test='null != qglcz'>
  274. #{qglcz},
  275. </if>
  276. <if test='null != ngj'>
  277. #{ngj},
  278. </if>
  279. <if test='null != plz'>
  280. #{plz},
  281. </if>
  282. <if test='null != xcxzgazlg'>
  283. #{xcxzgazlg},
  284. </if>
  285. <if test='null != xcxzgazlgGzms'>
  286. #{xcxzgazlgGzms},
  287. </if>
  288. <if test='null != hdjx'>
  289. #{hdjx},
  290. </if>
  291. <if test='null != hdjxGzms'>
  292. #{hdjxGzms},
  293. </if>
  294. <if test='null != fhzzsq'>
  295. #{fhzzsq},
  296. </if>
  297. <if test='null != fhzzsqGzms'>
  298. #{fhzzsqGzms},
  299. </if>
  300. <if test='null != dqssxx'>
  301. #{dqssxx},
  302. </if>
  303. <if test='null != dqssxxGzms'>
  304. #{dqssxxGzms},
  305. </if>
  306. <if test='null != lswst'>
  307. #{lswst},
  308. </if>
  309. <if test='null != lswstGzms'>
  310. #{lswstGzms},
  311. </if>
  312. <if test='null != xzgldydx'>
  313. #{xzgldydx},
  314. </if>
  315. <if test='null != xzgldydxGzms'>
  316. #{xzgldydxGzms},
  317. </if>
  318. <if test='null != dxztlh'>
  319. #{dxztlh},
  320. </if>
  321. <if test='null != dxztlhGzms'>
  322. #{dxztlhGzms},
  323. </if>
  324. <if test='null != czjj'>
  325. #{czjj},
  326. </if>
  327. <if test='null != lgzzgc'>
  328. #{lgzzgc},
  329. </if>
  330. <if test='null != gzyfzgc'>
  331. #{gzyfzgc},
  332. </if>
  333. <if test='null != wxj'>
  334. #{wxj},
  335. </if>
  336. <if test='null != wxjGzms'>
  337. #{wxjGzms},
  338. </if>
  339. <if test='null != hddxxjzt'>
  340. #{hddxxjzt},
  341. </if>
  342. <if test='null != hddxxjztGzms'>
  343. #{hddxxjztGzms},
  344. </if>
  345. <if test='null != jcdxzt'>
  346. #{jcdxzt},
  347. </if>
  348. <if test='null != jcdxztGzms'>
  349. #{jcdxztGzms},
  350. </if>
  351. <if test='null != dljxzt'>
  352. #{dljxzt},
  353. </if>
  354. <if test='null != dljxztGzms'>
  355. #{dljxztGzms},
  356. </if>
  357. <if test='null != sbzt'>
  358. #{sbzt},
  359. </if>
  360. <if test='null != checkUser'>
  361. #{checkUser},
  362. </if>
  363. <if test='null != czwt'>
  364. #{czwt},
  365. </if>
  366. <if test='null != submitState'>
  367. #{submitState},
  368. </if>
  369. <if test='null != createBy'>
  370. #{createBy},
  371. </if>
  372. <if test='null != createTime'>
  373. #{createTime},
  374. </if>
  375. <if test='null != updateBy'>
  376. #{updateBy},
  377. </if>
  378. <if test='null != updateTime'>
  379. #{updateTime},
  380. </if>
  381. <if test='null != userId'>
  382. #{userId}
  383. </if>
  384. </trim>
  385. </insert>
  386. <delete id="delete">
  387. UPDATE bus_jcb_jcxc
  388. set del_flag='1'
  389. WHERE id = #{id}
  390. </delete>
  391. <update id="update" parameterType="com.railway.business.catenary.domain.BusJcbJcxc">
  392. UPDATE bus_jcb_jcxc
  393. <set>
  394. <if test='null != zhanqujian'>zhanqujian = #{zhanqujian},</if>
  395. <if test='null != zhizhuhao'>zhizhuhao = #{zhizhuhao},</if>
  396. <if test='null != xianchahao'>xianchahao = #{xianchahao},</if>
  397. <if test='null != temperature'>temperature = #{temperature},</if>
  398. <if test='null != checkDate'>check_date = #{checkDate},</if>
  399. <if test='null != gz1lcz'>gz1lcz = #{gz1lcz},</if>
  400. <if test='null != gz2lcz'>gz2lcz = #{gz2lcz},</if>
  401. <if test='null != zglcz'>zglcz = #{zglcz},</if>
  402. <if test='null != qglcz'>qglcz = #{qglcz},</if>
  403. <if test='null != ngj'>ngj = #{ngj},</if>
  404. <if test='null != plz'>plz = #{plz},</if>
  405. <if test='null != xcxzgazlg'>xcxzgazlg = #{xcxzgazlg},</if>
  406. <if test='null != xcxzgazlgGzms'>xcxzgazlg_gzms = #{xcxzgazlgGzms},</if>
  407. <if test='null != hdjx'>hdjx = #{hdjx},</if>
  408. <if test='null != hdjxGzms'>hdjx_gzms = #{hdjxGzms},</if>
  409. <if test='null != fhzzsq'>fhzzsq = #{fhzzsq},</if>
  410. <if test='null != fhzzsqGzms'>fhzzsq_gzms = #{fhzzsqGzms},</if>
  411. <if test='null != dqssxx'>dqssxx = #{dqssxx},</if>
  412. <if test='null != dqssxxGzms'>dqssxx_gzms = #{dqssxxGzms},</if>
  413. <if test='null != lswst'>lswst = #{lswst},</if>
  414. <if test='null != lswstGzms'>lswst_gzms = #{lswstGzms},</if>
  415. <if test='null != xzgldydx'>xzgldydx = #{xzgldydx},</if>
  416. <if test='null != xzgldydxGzms'>xzgldydx_gzms = #{xzgldydxGzms},</if>
  417. <if test='null != dxztlh'>dxztlh = #{dxztlh},</if>
  418. <if test='null != dxztlhGzms'>dxztlh_gzms = #{dxztlhGzms},</if>
  419. <if test='null != czjj'>czjj = #{czjj},</if>
  420. <if test='null != lgzzgc'>lgzzgc = #{lgzzgc},</if>
  421. <if test='null != gzyfzgc'>gzyfzgc = #{gzyfzgc},</if>
  422. <if test='null != wxj'>wxj = #{wxj},</if>
  423. <if test='null != wxjGzms'>wxj_gzms = #{wxjGzms},</if>
  424. <if test='null != hddxxjzt'>hddxxjzt = #{hddxxjzt},</if>
  425. <if test='null != hddxxjztGzms'>hddxxjzt_gzms = #{hddxxjztGzms},</if>
  426. <if test='null != jcdxzt'>jcdxzt = #{jcdxzt},</if>
  427. <if test='null != jcdxztGzms'>jcdxzt_gzms = #{jcdxztGzms},</if>
  428. <if test='null != dljxzt'>dljxzt = #{dljxzt},</if>
  429. <if test='null != dljxztGzms'>dljxzt_gzms = #{dljxztGzms},</if>
  430. <if test='null != sbzt'>sbzt = #{sbzt},</if>
  431. <if test='null != checkUser'>check_user = #{checkUser},</if>
  432. <if test='null != czwt'>czwt = #{czwt},</if>
  433. <if test='null != submitState'>submit_state = #{submitState},</if>
  434. <if test='null != createBy'>create_by = #{createBy},</if>
  435. <if test='null != createTime'>create_time = #{createTime},</if>
  436. <if test='null != updateBy'>update_by = #{updateBy},</if>
  437. <if test='null != updateTime'>update_time = #{updateTime},</if>
  438. <if test='null != userId'>user_id = #{userId}</if>
  439. </set>
  440. WHERE id = #{id}
  441. </update>
  442. <select id="getInfo" resultMap="BaseResultMap">
  443. SELECT
  444. <include refid="Base_Column_List"/>
  445. FROM bus_jcb_jcxc t
  446. LEFT JOIN v_station v on t.station_id = v.station_id
  447. WHERE t.del_flag='0' and t.id = #{id}
  448. </select>
  449. <select id="getLastRecord" resultMap="BaseResultMap">
  450. SELECT
  451. a.GZ1LCZ, a.GZ2LCZ, a.ZGLCZ, a.QGLCZ, a.NGJ, a.PLZ, a.CZJJ, a.LGZZGC, a.GZYFZGC
  452. FROM bus_jcb_jcxc a,
  453. (
  454. select max(update_time) as lastTime
  455. from bus_jcb_jcxc
  456. WHERE user_id = #{user_id}
  457. and submit_state != '0'
  458. ) b
  459. WHERE a.update_time = b.lastTime
  460. </select>
  461. <select id="getList" resultMap="BaseResultMap">
  462. SELECT
  463. <include refid="Base_Column_List"/>
  464. FROM bus_jcb_jcxc t
  465. LEFT JOIN v_station v on t.station_id = v.station_id
  466. <where>
  467. t.del_flag='0'
  468. <if test="stationId!=null and stationId!=''">
  469. and t.station_id=#{stationId}
  470. </if>
  471. <if test="pillarCode!=null and pillarCode!=''">
  472. and t.pillar_code=#{pillarCode}
  473. </if>
  474. <if test="xianchahao!=null and xianchahao!=''">
  475. and t.xianchahao=#{xianchahao}
  476. </if>
  477. <if test="temperature!=null and temperature!=''">
  478. and t.temperature=#{temperature}
  479. </if>
  480. <if test="checkDate!=null and checkDate!=''">
  481. and t.check_date=#{checkDate}
  482. </if>
  483. <if test="gz1lcz!=null and gz1lcz!=''">
  484. and t.gz1lcz=#{gz1lcz}
  485. </if>
  486. <if test="gz2lcz!=null and gz2lcz!=''">
  487. and t.gz2lcz=#{gz2lcz}
  488. </if>
  489. <if test="zglcz!=null and zglcz!=''">
  490. and t.zglcz=#{zglcz}
  491. </if>
  492. <if test="qglcz!=null and qglcz!=''">
  493. and t.qglcz=#{qglcz}
  494. </if>
  495. <if test="ngj!=null and ngj!=''">
  496. and t.ngj=#{ngj}
  497. </if>
  498. <if test="plz!=null and plz!=''">
  499. and t.plz=#{plz}
  500. </if>
  501. <if test="xcxzgazlg!=null and xcxzgazlg!=''">
  502. and t.xcxzgazlg=#{xcxzgazlg}
  503. </if>
  504. <if test="xcxzgazlgGzms!=null and xcxzgazlgGzms!=''">
  505. and t.xcxzgazlg_gzms=#{xcxzgazlgGzms}
  506. </if>
  507. <if test="hdjx!=null and hdjx!=''">
  508. and t.hdjx=#{hdjx}
  509. </if>
  510. <if test="hdjxGzms!=null and hdjxGzms!=''">
  511. and t.hdjx_gzms=#{hdjxGzms}
  512. </if>
  513. <if test="fhzzsq!=null and fhzzsq!=''">
  514. and t.fhzzsq=#{fhzzsq}
  515. </if>
  516. <if test="fhzzsqGzms!=null and fhzzsqGzms!=''">
  517. and t.fhzzsq_gzms=#{fhzzsqGzms}
  518. </if>
  519. <if test="dqssxx!=null and dqssxx!=''">
  520. and t.dqssxx=#{dqssxx}
  521. </if>
  522. <if test="dqssxxGzms!=null and dqssxxGzms!=''">
  523. and t.dqssxx_gzms=#{dqssxxGzms}
  524. </if>
  525. <if test="lswst!=null and lswst!=''">
  526. and t.lswst=#{lswst}
  527. </if>
  528. <if test="lswstGzms!=null and lswstGzms!=''">
  529. and t.lswst_gzms=#{lswstGzms}
  530. </if>
  531. <if test="xzgldydx!=null and xzgldydx!=''">
  532. and t.xzgldydx=#{xzgldydx}
  533. </if>
  534. <if test="xzgldydxGzms!=null and xzgldydxGzms!=''">
  535. and t.xzgldydx_gzms=#{xzgldydxGzms}
  536. </if>
  537. <if test="dxztlh!=null and dxztlh!=''">
  538. and t.dxztlh=#{dxztlh}
  539. </if>
  540. <if test="dxztlhGzms!=null and dxztlhGzms!=''">
  541. and t.dxztlh_gzms=#{dxztlhGzms}
  542. </if>
  543. <if test="czjj!=null and czjj!=''">
  544. and t.czjj=#{czjj}
  545. </if>
  546. <if test="lgzzgc!=null and lgzzgc!=''">
  547. and t.lgzzgc=#{lgzzgc}
  548. </if>
  549. <if test="gzyfzgc!=null and gzyfzgc!=''">
  550. and t.gzyfzgc=#{gzyfzgc}
  551. </if>
  552. <if test="wxj!=null and wxj!=''">
  553. and t.wxj=#{wxj}
  554. </if>
  555. <if test="wxjGzms!=null and wxjGzms!=''">
  556. and t.wxj_gzms=#{wxjGzms}
  557. </if>
  558. <if test="hddxxjzt!=null and hddxxjzt!=''">
  559. and t.hddxxjzt=#{hddxxjzt}
  560. </if>
  561. <if test="hddxxjztGzms!=null and hddxxjztGzms!=''">
  562. and t.hddxxjzt_gzms=#{hddxxjztGzms}
  563. </if>
  564. <if test="jcdxzt!=null and jcdxzt!=''">
  565. and t.jcdxzt=#{jcdxzt}
  566. </if>
  567. <if test="jcdxztGzms!=null and jcdxztGzms!=''">
  568. and t.jcdxzt_gzms=#{jcdxztGzms}
  569. </if>
  570. <if test="dljxzt!=null and dljxzt!=''">
  571. and t.dljxzt=#{dljxzt}
  572. </if>
  573. <if test="dljxztGzms!=null and dljxztGzms!=''">
  574. and t.dljxzt_gzms=#{dljxztGzms}
  575. </if>
  576. <if test="sbzt!=null and sbzt!=''">
  577. and t.sbzt=#{sbzt}
  578. </if>
  579. <if test="checkUser!=null and checkUser!=''">
  580. and t.check_user=#{checkUser}
  581. </if>
  582. <if test="czwt!=null and czwt!=''">
  583. and t.czwt=#{czwt}
  584. </if>
  585. <if test="submitState!=null and submitState!=''">
  586. and t.submit_state=#{submitState}
  587. </if>
  588. <if test="createBy!=null and createBy!=''">
  589. and t.create_by=#{createBy}
  590. </if>
  591. <if test="createTime!=null and createTime!=''">
  592. and t.create_time=#{createTime}
  593. </if>
  594. <if test="updateBy!=null and updateBy!=''">
  595. and t.update_by=#{updateBy}
  596. </if>
  597. <if test="updateTime!=null and updateTime!=''">
  598. and t.update_time=#{updateTime}
  599. </if>
  600. <if test="userId!=null and userId!=''">
  601. and t.user_id=#{userId}
  602. </if>
  603. </where>
  604. </select>
  605. </mapper>