BusFdfxjyqMapper.xml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  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.baseinfo.mapper.BusFdfxjyqMapper">
  5. <resultMap id="BaseResultMap" type="com.railway.business.baseinfo.domain.BusFdfxjyq">
  6. <result column="id" property="id"/>
  7. <result column="dept_id" property="deptId"/>
  8. <result column="dept_name" property="deptName"/>
  9. <result column="line_id" property="lineId"/>
  10. <result column="line_name" property="lineName"/>
  11. <result column="station_id" property="stationId"/>
  12. <result column="station_name" property="stationName"/>
  13. <result column="xingbie" property="xingbie"/>
  14. <result column="xingbie_text" property="xingbieText"/>
  15. <result column="pillar_area" property="pillarArea"/>
  16. <result column="station_track" property="stationTrack"/>
  17. <result column="gxms" property="gxms"/>
  18. <result column="marker" property="marker"/>
  19. <result column="cdh" property="cdh"/>
  20. <result column="lx" property="lx"/>
  21. <result column="remark" property="remark"/>
  22. <result column="jyqbh" property="jyqbh"/>
  23. <result column="jyqxh" property="jyqxh"/>
  24. <result column="sccj" property="sccj"/>
  25. <result column="ccrq" property="ccrq"/>
  26. <result column="tyrq" property="tyrq"/>
  27. <result column="sysm" property="sysm"/>
  28. <result column="clsjyzlx" property="clsjyzlx"/>
  29. <result column="clsjyzzt" property="clsjyzzt"/>
  30. <result column="fdzjyzt" property="fdzjyzt"/>
  31. <result column="jyhdzt" property="jyhdzt"/>
  32. <result column="jshdmszt" property="jshdmszt"/>
  33. <result column="kqjx_scz" property="kqjxScz"/>
  34. <result column="kqjx_bzz" property="kqjxBzz"/>
  35. <result column="xgbzt" property="xgbzt"/>
  36. <result column="xdzzzt" property="xdzzzt"/>
  37. <result column="yxlzxxpy_scz" property="yxlzxxpyScz"/>
  38. <result column="yxlzxxpy_bzz" property="yxlzxxpyBzz"/>
  39. <result column="ygmlxsfpx" property="ygmlxsfpx"/>
  40. <result column="fcd_scz" property="fcdScz"/>
  41. <result column="fcd_bzz" property="fcdBzz"/>
  42. <result column="jtjgljbwzt" property="jtjgljbwzt"/>
  43. <result column="jcxjcdxmhqk" property="jcxjcdxmhqk"/>
  44. <result column="jcxjtxjlslm" property="jcxjtxjlslm"/>
  45. <result column="gdsfph" property="gdsfph"/>
  46. <result column="qt" property="qt"/>
  47. <result column="fj" property="fj"/>
  48. <result column="sl" property="sl"/>
  49. <result column="dw" property="dw"/>
  50. <result column="fdazwz" property="fdazwz"/>
  51. <result column="sjbh" property="sjbh"/>
  52. <result column="del_flag" property="delFlag"/>
  53. <result column="create_by" property="createBy"/>
  54. <result column="create_time" property="createTime"/>
  55. <result column="update_by" property="updateBy"/>
  56. <result column="update_time" property="updateTime"/>
  57. </resultMap>
  58. <sql id="Base_Column_List">
  59. t.id,
  60. v.dept_id,
  61. v.dept_name,
  62. v.line_id,
  63. v.line_name,
  64. v.station_name as station_name,
  65. v.station_id,
  66. t.xingbie,
  67. t.pillar_area,
  68. t.marker,
  69. t.station_track,
  70. t.gxms,
  71. t.cdh,
  72. t.lx,
  73. t.remark,
  74. t.jyqbh,
  75. t.jyqxh,
  76. t.sccj,
  77. t.ccrq,
  78. t.tyrq,
  79. t.sysm,
  80. t.clsjyzlx,
  81. t.clsjyzzt,
  82. t.fdzjyzt,
  83. t.jyhdzt,
  84. t.jshdmszt,
  85. t.kqjx_scz,
  86. t.kqjx_bzz,
  87. t.xgbzt,
  88. t.xdzzzt,
  89. t.yxlzxxpy_scz,
  90. t.yxlzxxpy_bzz,
  91. t.ygmlxsfpx,
  92. t.fcd_scz,
  93. t.fcd_bzz,
  94. t.jtjgljbwzt,
  95. t.jcxjcdxmhqk,
  96. t.jcxjtxjlslm,
  97. t.gdsfph,
  98. t.qt,
  99. t.fj,
  100. t.sl,
  101. t.dw,
  102. t.fdazwz,
  103. t.sjbh,
  104. t.del_flag,
  105. t.create_by,
  106. t.create_time,
  107. t.update_by,
  108. t.update_time
  109. </sql>
  110. <insert id="insert" parameterType="com.railway.business.baseinfo.domain.BusFdfxjyq">
  111. <selectKey keyProperty="id" order="BEFORE" resultType="String">
  112. select replace(uuid(), '-', '') from dual
  113. </selectKey>
  114. INSERT INTO base_fdfxjyq
  115. <trim prefix="(" suffix=")" suffixOverrides=",">
  116. <if test='null != stationId'>
  117. station_id,
  118. </if>
  119. <if test='null != xingbie'>
  120. xingbie,
  121. </if>
  122. <if test='null != pillarArea'>
  123. pillarArea,
  124. </if>
  125. <if test='null != stationTrack'>
  126. station_track,
  127. </if>
  128. <if test='null != gxms'>
  129. gxms,
  130. </if>
  131. <if test='null != marker'>
  132. marker,
  133. </if>
  134. <if test='null != cdh'>
  135. cdh,
  136. </if>
  137. <if test='null != lx'>
  138. lx,
  139. </if>
  140. <if test='null != remark'>
  141. remark,
  142. </if>
  143. <if test='null != jyqbh'>
  144. jyqbh,
  145. </if>
  146. <if test='null != jyqxh'>
  147. jyqxh,
  148. </if>
  149. <if test='null != sccj'>
  150. sccj,
  151. </if>
  152. <if test='null != ccrq'>
  153. ccrq,
  154. </if>
  155. <if test='null != tyrq'>
  156. tyrq,
  157. </if>
  158. <if test='null != sysm'>
  159. sysm,
  160. </if>
  161. <if test='null != clsjyzlx'>
  162. clsjyzlx,
  163. </if>
  164. <if test='null != clsjyzzt'>
  165. clsjyzzt,
  166. </if>
  167. <if test='null != fdzjyzt'>
  168. fdzjyzt,
  169. </if>
  170. <if test='null != jyhdzt'>
  171. jyhdzt,
  172. </if>
  173. <if test='null != jshdmszt'>
  174. jshdmszt,
  175. </if>
  176. <if test='null != kqjxScz'>
  177. kqjx_scz,
  178. </if>
  179. <if test='null != kqjxBzz'>
  180. kqjx_bzz,
  181. </if>
  182. <if test='null != xgbzt'>
  183. xgbzt,
  184. </if>
  185. <if test='null != xdzzzt'>
  186. xdzzzt,
  187. </if>
  188. <if test='null != yxlzxxpyScz'>
  189. yxlzxxpy_scz,
  190. </if>
  191. <if test='null != yxlzxxpyBzz'>
  192. yxlzxxpy_bzz,
  193. </if>
  194. <if test='null != ygmlxsfpx'>
  195. ygmlxsfpx,
  196. </if>
  197. <if test='null != fcdScz'>
  198. fcd_scz,
  199. </if>
  200. <if test='null != fcdBzz'>
  201. fcd_bzz,
  202. </if>
  203. <if test='null != jtjgljbwzt'>
  204. jtjgljbwzt,
  205. </if>
  206. <if test='null != jcxjcdxmhqk'>
  207. jcxjcdxmhqk,
  208. </if>
  209. <if test='null != jcxjtxjlslm'>
  210. jcxjtxjlslm,
  211. </if>
  212. <if test='null != gdsfph'>
  213. gdsfph,
  214. </if>
  215. <if test='null != qt'>
  216. qt,
  217. </if>
  218. <if test='null != fj'>
  219. fj,
  220. </if>
  221. <if test='null != sl'>
  222. sl,
  223. </if>
  224. <if test='null != dw'>
  225. dw,
  226. </if>
  227. <if test='null != fdazwz'>
  228. fdazwz,
  229. </if>
  230. <if test='null != sjbh'>
  231. sjbh,
  232. </if>
  233. <if test='null != delFlag'>
  234. del_flag,
  235. </if>
  236. <if test='null != createBy'>
  237. create_by,
  238. </if>
  239. <if test='null != createTime'>
  240. create_time,
  241. </if>
  242. <if test='null != updateBy'>
  243. update_by,
  244. </if>
  245. <if test='null != updateTime'>
  246. update_time
  247. </if>
  248. </trim>
  249. <trim prefix="values (" suffix=")" suffixOverrides=",">
  250. <if test='null != stationId'>
  251. #{stationId},
  252. </if>
  253. <if test='null != xingbie'>
  254. #{xingbie},
  255. </if>
  256. <if test='null != pillarArea'>
  257. #{pillarArea},
  258. </if>
  259. <if test='null != stationTrack'>
  260. #{stationTrack},
  261. </if>
  262. <if test='null != gxms'>
  263. #{gxms},
  264. </if>
  265. <if test='null != marker'>
  266. #{marker},
  267. </if>
  268. <if test='null != cdh'>
  269. #{cdh},
  270. </if>
  271. <if test='null != lx'>
  272. #{lx},
  273. </if>
  274. <if test='null != remark'>
  275. #{remark},
  276. </if>
  277. <if test='null != jyqbh'>
  278. #{jyqbh},
  279. </if>
  280. <if test='null != jyqxh'>
  281. #{jyqxh},
  282. </if>
  283. <if test='null != sccj'>
  284. #{sccj},
  285. </if>
  286. <if test='null != ccrq'>
  287. #{ccrq},
  288. </if>
  289. <if test='null != tyrq'>
  290. #{tyrq},
  291. </if>
  292. <if test='null != sysm'>
  293. #{sysm},
  294. </if>
  295. <if test='null != clsjyzlx'>
  296. #{clsjyzlx},
  297. </if>
  298. <if test='null != clsjyzzt'>
  299. #{clsjyzzt},
  300. </if>
  301. <if test='null != fdzjyzt'>
  302. #{fdzjyzt},
  303. </if>
  304. <if test='null != jyhdzt'>
  305. #{jyhdzt},
  306. </if>
  307. <if test='null != jshdmszt'>
  308. #{jshdmszt},
  309. </if>
  310. <if test='null != kqjxScz'>
  311. #{kqjxScz},
  312. </if>
  313. <if test='null != kqjxBzz'>
  314. #{kqjxBzz},
  315. </if>
  316. <if test='null != xgbzt'>
  317. #{xgbzt},
  318. </if>
  319. <if test='null != xdzzzt'>
  320. #{xdzzzt},
  321. </if>
  322. <if test='null != yxlzxxpyScz'>
  323. #{yxlzxxpyScz},
  324. </if>
  325. <if test='null != yxlzxxpyBzz'>
  326. #{yxlzxxpyBzz},
  327. </if>
  328. <if test='null != ygmlxsfpx'>
  329. #{ygmlxsfpx},
  330. </if>
  331. <if test='null != fcdScz'>
  332. #{fcdScz},
  333. </if>
  334. <if test='null != fcdBzz'>
  335. #{fcdBzz},
  336. </if>
  337. <if test='null != jtjgljbwzt'>
  338. #{jtjgljbwzt},
  339. </if>
  340. <if test='null != jcxjcdxmhqk'>
  341. #{jcxjcdxmhqk},
  342. </if>
  343. <if test='null != jcxjtxjlslm'>
  344. #{jcxjtxjlslm},
  345. </if>
  346. <if test='null != gdsfph'>
  347. #{gdsfph},
  348. </if>
  349. <if test='null != qt'>
  350. #{qt},
  351. </if>
  352. <if test='null != fj'>
  353. #{fj},
  354. </if>
  355. <if test='null != sl'>
  356. #{sl},
  357. </if>
  358. <if test='null != dw'>
  359. #{dw},
  360. </if>
  361. <if test='null != fdazwz'>
  362. #{fdazwz},
  363. </if>
  364. <if test='null != sjbh'>
  365. #{sjbh},
  366. </if>
  367. <if test='null != delFlag'>
  368. #{delFlag},
  369. </if>
  370. <if test='null != createBy'>
  371. #{createBy},
  372. </if>
  373. <if test='null != createTime'>
  374. #{createTime},
  375. </if>
  376. <if test='null != updateBy'>
  377. #{updateBy},
  378. </if>
  379. <if test='null != updateTime'>
  380. #{updateTime}
  381. </if>
  382. </trim>
  383. </insert>
  384. <delete id="delete">
  385. UPDATE base_fdfxjyq
  386. set del_flag='1'
  387. WHERE id = #{id}
  388. </delete>
  389. <update id="update" parameterType="com.railway.business.baseinfo.domain.BusFdfxjyq">
  390. UPDATE base_fdfxjyq
  391. <set>
  392. <if test='null != stationId'>station_id = #{stationId},</if>
  393. <if test='null != xingbie'>xingbie = #{xingbie},</if>
  394. <if test='null != pillarArea'>pillar_area = #{pillarArea},</if>
  395. <if test='null != marker'>marker = #{marker},</if>
  396. <if test='null != stationTrack'>station_track = #{stationTrack},</if>
  397. <if test='null != gxms'>gxms = #{gxms},</if>
  398. <if test='null != cdh'>cdh = #{cdh},</if>
  399. <if test='null != lx'>lx = #{lx},</if>
  400. <if test='null != remark'>remark = #{remark},</if>
  401. <if test='null != jyqbh'>jyqbh = #{jyqbh},</if>
  402. <if test='null != jyqxh'>jyqxh = #{jyqxh},</if>
  403. <if test='null != sccj'>sccj = #{sccj},</if>
  404. <if test='null != ccrq'>ccrq = #{ccrq},</if>
  405. <if test='null != tyrq'>tyrq = #{tyrq},</if>
  406. <if test='null != sysm'>sysm = #{sysm},</if>
  407. <if test='null != clsjyzlx'>clsjyzlx = #{clsjyzlx},</if>
  408. <if test='null != clsjyzzt'>clsjyzzt = #{clsjyzzt},</if>
  409. <if test='null != fdzjyzt'>fdzjyzt = #{fdzjyzt},</if>
  410. <if test='null != jyhdzt'>jyhdzt = #{jyhdzt},</if>
  411. <if test='null != jshdmszt'>jshdmszt = #{jshdmszt},</if>
  412. <if test='null != kqjxScz'>kqjx_scz = #{kqjxScz},</if>
  413. <if test='null != kqjxBzz'>kqjx_bzz = #{kqjxBzz},</if>
  414. <if test='null != xgbzt'>xgbzt = #{xgbzt},</if>
  415. <if test='null != xdzzzt'>xdzzzt = #{xdzzzt},</if>
  416. <if test='null != yxlzxxpyScz'>yxlzxxpy_scz = #{yxlzxxpyScz},</if>
  417. <if test='null != yxlzxxpyBzz'>yxlzxxpy_bzz = #{yxlzxxpyBzz},</if>
  418. <if test='null != ygmlxsfpx'>ygmlxsfpx = #{ygmlxsfpx},</if>
  419. <if test='null != fcdScz'>fcd_scz = #{fcdScz},</if>
  420. <if test='null != fcdBzz'>fcd_bzz = #{fcdBzz},</if>
  421. <if test='null != jtjgljbwzt'>jtjgljbwzt = #{jtjgljbwzt},</if>
  422. <if test='null != jcxjcdxmhqk'>jcxjcdxmhqk = #{jcxjcdxmhqk},</if>
  423. <if test='null != jcxjtxjlslm'>jcxjtxjlslm = #{jcxjtxjlslm},</if>
  424. <if test='null != gdsfph'>gdsfph = #{gdsfph},</if>
  425. <if test='null != qt'>qt = #{qt},</if>
  426. <if test='null != fj'>fj = #{fj},</if>
  427. <if test='null != sl'>sl = #{sl},</if>
  428. <if test='null != dw'>dw = #{dw},</if>
  429. <if test='null != fdazwz'>fdazwz = #{fdazwz},</if>
  430. <if test='null != sjbh'>sjbh = #{sjbh},</if>
  431. <if test='null != delFlag'>del_flag = #{delFlag},</if>
  432. <if test='null != updateBy'>update_by = #{updateBy},</if>
  433. <if test='null != updateTime'>update_time = #{updateTime}</if>
  434. </set>
  435. WHERE id = #{id}
  436. </update>
  437. <select id="getInfo" resultMap="BaseResultMap">
  438. SELECT
  439. <include refid="Base_Column_List"/>, dict.dict_label as xingbie_text
  440. FROM base_fdfxjyq t
  441. LEFT JOIN v_station v on t.station_id = v.dept_station_id
  442. LEFT JOIN sys_dict_data dict ON (t.xingbie = dict.dict_value AND dict.dict_type = 'xingbie')
  443. WHERE t.del_flag='0' and t.id = #{id}
  444. </select>
  445. <select id="getList" resultMap="BaseResultMap">
  446. SELECT
  447. <include refid="Base_Column_List"/>, dict.dict_label as xingbie_text
  448. FROM base_fdfxjyq t
  449. LEFT JOIN v_station v on t.station_id = v.dept_station_id
  450. LEFT JOIN sys_dict_data dict ON (t.xingbie = dict.dict_value AND dict.dict_type = 'xingbie')
  451. <where>
  452. t.del_flag='0'
  453. <if test="deptId!=null and deptId!=''">
  454. and v.dept_id=#{deptId}
  455. </if>
  456. <if test="lineId!=null and lineId!=''">
  457. and v.line_id=#{lineId}
  458. </if>
  459. <if test="stationId!=null and stationId!=''">
  460. and t.station_id=#{stationId}
  461. </if>
  462. <if test="xingbie!=null and xingbie!=''">
  463. and t.xingbie=#{xingbie}
  464. </if>
  465. <if test="pillarArea!=null and pillarArea!=''">
  466. and t.pillar_area=#{pillarArea}
  467. </if>
  468. <if test="marker!=null and marker!=''">
  469. and t.marker=#{marker}
  470. </if>
  471. <if test="stationTrack!=null and stationTrack!=''">
  472. and t.station_track=#{stationTrack}
  473. </if>
  474. <if test="gxms!=null and gxms!=''">
  475. and gxms=#{gxms}
  476. </if>
  477. <if test="cdh!=null and cdh!=''">
  478. and cdh=#{cdh}
  479. </if>
  480. <if test="lx!=null and lx!=''">
  481. and lx=#{lx}
  482. </if>
  483. <if test="remark!=null and remark!=''">
  484. and remark=#{remark}
  485. </if>
  486. <if test="jyqbh!=null and jyqbh!=''">
  487. and jyqbh=#{jyqbh}
  488. </if>
  489. <if test="jyqxh!=null and jyqxh!=''">
  490. and jyqxh=#{jyqxh}
  491. </if>
  492. <if test="sccj!=null and sccj!=''">
  493. and sccj=#{sccj}
  494. </if>
  495. <if test="ccrq!=null and ccrq!=''">
  496. and ccrq=#{ccrq}
  497. </if>
  498. <if test="tyrq!=null and tyrq!=''">
  499. and tyrq=#{tyrq}
  500. </if>
  501. <if test="sysm!=null and sysm!=''">
  502. and sysm=#{sysm}
  503. </if>
  504. <if test="clsjyzlx!=null and clsjyzlx!=''">
  505. and clsjyzlx=#{clsjyzlx}
  506. </if>
  507. <if test="clsjyzzt!=null and clsjyzzt!=''">
  508. and clsjyzzt=#{clsjyzzt}
  509. </if>
  510. <if test="fdzjyzt!=null and fdzjyzt!=''">
  511. and fdzjyzt=#{fdzjyzt}
  512. </if>
  513. <if test="jyhdzt!=null and jyhdzt!=''">
  514. and jyhdzt=#{jyhdzt}
  515. </if>
  516. <if test="jshdmszt!=null and jshdmszt!=''">
  517. and jshdmszt=#{jshdmszt}
  518. </if>
  519. <if test="kqjxScz!=null and kqjxScz!=''">
  520. and kqjx_scz=#{kqjxScz}
  521. </if>
  522. <if test="kqjxBzz!=null and kqjxBzz!=''">
  523. and kqjx_bzz=#{kqjxBzz}
  524. </if>
  525. <if test="xgbzt!=null and xgbzt!=''">
  526. and xgbzt=#{xgbzt}
  527. </if>
  528. <if test="xdzzzt!=null and xdzzzt!=''">
  529. and xdzzzt=#{xdzzzt}
  530. </if>
  531. <if test="yxlzxxpyScz!=null and yxlzxxpyScz!=''">
  532. and yxlzxxpy_scz=#{yxlzxxpyScz}
  533. </if>
  534. <if test="yxlzxxpyBzz!=null and yxlzxxpyBzz!=''">
  535. and yxlzxxpy_bzz=#{yxlzxxpyBzz}
  536. </if>
  537. <if test="ygmlxsfpx!=null and ygmlxsfpx!=''">
  538. and ygmlxsfpx=#{ygmlxsfpx}
  539. </if>
  540. <if test="fcdScz!=null and fcdScz!=''">
  541. and fcd_scz=#{fcdScz}
  542. </if>
  543. <if test="fcdBzz!=null and fcdBzz!=''">
  544. and fcd_bzz=#{fcdBzz}
  545. </if>
  546. <if test="jtjgljbwzt!=null and jtjgljbwzt!=''">
  547. and jtjgljbwzt=#{jtjgljbwzt}
  548. </if>
  549. <if test="jcxjcdxmhqk!=null and jcxjcdxmhqk!=''">
  550. and jcxjcdxmhqk=#{jcxjcdxmhqk}
  551. </if>
  552. <if test="jcxjtxjlslm!=null and jcxjtxjlslm!=''">
  553. and jcxjtxjlslm=#{jcxjtxjlslm}
  554. </if>
  555. <if test="gdsfph!=null and gdsfph!=''">
  556. and gdsfph=#{gdsfph}
  557. </if>
  558. <if test="qt!=null and qt!=''">
  559. and qt=#{qt}
  560. </if>
  561. <if test="fj!=null and fj!=''">
  562. and fj=#{fj}
  563. </if>
  564. <if test="sl!=null and sl!=''">
  565. and sl=#{sl}
  566. </if>
  567. <if test="dw!=null and dw!=''">
  568. and dw=#{dw}
  569. </if>
  570. <if test="fdazwz!=null and fdazwz!=''">
  571. and fdazwz=#{fdazwz}
  572. </if>
  573. <if test="sjbh!=null and sjbh!=''">
  574. and sjbh=#{sjbh}
  575. </if>
  576. <if test="delFlag!=null and delFlag!=''">
  577. and del_flag=#{delFlag}
  578. </if>
  579. <if test="createBy!=null and createBy!=''">
  580. and create_by=#{createBy}
  581. </if>
  582. <if test="createTime!=null and createTime!=''">
  583. and create_time=#{createTime}
  584. </if>
  585. <if test="updateBy!=null and updateBy!=''">
  586. and update_by=#{updateBy}
  587. </if>
  588. <if test="updateTime!=null and updateTime!=''">
  589. and update_time=#{updateTime}
  590. </if>
  591. </where>
  592. </select>
  593. </mapper>