BusZzdzxxMapper.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  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.BusZzdzxxMapper">
  5. <resultMap id="BaseResultMap" type="com.railway.business.baseinfo.domain.BusZzdzxx">
  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="pillar_code" property="pillarCode"/>
  15. <result column="station_track" property="stationTrack"/>
  16. <result column="gxms" property="gxms"/>
  17. <result column="jbdydm" property="jbdydm"/>
  18. <result column="sd" property="sd"/>
  19. <result column="marker" property="marker"/>
  20. <result column="jcxgmdh" property="jcxgmdh"/>
  21. <result column="jcxgazth" property="jcxgazth"/>
  22. <result column="fjxgazth" property="fjxgazth"/>
  23. <result column="zzlx" property="zzlx"/>
  24. <result column="zzxh" property="zzxh"/>
  25. <result column="zzyt" property="zzyt"/>
  26. <result column="cz" property="cz"/>
  27. <result column="zxqwqn" property="zxqwqn"/>
  28. <result column="kj" property="kj"/>
  29. <result column="qxbj" property="qxbj"/>
  30. <result column="dg" property="dg"/>
  31. <result column="lcz" property="lcz"/>
  32. <result column="gmbg_scz" property="gmbgScz"/>
  33. <result column="gmbg_bzz" property="gmbgBzz"/>
  34. <result column="cmxj_scz" property="cmxjScz"/>
  35. <result column="cmxj_bzz" property="cmxjBzz"/>
  36. <result column="wgcg_scz" property="wgcgScz"/>
  37. <result column="wgcg_bzz" property="wgcgBzz"/>
  38. <result column="zzzt" property="zzzt"/>
  39. <result column="sccj" property="sccj"/>
  40. <result column="tyrq" property="tyrq"/>
  41. <result column="ccrq" property="ccrq"/>
  42. <result column="sjsm" property="sjsm"/>
  43. <result column="zzjczt" property="zzjczt"/>
  44. <result column="jclx" property="jclx"/>
  45. <result column="dxzt" property="dxzt"/>
  46. <result column="jxzq" property="jxzq"/>
  47. <result column="sf_sfpwjjdm" property="sfSfpwjjdm"/>
  48. <result column="sf_bczz" property="sfBczz"/>
  49. <result column="sf_fdjyq" property="sfFdjyq"/>
  50. <result column="sf_fxjyq" property="sfFxjyq"/>
  51. <result column="sf_jcxc" property="sfJcxc"/>
  52. <result column="sf_lxwjcxc" property="sfLxwjcxc"/>
  53. <result column="sf_sxwjcxc" property="sfSxwjcxc"/>
  54. <result column="sf_mdgjzfx" property="sfMdgjzfx"/>
  55. <result column="sf_hkd" property="sfHkd"/>
  56. <result column="sf_dlj" property="sfDlj"/>
  57. <result column="sf_glkg" property="sfGlkg"/>
  58. <result column="sf_blq" property="sfBlq"/>
  59. <result column="sf_dcgyzz" property="sfDcgyzz"/>
  60. <result column="sf_xcbzp" property="sfXcbzp"/>
  61. <result column="sf_jdzz" property="sfJdzz"/>
  62. <result column="sf_xsx" property="sfXsx"/>
  63. <result column="sf_hlx" property="sfHlx"/>
  64. <result column="sf_gwx" property="sfGwx"/>
  65. <result column="sf_gdx" property="sfGdx"/>
  66. <result column="sf_pwx" property="sfPwx"/>
  67. <result column="sf_sfx" property="sfSfx"/>
  68. <result column="sf_jqx" property="sfJqx"/>
  69. <result column="sf_blx" property="sfBlx"/>
  70. <result column="sf_lx" property="sfLx"/>
  71. <result column="sf_zm" property="sfZm"/>
  72. <result column="qt" property="qt"/>
  73. <result column="fj" property="fj"/>
  74. <result column="sl" property="sl"/>
  75. <result column="dw" property="dw"/>
  76. <result column="sjbh" property="sjbh"/>
  77. <result column="del_flag" property="delFlag"/>
  78. <result column="create_by" property="createBy"/>
  79. <result column="create_time" property="createTime"/>
  80. <result column="update_by" property="updateBy"/>
  81. <result column="update_time" property="updateTime"/>
  82. </resultMap>
  83. <sql id="Base_Column_List">
  84. t.id,
  85. v.dept_id,
  86. v.dept_name,
  87. v.line_id,
  88. v.line_name,
  89. v.station_name as station_name,
  90. t.station_id,
  91. t.xingbie,
  92. t.pillar_code,
  93. t.station_track,
  94. t.gxms,
  95. t.jbdydm,
  96. t.sd,
  97. t.marker,
  98. t.jcxgmdh,
  99. t.jcxgazth,
  100. t.fjxgazth,
  101. t.zzlx,
  102. t.zzxh,
  103. t.zzyt,
  104. t.cz,
  105. t.zxqwqn,
  106. t.kj,
  107. t.qxbj,
  108. t.dg,
  109. t.lcz,
  110. t.gmbg_scz,
  111. t.gmbg_bzz,
  112. t.cmxj_scz,
  113. t.cmxj_bzz,
  114. t.wgcg_scz,
  115. t.wgcg_bzz,
  116. t.zzzt,
  117. t.sccj,
  118. t.tyrq,
  119. t.ccrq,
  120. t.sjsm,
  121. t.zzjczt,
  122. t.jclx,
  123. t.dxzt,
  124. t.jxzq,
  125. t.sf_sfpwjjdm,
  126. t.sf_bczz,
  127. t.sf_fdjyq,
  128. t.sf_fxjyq,
  129. t.sf_jcxc,
  130. t.sf_lxwjcxc,
  131. t.sf_sxwjcxc,
  132. t.sf_mdgjzfx,
  133. t.sf_hkd,
  134. t.sf_dlj,
  135. t.sf_glkg,
  136. t.sf_blq,
  137. t.sf_dcgyzz,
  138. t.sf_xcbzp,
  139. t.sf_jdzz,
  140. t.sf_xsx,
  141. t.sf_hlx,
  142. t.sf_gwx,
  143. t.sf_gdx,
  144. t.sf_pwx,
  145. t.sf_sfx,
  146. t.sf_jqx,
  147. t.sf_blx,
  148. t.sf_lx,
  149. t.sf_zm,
  150. t.qt,
  151. t.fj,
  152. t.sl,
  153. t.dw,
  154. t.sjbh,
  155. t.del_flag,
  156. t.create_by,
  157. t.create_time,
  158. t.update_by,
  159. t.update_time,
  160. t.station_id
  161. </sql>
  162. <insert id="insert" parameterType="com.railway.business.baseinfo.domain.BusZzdzxx">
  163. INSERT INTO base_pillar
  164. <trim prefix="(" suffix=")" suffixOverrides=",">
  165. <if test='null != stationId'>
  166. station_id,
  167. </if>
  168. <if test='null != xingbie'>
  169. xingbie,
  170. </if>
  171. <if test='null != pillarCode'>
  172. pillar_code,
  173. </if>
  174. <if test='null != stationTrack'>
  175. station_track,
  176. </if>
  177. <if test='null != gxms'>
  178. gxms,
  179. </if>
  180. <if test='null != jbdydm'>
  181. jbdydm,
  182. </if>
  183. <if test='null != sd'>
  184. sd,
  185. </if>
  186. <if test='null != marker'>
  187. marker,
  188. </if>
  189. <if test='null != jcxgmdh'>
  190. jcxgmdh,
  191. </if>
  192. <if test='null != jcxgazth'>
  193. jcxgazth,
  194. </if>
  195. <if test='null != fjxgazth'>
  196. fjxgazth,
  197. </if>
  198. <if test='null != zzlx'>
  199. zzlx,
  200. </if>
  201. <if test='null != zzxh'>
  202. zzxh,
  203. </if>
  204. <if test='null != zzyt'>
  205. zzyt,
  206. </if>
  207. <if test='null != cz'>
  208. cz,
  209. </if>
  210. <if test='null != zxqwqn'>
  211. zxqwqn,
  212. </if>
  213. <if test='null != kj'>
  214. kj,
  215. </if>
  216. <if test='null != qxbj'>
  217. qxbj,
  218. </if>
  219. <if test='null != dg'>
  220. dg,
  221. </if>
  222. <if test='null != lcz'>
  223. lcz,
  224. </if>
  225. <if test='null != gmbgScz'>
  226. gmbg_scz,
  227. </if>
  228. <if test='null != gmbgBzz'>
  229. gmbg_bzz,
  230. </if>
  231. <if test='null != cmxjScz'>
  232. cmxj_scz,
  233. </if>
  234. <if test='null != cmxjBzz'>
  235. cmxj_bzz,
  236. </if>
  237. <if test='null != wgcgScz'>
  238. wgcg_scz,
  239. </if>
  240. <if test='null != wgcgBzz'>
  241. wgcg_bzz,
  242. </if>
  243. <if test='null != zzzt'>
  244. zzzt,
  245. </if>
  246. <if test='null != sccj'>
  247. sccj,
  248. </if>
  249. <if test='null != tyrq'>
  250. tyrq,
  251. </if>
  252. <if test='null != ccrq'>
  253. ccrq,
  254. </if>
  255. <if test='null != sjsm'>
  256. sjsm,
  257. </if>
  258. <if test='null != zzjczt'>
  259. zzjczt,
  260. </if>
  261. <if test='null != jclx'>
  262. jclx,
  263. </if>
  264. <if test='null != dxzt'>
  265. dxzt,
  266. </if>
  267. <if test='null != jxzq'>
  268. jxzq,
  269. </if>
  270. <if test='null != sfSfpwjjdm'>
  271. sf_sfpwjjdm,
  272. </if>
  273. <if test='null != sfBczz'>
  274. sf_bczz,
  275. </if>
  276. <if test='null != sfFdjyq'>
  277. sf_fdjyq,
  278. </if>
  279. <if test='null != sfFxjyq'>
  280. sf_fxjyq,
  281. </if>
  282. <if test='null != sfJcxc'>
  283. sf_jcxc,
  284. </if>
  285. <if test='null != sfLxwjcxc'>
  286. sf_lxwjcxc,
  287. </if>
  288. <if test='null != sfSxwjcxc'>
  289. sf_sxwjcxc,
  290. </if>
  291. <if test='null != sfMdgjzfx'>
  292. sf_mdgjzfx,
  293. </if>
  294. <if test='null != sfHkd'>
  295. sf_hkd,
  296. </if>
  297. <if test='null != sfDlj'>
  298. sf_dlj,
  299. </if>
  300. <if test='null != sfGlkg'>
  301. sf_glkg,
  302. </if>
  303. <if test='null != sfBlq'>
  304. sf_blq,
  305. </if>
  306. <if test='null != sfDcgyzz'>
  307. sf_dcgyzz,
  308. </if>
  309. <if test='null != sfXcbzp'>
  310. sf_xcbzp,
  311. </if>
  312. <if test='null != sfJdzz'>
  313. sf_jdzz,
  314. </if>
  315. <if test='null != sfXsx'>
  316. sf_xsx,
  317. </if>
  318. <if test='null != sfHlx'>
  319. sf_hlx,
  320. </if>
  321. <if test='null != sfGwx'>
  322. sf_gwx,
  323. </if>
  324. <if test='null != sfGdx'>
  325. sf_gdx,
  326. </if>
  327. <if test='null != sfPwx'>
  328. sf_pwx,
  329. </if>
  330. <if test='null != sfSfx'>
  331. sf_sfx,
  332. </if>
  333. <if test='null != sfJqx'>
  334. sf_jqx,
  335. </if>
  336. <if test='null != sfBlx'>
  337. sf_blx,
  338. </if>
  339. <if test='null != sfLx'>
  340. sf_lx,
  341. </if>
  342. <if test='null != sfZm'>
  343. sf_zm,
  344. </if>
  345. <if test='null != qt'>
  346. qt,
  347. </if>
  348. <if test='null != fj'>
  349. fj,
  350. </if>
  351. <if test='null != sl'>
  352. sl,
  353. </if>
  354. <if test='null != dw'>
  355. dw,
  356. </if>
  357. <if test='null != sjbh'>
  358. sjbh,
  359. </if>
  360. <if test='null != delFlag'>
  361. del_flag,
  362. </if>
  363. <if test='null != createBy'>
  364. create_by,
  365. </if>
  366. <if test='null != createTime'>
  367. create_time,
  368. </if>
  369. <if test='null != updateBy'>
  370. update_by,
  371. </if>
  372. <if test='null != updateTime'>
  373. update_time,
  374. </if>
  375. <if test='null != stationId'>
  376. station_id
  377. </if>
  378. </trim>
  379. <trim prefix="values (" suffix=")" suffixOverrides=",">
  380. <if test='null != stationId'>
  381. #{stationId},
  382. </if>
  383. <if test='null != xingbie'>
  384. #{xingbie},
  385. </if>
  386. <if test='null != pillarCode'>
  387. #{pillarCode},
  388. </if>
  389. <if test='null != stationTrack'>
  390. #{stationTrack},
  391. </if>
  392. <if test='null != gxms'>
  393. #{gxms},
  394. </if>
  395. <if test='null != jbdydm'>
  396. #{jbdydm},
  397. </if>
  398. <if test='null != sd'>
  399. #{sd},
  400. </if>
  401. <if test='null != marker'>
  402. #{marker},
  403. </if>
  404. <if test='null != jcxgmdh'>
  405. #{jcxgmdh},
  406. </if>
  407. <if test='null != jcxgazth'>
  408. #{jcxgazth},
  409. </if>
  410. <if test='null != fjxgazth'>
  411. #{fjxgazth},
  412. </if>
  413. <if test='null != zzlx'>
  414. #{zzlx},
  415. </if>
  416. <if test='null != zzxh'>
  417. #{zzxh},
  418. </if>
  419. <if test='null != zzyt'>
  420. #{zzyt},
  421. </if>
  422. <if test='null != cz'>
  423. #{cz},
  424. </if>
  425. <if test='null != zxqwqn'>
  426. #{zxqwqn},
  427. </if>
  428. <if test='null != kj'>
  429. #{kj},
  430. </if>
  431. <if test='null != qxbj'>
  432. #{qxbj},
  433. </if>
  434. <if test='null != dg'>
  435. #{dg},
  436. </if>
  437. <if test='null != lcz'>
  438. #{lcz},
  439. </if>
  440. <if test='null != gmbgScz'>
  441. #{gmbgScz},
  442. </if>
  443. <if test='null != gmbgBzz'>
  444. #{gmbgBzz},
  445. </if>
  446. <if test='null != cmxjScz'>
  447. #{cmxjScz},
  448. </if>
  449. <if test='null != cmxjBzz'>
  450. #{cmxjBzz},
  451. </if>
  452. <if test='null != wgcgScz'>
  453. #{wgcgScz},
  454. </if>
  455. <if test='null != wgcgBzz'>
  456. #{wgcgBzz},
  457. </if>
  458. <if test='null != zzzt'>
  459. #{zzzt},
  460. </if>
  461. <if test='null != sccj'>
  462. #{sccj},
  463. </if>
  464. <if test='null != tyrq'>
  465. #{tyrq},
  466. </if>
  467. <if test='null != ccrq'>
  468. #{ccrq},
  469. </if>
  470. <if test='null != sjsm'>
  471. #{sjsm},
  472. </if>
  473. <if test='null != zzjczt'>
  474. #{zzjczt},
  475. </if>
  476. <if test='null != jclx'>
  477. #{jclx},
  478. </if>
  479. <if test='null != dxzt'>
  480. #{dxzt},
  481. </if>
  482. <if test='null != jxzq'>
  483. #{jxzq},
  484. </if>
  485. <if test='null != sfSfpwjjdm'>
  486. #{sfSfpwjjdm},
  487. </if>
  488. <if test='null != sfBczz'>
  489. #{sfBczz},
  490. </if>
  491. <if test='null != sfFdjyq'>
  492. #{sfFdjyq},
  493. </if>
  494. <if test='null != sfFxjyq'>
  495. #{sfFxjyq},
  496. </if>
  497. <if test='null != sfJcxc'>
  498. #{sfJcxc},
  499. </if>
  500. <if test='null != sfLxwjcxc'>
  501. #{sfLxwjcxc},
  502. </if>
  503. <if test='null != sfSxwjcxc'>
  504. #{sfSxwjcxc},
  505. </if>
  506. <if test='null != sfMdgjzfx'>
  507. #{sfMdgjzfx},
  508. </if>
  509. <if test='null != sfHkd'>
  510. #{sfHkd},
  511. </if>
  512. <if test='null != sfDlj'>
  513. #{sfDlj},
  514. </if>
  515. <if test='null != sfGlkg'>
  516. #{sfGlkg},
  517. </if>
  518. <if test='null != sfBlq'>
  519. #{sfBlq},
  520. </if>
  521. <if test='null != sfDcgyzz'>
  522. #{sfDcgyzz},
  523. </if>
  524. <if test='null != sfXcbzp'>
  525. #{sfXcbzp},
  526. </if>
  527. <if test='null != sfJdzz'>
  528. #{sfJdzz},
  529. </if>
  530. <if test='null != sfXsx'>
  531. #{sfXsx},
  532. </if>
  533. <if test='null != sfHlx'>
  534. #{sfHlx},
  535. </if>
  536. <if test='null != sfGwx'>
  537. #{sfGwx},
  538. </if>
  539. <if test='null != sfGdx'>
  540. #{sfGdx},
  541. </if>
  542. <if test='null != sfPwx'>
  543. #{sfPwx},
  544. </if>
  545. <if test='null != sfSfx'>
  546. #{sfSfx},
  547. </if>
  548. <if test='null != sfJqx'>
  549. #{sfJqx},
  550. </if>
  551. <if test='null != sfBlx'>
  552. #{sfBlx},
  553. </if>
  554. <if test='null != sfLx'>
  555. #{sfLx},
  556. </if>
  557. <if test='null != sfZm'>
  558. #{sfZm},
  559. </if>
  560. <if test='null != qt'>
  561. #{qt},
  562. </if>
  563. <if test='null != fj'>
  564. #{fj},
  565. </if>
  566. <if test='null != sl'>
  567. #{sl},
  568. </if>
  569. <if test='null != dw'>
  570. #{dw},
  571. </if>
  572. <if test='null != sjbh'>
  573. #{sjbh},
  574. </if>
  575. <if test='null != delFlag'>
  576. #{delFlag},
  577. </if>
  578. <if test='null != createBy'>
  579. #{createBy},
  580. </if>
  581. <if test='null != createTime'>
  582. #{createTime},
  583. </if>
  584. <if test='null != updateBy'>
  585. #{updateBy},
  586. </if>
  587. <if test='null != updateTime'>
  588. #{updateTime},
  589. </if>
  590. <if test='null != stationId'>
  591. #{stationId}
  592. </if>
  593. </trim>
  594. </insert>
  595. <delete id="delete">
  596. UPDATE base_pillar
  597. set del_flag='1'
  598. WHERE id = #{id}
  599. </delete>
  600. <update id="update" parameterType="com.railway.business.baseinfo.domain.BusZzdzxx">
  601. UPDATE base_pillar
  602. <set>
  603. <if test='null != stationId'>station_id = #{stationId},</if>
  604. <if test='null != xingbie'>xingbie = #{xingbie},</if>
  605. <if test='null != pillarCode'>pillar_code = #{pillarCode},</if>
  606. <if test='null != stationTrack'>station_track = #{stationTrack},</if>
  607. <if test='null != gxms'>gxms = #{gxms},</if>
  608. <if test='null != jbdydm'>jbdydm = #{jbdydm},</if>
  609. <if test='null != sd'>sd = #{sd},</if>
  610. <if test='null != marker'>marker = #{marker},</if>
  611. <if test='null != jcxgmdh'>jcxgmdh = #{jcxgmdh},</if>
  612. <if test='null != jcxgazth'>jcxgazth = #{jcxgazth},</if>
  613. <if test='null != fjxgazth'>fjxgazth = #{fjxgazth},</if>
  614. <if test='null != zzlx'>zzlx = #{zzlx},</if>
  615. <if test='null != zzxh'>zzxh = #{zzxh},</if>
  616. <if test='null != zzyt'>zzyt = #{zzyt},</if>
  617. <if test='null != cz'>cz = #{cz},</if>
  618. <if test='null != zxqwqn'>zxqwqn = #{zxqwqn},</if>
  619. <if test='null != kj'>kj = #{kj},</if>
  620. <if test='null != qxbj'>qxbj = #{qxbj},</if>
  621. <if test='null != dg'>dg = #{dg},</if>
  622. <if test='null != lcz'>lcz = #{lcz},</if>
  623. <if test='null != gmbgScz'>gmbg_scz = #{gmbgScz},</if>
  624. <if test='null != gmbgBzz'>gmbg_bzz = #{gmbgBzz},</if>
  625. <if test='null != cmxjScz'>cmxj_scz = #{cmxjScz},</if>
  626. <if test='null != cmxjBzz'>cmxj_bzz = #{cmxjBzz},</if>
  627. <if test='null != wgcgScz'>wgcg_scz = #{wgcgScz},</if>
  628. <if test='null != wgcgBzz'>wgcg_bzz = #{wgcgBzz},</if>
  629. <if test='null != zzzt'>zzzt = #{zzzt},</if>
  630. <if test='null != sccj'>sccj = #{sccj},</if>
  631. <if test='null != tyrq'>tyrq = #{tyrq},</if>
  632. <if test='null != ccrq'>ccrq = #{ccrq},</if>
  633. <if test='null != sjsm'>sjsm = #{sjsm},</if>
  634. <if test='null != zzjczt'>zzjczt = #{zzjczt},</if>
  635. <if test='null != jclx'>jclx = #{jclx},</if>
  636. <if test='null != dxzt'>dxzt = #{dxzt},</if>
  637. <if test='null != jxzq'>jxzq = #{jxzq},</if>
  638. <if test='null != sfSfpwjjdm'>sf_sfpwjjdm = #{sfSfpwjjdm},</if>
  639. <if test='null != sfBczz'>sf_bczz = #{sfBczz},</if>
  640. <if test='null != sfFdjyq'>sf_fdjyq = #{sfFdjyq},</if>
  641. <if test='null != sfFxjyq'>sf_fxjyq = #{sfFxjyq},</if>
  642. <if test='null != sfJcxc'>sf_jcxc = #{sfJcxc},</if>
  643. <if test='null != sfLxwjcxc'>sf_lxwjcxc = #{sfLxwjcxc},</if>
  644. <if test='null != sfSxwjcxc'>sf_sxwjcxc = #{sfSxwjcxc},</if>
  645. <if test='null != sfMdgjzfx'>sf_mdgjzfx = #{sfMdgjzfx},</if>
  646. <if test='null != sfHkd'>sf_hkd = #{sfHkd},</if>
  647. <if test='null != sfDlj'>sf_dlj = #{sfDlj},</if>
  648. <if test='null != sfGlkg'>sf_glkg = #{sfGlkg},</if>
  649. <if test='null != sfBlq'>sf_blq = #{sfBlq},</if>
  650. <if test='null != sfDcgyzz'>sf_dcgyzz = #{sfDcgyzz},</if>
  651. <if test='null != sfXcbzp'>sf_xcbzp = #{sfXcbzp},</if>
  652. <if test='null != sfJdzz'>sf_jdzz = #{sfJdzz},</if>
  653. <if test='null != sfXsx'>sf_xsx = #{sfXsx},</if>
  654. <if test='null != sfHlx'>sf_hlx = #{sfHlx},</if>
  655. <if test='null != sfGwx'>sf_gwx = #{sfGwx},</if>
  656. <if test='null != sfGdx'>sf_gdx = #{sfGdx},</if>
  657. <if test='null != sfPwx'>sf_pwx = #{sfPwx},</if>
  658. <if test='null != sfSfx'>sf_sfx = #{sfSfx},</if>
  659. <if test='null != sfJqx'>sf_jqx = #{sfJqx},</if>
  660. <if test='null != sfBlx'>sf_blx = #{sfBlx},</if>
  661. <if test='null != sfLx'>sf_lx = #{sfLx},</if>
  662. <if test='null != sfZm'>sf_zm = #{sfZm},</if>
  663. <if test='null != qt'>qt = #{qt},</if>
  664. <if test='null != fj'>fj = #{fj},</if>
  665. <if test='null != sl'>sl = #{sl},</if>
  666. <if test='null != dw'>dw = #{dw},</if>
  667. <if test='null != sjbh'>sjbh = #{sjbh},</if>
  668. <if test='null != delFlag'>del_flag = #{delFlag},</if>
  669. <if test='null != createBy'>create_by = #{createBy},</if>
  670. <if test='null != createTime'>create_time = #{createTime},</if>
  671. <if test='null != updateBy'>update_by = #{updateBy},</if>
  672. <if test='null != updateTime'>update_time = #{updateTime}</if>
  673. <if test='null != stationId'>station_id = #{stationId}</if>
  674. </set>
  675. WHERE id = #{id}
  676. </update>
  677. <select id="getInfo" resultMap="BaseResultMap">
  678. SELECT
  679. <include refid="Base_Column_List"/>
  680. FROM base_pillar t
  681. LEFT JOIN v_station v on t.station_id = v.station_id
  682. WHERE t.del_flag='0' and t.id = #{id}
  683. </select>
  684. <select id="getList" resultMap="BaseResultMap">
  685. SELECT
  686. <include refid="Base_Column_List"/>
  687. FROM base_pillar t
  688. left join v_station v on t.station_id = v.station_id
  689. <where>
  690. t.del_flag='0'
  691. <if test="stationId!=null and stationId!=''">
  692. and t.station_id=#{stationId}
  693. </if>
  694. <if test="deptId!=null and deptId!=''">
  695. and v.dept_id=#{deptId}
  696. </if>
  697. <if test="lineId!=null and lineId!=''">
  698. and v.line_id=#{lineId}
  699. </if>
  700. <if test="xingbie!=null and xingbie!=''">
  701. and t.xingbie=#{xingbie}
  702. </if>
  703. <if test="pillarCode!=null and pillarCode!=''">
  704. and t.pillar_code=#{pillarCode}
  705. </if>
  706. <if test="stationTrack!=null and stationTrack!=''">
  707. and t.station_track=#{stationTrack}
  708. </if>
  709. <if test="gxms!=null and gxms!=''">
  710. and t.gxms=#{gxms}
  711. </if>
  712. <if test="jbdydm!=null and jbdydm!=''">
  713. and t.jbdydm=#{jbdydm}
  714. </if>
  715. <if test="sd!=null and sd!=''">
  716. and t.sd=#{sd}
  717. </if>
  718. <if test="marker!=null and marker!=''">
  719. and t.marker=#{marker}
  720. </if>
  721. <if test="jcxgmdh!=null and jcxgmdh!=''">
  722. and t.jcxgmdh=#{jcxgmdh}
  723. </if>
  724. <if test="jcxgazth!=null and jcxgazth!=''">
  725. and t.jcxgazth=#{jcxgazth}
  726. </if>
  727. <if test="fjxgazth!=null and fjxgazth!=''">
  728. and t.fjxgazth=#{fjxgazth}
  729. </if>
  730. <if test="zzlx!=null and zzlx!=''">
  731. and t.zzlx=#{zzlx}
  732. </if>
  733. <if test="zzxh!=null and zzxh!=''">
  734. and t.zzxh=#{zzxh}
  735. </if>
  736. <if test="zzyt!=null and zzyt!=''">
  737. and t.zzyt=#{zzyt}
  738. </if>
  739. <if test="cz!=null and cz!=''">
  740. and t.cz=#{cz}
  741. </if>
  742. <if test="zxqwqn!=null and zxqwqn!=''">
  743. and t.zxqwqn=#{zxqwqn}
  744. </if>
  745. <if test="kj!=null and kj!=''">
  746. and t.kj=#{kj}
  747. </if>
  748. <if test="qxbj!=null and qxbj!=''">
  749. and t.qxbj=#{qxbj}
  750. </if>
  751. <if test="dg!=null and dg!=''">
  752. and t.dg=#{dg}
  753. </if>
  754. <if test="lcz!=null and lcz!=''">
  755. and t.lcz=#{lcz}
  756. </if>
  757. <if test="gmbgScz!=null and gmbgScz!=''">
  758. and t.gmbg_scz=#{gmbgScz}
  759. </if>
  760. <if test="gmbgBzz!=null and gmbgBzz!=''">
  761. and t.gmbg_bzz=#{gmbgBzz}
  762. </if>
  763. <if test="cmxjScz!=null and cmxjScz!=''">
  764. and t.cmxj_scz=#{cmxjScz}
  765. </if>
  766. <if test="cmxjBzz!=null and cmxjBzz!=''">
  767. and t.cmxj_bzz=#{cmxjBzz}
  768. </if>
  769. <if test="wgcgScz!=null and wgcgScz!=''">
  770. and t.wgcg_scz=#{wgcgScz}
  771. </if>
  772. <if test="wgcgBzz!=null and wgcgBzz!=''">
  773. and t.wgcg_bzz=#{wgcgBzz}
  774. </if>
  775. <if test="zzzt!=null and zzzt!=''">
  776. and t.zzzt=#{zzzt}
  777. </if>
  778. <if test="sccj!=null and sccj!=''">
  779. and t.sccj=#{sccj}
  780. </if>
  781. <if test="tyrq!=null and tyrq!=''">
  782. and t.tyrq=#{tyrq}
  783. </if>
  784. <if test="ccrq!=null and ccrq!=''">
  785. and t.ccrq=#{ccrq}
  786. </if>
  787. <if test="sjsm!=null and sjsm!=''">
  788. and t.sjsm=#{sjsm}
  789. </if>
  790. <if test="zzjczt!=null and zzjczt!=''">
  791. and t.zzjczt=#{zzjczt}
  792. </if>
  793. <if test="jclx!=null and jclx!=''">
  794. and t.jclx=#{jclx}
  795. </if>
  796. <if test="dxzt!=null and dxzt!=''">
  797. and t.dxzt=#{dxzt}
  798. </if>
  799. <if test="jxzq!=null and jxzq!=''">
  800. and t.jxzq=#{jxzq}
  801. </if>
  802. <if test="sfSfpwjjdm!=null and sfSfpwjjdm!=''">
  803. and t.sf_sfpwjjdm=#{sfSfpwjjdm}
  804. </if>
  805. <if test="sfBczz!=null and sfBczz!=''">
  806. and t.sf_bczz=#{sfBczz}
  807. </if>
  808. <if test="sfFdjyq!=null and sfFdjyq!=''">
  809. and t.sf_fdjyq=#{sfFdjyq}
  810. </if>
  811. <if test="sfFxjyq!=null and sfFxjyq!=''">
  812. and t.sf_fxjyq=#{sfFxjyq}
  813. </if>
  814. <if test="sfJcxc!=null and sfJcxc!=''">
  815. and t.sf_jcxc=#{sfJcxc}
  816. </if>
  817. <if test="sfLxwjcxc!=null and sfLxwjcxc!=''">
  818. and t.sf_lxwjcxc=#{sfLxwjcxc}
  819. </if>
  820. <if test="sfSxwjcxc!=null and sfSxwjcxc!=''">
  821. and t.sf_sxwjcxc=#{sfSxwjcxc}
  822. </if>
  823. <if test="sfMdgjzfx!=null and sfMdgjzfx!=''">
  824. and t.sf_mdgjzfx=#{sfMdgjzfx}
  825. </if>
  826. <if test="sfHkd!=null and sfHkd!=''">
  827. and t.sf_hkd=#{sfHkd}
  828. </if>
  829. <if test="sfDlj!=null and sfDlj!=''">
  830. and t.sf_dlj=#{sfDlj}
  831. </if>
  832. <if test="sfGlkg!=null and sfGlkg!=''">
  833. and t.sf_glkg=#{sfGlkg}
  834. </if>
  835. <if test="sfBlq!=null and sfBlq!=''">
  836. and t.sf_blq=#{sfBlq}
  837. </if>
  838. <if test="sfDcgyzz!=null and sfDcgyzz!=''">
  839. and t.sf_dcgyzz=#{sfDcgyzz}
  840. </if>
  841. <if test="sfXcbzp!=null and sfXcbzp!=''">
  842. and t.sf_xcbzp=#{sfXcbzp}
  843. </if>
  844. <if test="sfJdzz!=null and sfJdzz!=''">
  845. and t.sf_jdzz=#{sfJdzz}
  846. </if>
  847. <if test="sfXsx!=null and sfXsx!=''">
  848. and t.sf_xsx=#{sfXsx}
  849. </if>
  850. <if test="sfHlx!=null and sfHlx!=''">
  851. and t.sf_hlx=#{sfHlx}
  852. </if>
  853. <if test="sfGwx!=null and sfGwx!=''">
  854. and t.sf_gwx=#{sfGwx}
  855. </if>
  856. <if test="sfGdx!=null and sfGdx!=''">
  857. and t.sf_gdx=#{sfGdx}
  858. </if>
  859. <if test="sfPwx!=null and sfPwx!=''">
  860. and t.sf_pwx=#{sfPwx}
  861. </if>
  862. <if test="sfSfx!=null and sfSfx!=''">
  863. and t.sf_sfx=#{sfSfx}
  864. </if>
  865. <if test="sfJqx!=null and sfJqx!=''">
  866. and t.sf_jqx=#{sfJqx}
  867. </if>
  868. <if test="sfBlx!=null and sfBlx!=''">
  869. and t.sf_blx=#{sfBlx}
  870. </if>
  871. <if test="sfLx!=null and sfLx!=''">
  872. and t.sf_lx=#{sfLx}
  873. </if>
  874. <if test="sfZm!=null and sfZm!=''">
  875. and t.sf_zm=#{sfZm}
  876. </if>
  877. <if test="qt!=null and qt!=''">
  878. and t.qt=#{qt}
  879. </if>
  880. <if test="fj!=null and fj!=''">
  881. and t.fj=#{fj}
  882. </if>
  883. <if test="sl!=null and sl!=''">
  884. and t.sl=#{sl}
  885. </if>
  886. <if test="dw!=null and dw!=''">
  887. and t.dw=#{dw}
  888. </if>
  889. <if test="sjbh!=null and sjbh!=''">
  890. and t.sjbh=#{sjbh}
  891. </if>
  892. <if test="delFlag!=null and delFlag!=''">
  893. and t.del_flag=#{delFlag}
  894. </if>
  895. <if test="createBy!=null and createBy!=''">
  896. and t.create_by=#{createBy}
  897. </if>
  898. <if test="createTime!=null and createTime!=''">
  899. and t.create_time=#{createTime}
  900. </if>
  901. <if test="updateBy!=null and updateBy!=''">
  902. and t.update_by=#{updateBy}
  903. </if>
  904. <if test="updateTime!=null and updateTime!=''">
  905. and t.update_time=#{updateTime}
  906. </if>
  907. </where>
  908. </select>
  909. </mapper>