xt_csjlyxcs_SqlMap.xml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd">
  3. <sqlMap namespace="xt_csjlyxcs">
  4. <resultMap class="com.huimv.xt.dataobject.XtCsjlyxcs" id="ibatorgenerated_BaseResultMap">
  5. <!--
  6. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  7. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  8. -->
  9. <result column="id" jdbcType="INTEGER" property="id" />
  10. <result column="jqid" jdbcType="VARCHAR" property="jqid" />
  11. <result column="kqys" jdbcType="VARCHAR" property="kqys" />
  12. <result column="xlsj" jdbcType="VARCHAR" property="xlsj" />
  13. <result column="mldd" jdbcType="VARCHAR" property="mldd" />
  14. <result column="flsj" jdbcType="VARCHAR" property="flsj" />
  15. <result column="kcdd" jdbcType="VARCHAR" property="kcdd" />
  16. <result column="cqzl" jdbcType="VARCHAR" property="cqzl" />
  17. <result column="czzl" jdbcType="VARCHAR" property="czzl" />
  18. <result column="xdz" jdbcType="VARCHAR" property="xdz" />
  19. <result column="ddz" jdbcType="VARCHAR" property="ddz" />
  20. <result column="dqxdz" jdbcType="VARCHAR" property="dqxdz" />
  21. <result column="dqddz" jdbcType="VARCHAR" property="dqddz" />
  22. <result column="xmcs" jdbcType="VARCHAR" property="xmcs" />
  23. <result column="dmcs" jdbcType="VARCHAR" property="dmcs" />
  24. <result column="slgcsj" jdbcType="VARCHAR" property="slgcsj" />
  25. <result column="jyfmzl" jdbcType="VARCHAR" property="jyfmzl" />
  26. <result column="wc" jdbcType="VARCHAR" property="wc" />
  27. <result column="xfbz" jdbcType="INTEGER" property="xfbz" />
  28. <result column="xgr" jdbcType="VARCHAR" property="xgr" />
  29. <result column="xgsj" jdbcType="TIMESTAMP" property="xgsj" />
  30. <result column="zfbz" jdbcType="INTEGER" property="zfbz" />
  31. </resultMap>
  32. <sql id="ibatorgenerated_Example_Where_Clause">
  33. <!--
  34. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  35. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  36. -->
  37. <iterate conjunction="or" prepend="where" property="oredCriteria" removeFirstPrepend="iterate">
  38. <isEqual compareValue="true" property="oredCriteria[].valid">
  39. (
  40. <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithoutValue">
  41. $oredCriteria[].criteriaWithoutValue[]$
  42. </iterate>
  43. <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithSingleValue">
  44. $oredCriteria[].criteriaWithSingleValue[].condition$
  45. #oredCriteria[].criteriaWithSingleValue[].value#
  46. </iterate>
  47. <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithListValue">
  48. $oredCriteria[].criteriaWithListValue[].condition$
  49. <iterate close=")" conjunction="," open="(" property="oredCriteria[].criteriaWithListValue[].values">
  50. #oredCriteria[].criteriaWithListValue[].values[]#
  51. </iterate>
  52. </iterate>
  53. <iterate conjunction="and" prepend="and" property="oredCriteria[].criteriaWithBetweenValue">
  54. $oredCriteria[].criteriaWithBetweenValue[].condition$
  55. #oredCriteria[].criteriaWithBetweenValue[].values[0]# and
  56. #oredCriteria[].criteriaWithBetweenValue[].values[1]#
  57. </iterate>
  58. )
  59. </isEqual>
  60. </iterate>
  61. </sql>
  62. <select id="ibatorgenerated_selectByExample" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcsExample" resultMap="ibatorgenerated_BaseResultMap">
  63. <!--
  64. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  65. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  66. -->
  67. select id, jqid, kqys, xlsj, mldd, flsj, kcdd, cqzl, czzl, xdz, ddz, dqxdz, dqddz, xmcs, dmcs,
  68. slgcsj, jyfmzl, wc, xfbz, xgr, xgsj, zfbz
  69. from xt_csjlyxcs
  70. <isParameterPresent>
  71. <include refid="xt_csjlyxcs.ibatorgenerated_Example_Where_Clause" />
  72. <isNotNull property="orderByClause">
  73. order by $orderByClause$
  74. </isNotNull>
  75. <isGreaterEqual compareValue="0" property="start">
  76. limit $start$ , $limit$
  77. </isGreaterEqual>
  78. </isParameterPresent>
  79. </select>
  80. <select id="ibatorgenerated_selectByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcs" resultMap="ibatorgenerated_BaseResultMap">
  81. <!--
  82. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  83. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  84. -->
  85. select id, jqid, kqys, xlsj, mldd, flsj, kcdd, cqzl, czzl, xdz, ddz, dqxdz, dqddz, xmcs, dmcs,
  86. slgcsj, jyfmzl, wc, xfbz, xgr, xgsj, zfbz
  87. from xt_csjlyxcs
  88. where id = #id:INTEGER#
  89. </select>
  90. <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcs">
  91. <!--
  92. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  93. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  94. -->
  95. delete from xt_csjlyxcs
  96. where id = #id:INTEGER#
  97. </delete>
  98. <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcsExample">
  99. <!--
  100. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  101. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  102. -->
  103. delete from xt_csjlyxcs
  104. <include refid="xt_csjlyxcs.ibatorgenerated_Example_Where_Clause" />
  105. </delete>
  106. <insert id="ibatorgenerated_insert" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcs">
  107. <!--
  108. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  109. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  110. -->
  111. insert into xt_csjlyxcs (id, jqid, kqys, xlsj, mldd, flsj, kcdd, cqzl, czzl, xdz, ddz, dqxdz,
  112. dqddz, xmcs, dmcs, slgcsj, jyfmzl, wc, xfbz, xgr, xgsj, zfbz)
  113. values (#id:INTEGER#, #jqid:VARCHAR#, #kqys:VARCHAR#, #xlsj:VARCHAR#, #mldd:VARCHAR#,
  114. #flsj:VARCHAR#, #kcdd:VARCHAR#, #cqzl:VARCHAR#, #czzl:VARCHAR#, #xdz:VARCHAR#, #ddz:VARCHAR#,
  115. #dqxdz:VARCHAR#, #dqddz:VARCHAR#, #xmcs:VARCHAR#, #dmcs:VARCHAR#, #slgcsj:VARCHAR#,
  116. #jyfmzl:VARCHAR#, #wc:VARCHAR#, #xfbz:INTEGER#, #xgr:VARCHAR#, #xgsj:TIMESTAMP#,
  117. #zfbz:INTEGER#)
  118. </insert>
  119. <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcs">
  120. <!--
  121. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  122. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  123. -->
  124. insert into xt_csjlyxcs
  125. <dynamic prepend="(">
  126. <isNotNull prepend="," property="id">
  127. id
  128. </isNotNull>
  129. <isNotNull prepend="," property="jqid">
  130. jqid
  131. </isNotNull>
  132. <isNotNull prepend="," property="kqys">
  133. kqys
  134. </isNotNull>
  135. <isNotNull prepend="," property="xlsj">
  136. xlsj
  137. </isNotNull>
  138. <isNotNull prepend="," property="mldd">
  139. mldd
  140. </isNotNull>
  141. <isNotNull prepend="," property="flsj">
  142. flsj
  143. </isNotNull>
  144. <isNotNull prepend="," property="kcdd">
  145. kcdd
  146. </isNotNull>
  147. <isNotNull prepend="," property="cqzl">
  148. cqzl
  149. </isNotNull>
  150. <isNotNull prepend="," property="czzl">
  151. czzl
  152. </isNotNull>
  153. <isNotNull prepend="," property="xdz">
  154. xdz
  155. </isNotNull>
  156. <isNotNull prepend="," property="ddz">
  157. ddz
  158. </isNotNull>
  159. <isNotNull prepend="," property="dqxdz">
  160. dqxdz
  161. </isNotNull>
  162. <isNotNull prepend="," property="dqddz">
  163. dqddz
  164. </isNotNull>
  165. <isNotNull prepend="," property="xmcs">
  166. xmcs
  167. </isNotNull>
  168. <isNotNull prepend="," property="dmcs">
  169. dmcs
  170. </isNotNull>
  171. <isNotNull prepend="," property="slgcsj">
  172. slgcsj
  173. </isNotNull>
  174. <isNotNull prepend="," property="jyfmzl">
  175. jyfmzl
  176. </isNotNull>
  177. <isNotNull prepend="," property="wc">
  178. wc
  179. </isNotNull>
  180. <isNotNull prepend="," property="xfbz">
  181. xfbz
  182. </isNotNull>
  183. <isNotNull prepend="," property="xgr">
  184. xgr
  185. </isNotNull>
  186. <isNotNull prepend="," property="xgsj">
  187. xgsj
  188. </isNotNull>
  189. <isNotNull prepend="," property="zfbz">
  190. zfbz
  191. </isNotNull>
  192. )
  193. </dynamic>
  194. values
  195. <dynamic prepend="(">
  196. <isNotNull prepend="," property="id">
  197. #id:INTEGER#
  198. </isNotNull>
  199. <isNotNull prepend="," property="jqid">
  200. #jqid:VARCHAR#
  201. </isNotNull>
  202. <isNotNull prepend="," property="kqys">
  203. #kqys:VARCHAR#
  204. </isNotNull>
  205. <isNotNull prepend="," property="xlsj">
  206. #xlsj:VARCHAR#
  207. </isNotNull>
  208. <isNotNull prepend="," property="mldd">
  209. #mldd:VARCHAR#
  210. </isNotNull>
  211. <isNotNull prepend="," property="flsj">
  212. #flsj:VARCHAR#
  213. </isNotNull>
  214. <isNotNull prepend="," property="kcdd">
  215. #kcdd:VARCHAR#
  216. </isNotNull>
  217. <isNotNull prepend="," property="cqzl">
  218. #cqzl:VARCHAR#
  219. </isNotNull>
  220. <isNotNull prepend="," property="czzl">
  221. #czzl:VARCHAR#
  222. </isNotNull>
  223. <isNotNull prepend="," property="xdz">
  224. #xdz:VARCHAR#
  225. </isNotNull>
  226. <isNotNull prepend="," property="ddz">
  227. #ddz:VARCHAR#
  228. </isNotNull>
  229. <isNotNull prepend="," property="dqxdz">
  230. #dqxdz:VARCHAR#
  231. </isNotNull>
  232. <isNotNull prepend="," property="dqddz">
  233. #dqddz:VARCHAR#
  234. </isNotNull>
  235. <isNotNull prepend="," property="xmcs">
  236. #xmcs:VARCHAR#
  237. </isNotNull>
  238. <isNotNull prepend="," property="dmcs">
  239. #dmcs:VARCHAR#
  240. </isNotNull>
  241. <isNotNull prepend="," property="slgcsj">
  242. #slgcsj:VARCHAR#
  243. </isNotNull>
  244. <isNotNull prepend="," property="jyfmzl">
  245. #jyfmzl:VARCHAR#
  246. </isNotNull>
  247. <isNotNull prepend="," property="wc">
  248. #wc:VARCHAR#
  249. </isNotNull>
  250. <isNotNull prepend="," property="xfbz">
  251. #xfbz:INTEGER#
  252. </isNotNull>
  253. <isNotNull prepend="," property="xgr">
  254. #xgr:VARCHAR#
  255. </isNotNull>
  256. <isNotNull prepend="," property="xgsj">
  257. #xgsj:TIMESTAMP#
  258. </isNotNull>
  259. <isNotNull prepend="," property="zfbz">
  260. #zfbz:INTEGER#
  261. </isNotNull>
  262. )
  263. </dynamic>
  264. </insert>
  265. <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcsExample" resultClass="java.lang.Integer">
  266. <!--
  267. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  268. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  269. -->
  270. select count(*) from xt_csjlyxcs
  271. <include refid="xt_csjlyxcs.ibatorgenerated_Example_Where_Clause" />
  272. </select>
  273. <update id="ibatorgenerated_updateByExampleSelective">
  274. <!--
  275. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  276. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  277. -->
  278. update xt_csjlyxcs
  279. <dynamic prepend="set">
  280. <isNotNull prepend="," property="record.id">
  281. id = #record.id:INTEGER#
  282. </isNotNull>
  283. <isNotNull prepend="," property="record.jqid">
  284. jqid = #record.jqid:VARCHAR#
  285. </isNotNull>
  286. <isNotNull prepend="," property="record.kqys">
  287. kqys = #record.kqys:VARCHAR#
  288. </isNotNull>
  289. <isNotNull prepend="," property="record.xlsj">
  290. xlsj = #record.xlsj:VARCHAR#
  291. </isNotNull>
  292. <isNotNull prepend="," property="record.mldd">
  293. mldd = #record.mldd:VARCHAR#
  294. </isNotNull>
  295. <isNotNull prepend="," property="record.flsj">
  296. flsj = #record.flsj:VARCHAR#
  297. </isNotNull>
  298. <isNotNull prepend="," property="record.kcdd">
  299. kcdd = #record.kcdd:VARCHAR#
  300. </isNotNull>
  301. <isNotNull prepend="," property="record.cqzl">
  302. cqzl = #record.cqzl:VARCHAR#
  303. </isNotNull>
  304. <isNotNull prepend="," property="record.czzl">
  305. czzl = #record.czzl:VARCHAR#
  306. </isNotNull>
  307. <isNotNull prepend="," property="record.xdz">
  308. xdz = #record.xdz:VARCHAR#
  309. </isNotNull>
  310. <isNotNull prepend="," property="record.ddz">
  311. ddz = #record.ddz:VARCHAR#
  312. </isNotNull>
  313. <isNotNull prepend="," property="record.dqxdz">
  314. dqxdz = #record.dqxdz:VARCHAR#
  315. </isNotNull>
  316. <isNotNull prepend="," property="record.dqddz">
  317. dqddz = #record.dqddz:VARCHAR#
  318. </isNotNull>
  319. <isNotNull prepend="," property="record.xmcs">
  320. xmcs = #record.xmcs:VARCHAR#
  321. </isNotNull>
  322. <isNotNull prepend="," property="record.dmcs">
  323. dmcs = #record.dmcs:VARCHAR#
  324. </isNotNull>
  325. <isNotNull prepend="," property="record.slgcsj">
  326. slgcsj = #record.slgcsj:VARCHAR#
  327. </isNotNull>
  328. <isNotNull prepend="," property="record.jyfmzl">
  329. jyfmzl = #record.jyfmzl:VARCHAR#
  330. </isNotNull>
  331. <isNotNull prepend="," property="record.wc">
  332. wc = #record.wc:VARCHAR#
  333. </isNotNull>
  334. <isNotNull prepend="," property="record.xfbz">
  335. xfbz = #record.xfbz:INTEGER#
  336. </isNotNull>
  337. <isNotNull prepend="," property="record.xgr">
  338. xgr = #record.xgr:VARCHAR#
  339. </isNotNull>
  340. <isNotNull prepend="," property="record.xgsj">
  341. xgsj = #record.xgsj:TIMESTAMP#
  342. </isNotNull>
  343. <isNotNull prepend="," property="record.zfbz">
  344. zfbz = #record.zfbz:INTEGER#
  345. </isNotNull>
  346. </dynamic>
  347. <isParameterPresent>
  348. <include refid="xt_csjlyxcs.ibatorgenerated_Example_Where_Clause" />
  349. </isParameterPresent>
  350. </update>
  351. <update id="ibatorgenerated_updateByExample">
  352. <!--
  353. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  354. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  355. -->
  356. update xt_csjlyxcs
  357. set id = #record.id:INTEGER#,
  358. jqid = #record.jqid:VARCHAR#,
  359. kqys = #record.kqys:VARCHAR#,
  360. xlsj = #record.xlsj:VARCHAR#,
  361. mldd = #record.mldd:VARCHAR#,
  362. flsj = #record.flsj:VARCHAR#,
  363. kcdd = #record.kcdd:VARCHAR#,
  364. cqzl = #record.cqzl:VARCHAR#,
  365. czzl = #record.czzl:VARCHAR#,
  366. xdz = #record.xdz:VARCHAR#,
  367. ddz = #record.ddz:VARCHAR#,
  368. dqxdz = #record.dqxdz:VARCHAR#,
  369. dqddz = #record.dqddz:VARCHAR#,
  370. xmcs = #record.xmcs:VARCHAR#,
  371. dmcs = #record.dmcs:VARCHAR#,
  372. slgcsj = #record.slgcsj:VARCHAR#,
  373. jyfmzl = #record.jyfmzl:VARCHAR#,
  374. wc = #record.wc:VARCHAR#,
  375. xfbz = #record.xfbz:INTEGER#,
  376. xgr = #record.xgr:VARCHAR#,
  377. xgsj = #record.xgsj:TIMESTAMP#,
  378. zfbz = #record.zfbz:INTEGER#
  379. <isParameterPresent>
  380. <include refid="xt_csjlyxcs.ibatorgenerated_Example_Where_Clause" />
  381. </isParameterPresent>
  382. </update>
  383. <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcs">
  384. <!--
  385. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  386. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  387. -->
  388. update xt_csjlyxcs
  389. <dynamic prepend="set">
  390. <isNotNull prepend="," property="jqid">
  391. jqid = #jqid:VARCHAR#
  392. </isNotNull>
  393. <isNotNull prepend="," property="kqys">
  394. kqys = #kqys:VARCHAR#
  395. </isNotNull>
  396. <isNotNull prepend="," property="xlsj">
  397. xlsj = #xlsj:VARCHAR#
  398. </isNotNull>
  399. <isNotNull prepend="," property="mldd">
  400. mldd = #mldd:VARCHAR#
  401. </isNotNull>
  402. <isNotNull prepend="," property="flsj">
  403. flsj = #flsj:VARCHAR#
  404. </isNotNull>
  405. <isNotNull prepend="," property="kcdd">
  406. kcdd = #kcdd:VARCHAR#
  407. </isNotNull>
  408. <isNotNull prepend="," property="cqzl">
  409. cqzl = #cqzl:VARCHAR#
  410. </isNotNull>
  411. <isNotNull prepend="," property="czzl">
  412. czzl = #czzl:VARCHAR#
  413. </isNotNull>
  414. <isNotNull prepend="," property="xdz">
  415. xdz = #xdz:VARCHAR#
  416. </isNotNull>
  417. <isNotNull prepend="," property="ddz">
  418. ddz = #ddz:VARCHAR#
  419. </isNotNull>
  420. <isNotNull prepend="," property="dqxdz">
  421. dqxdz = #dqxdz:VARCHAR#
  422. </isNotNull>
  423. <isNotNull prepend="," property="dqddz">
  424. dqddz = #dqddz:VARCHAR#
  425. </isNotNull>
  426. <isNotNull prepend="," property="xmcs">
  427. xmcs = #xmcs:VARCHAR#
  428. </isNotNull>
  429. <isNotNull prepend="," property="dmcs">
  430. dmcs = #dmcs:VARCHAR#
  431. </isNotNull>
  432. <isNotNull prepend="," property="slgcsj">
  433. slgcsj = #slgcsj:VARCHAR#
  434. </isNotNull>
  435. <isNotNull prepend="," property="jyfmzl">
  436. jyfmzl = #jyfmzl:VARCHAR#
  437. </isNotNull>
  438. <isNotNull prepend="," property="wc">
  439. wc = #wc:VARCHAR#
  440. </isNotNull>
  441. <isNotNull prepend="," property="xfbz">
  442. xfbz = #xfbz:INTEGER#
  443. </isNotNull>
  444. <isNotNull prepend="," property="xgr">
  445. xgr = #xgr:VARCHAR#
  446. </isNotNull>
  447. <isNotNull prepend="," property="xgsj">
  448. xgsj = #xgsj:TIMESTAMP#
  449. </isNotNull>
  450. <isNotNull prepend="," property="zfbz">
  451. zfbz = #zfbz:INTEGER#
  452. </isNotNull>
  453. </dynamic>
  454. where id = #id:INTEGER#
  455. </update>
  456. <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.xt.dataobject.XtCsjlyxcs">
  457. <!--
  458. WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
  459. This element was generated on Wed Aug 02 16:54:31 CST 2017.
  460. -->
  461. update xt_csjlyxcs
  462. set jqid = #jqid:VARCHAR#,
  463. kqys = #kqys:VARCHAR#,
  464. xlsj = #xlsj:VARCHAR#,
  465. mldd = #mldd:VARCHAR#,
  466. flsj = #flsj:VARCHAR#,
  467. kcdd = #kcdd:VARCHAR#,
  468. cqzl = #cqzl:VARCHAR#,
  469. czzl = #czzl:VARCHAR#,
  470. xdz = #xdz:VARCHAR#,
  471. ddz = #ddz:VARCHAR#,
  472. dqxdz = #dqxdz:VARCHAR#,
  473. dqddz = #dqddz:VARCHAR#,
  474. xmcs = #xmcs:VARCHAR#,
  475. dmcs = #dmcs:VARCHAR#,
  476. slgcsj = #slgcsj:VARCHAR#,
  477. jyfmzl = #jyfmzl:VARCHAR#,
  478. wc = #wc:VARCHAR#,
  479. xfbz = #xfbz:INTEGER#,
  480. xgr = #xgr:VARCHAR#,
  481. xgsj = #xgsj:TIMESTAMP#,
  482. zfbz = #zfbz:INTEGER#
  483. where id = #id:INTEGER#
  484. </update>
  485. <select id="select.count.csjlyxcs.by.param" parameterClass="java.util.HashMap" resultClass="java.lang.Integer">
  486. select count(1) from xt_csjlyxcs cs,(select mc.mcmc,zs.zsmc,jq.jqid,zs.id zsid from da_zsda zs,da_mcda mc,da_jqda jq where jq.zsid = zs.id and zs.mcid = mc.id and jq.zfbz = 0 and mc.zfbz = 0 and zs.zfbz = 0) t
  487. where t.jqid = cs.jqid and cs.zfbz = 0
  488. <isNotNull prepend="and" property="jqid">
  489. cs.jqid = #jqid#
  490. </isNotNull>
  491. <isNotNull prepend="and" property="zsid">
  492. t.zsid = #zsid#
  493. </isNotNull>
  494. </select>
  495. <select id="select.csjlyxcs.by.param" parameterClass="java.util.HashMap" resultClass="com.huimv.xt.dataobject.XtCsjlyxcs">
  496. select cs.*,t.mcmc,t.zsmc from xt_csjlyxcs cs,(select mc.mcmc,zs.zsmc,jq.jqid,zs.id zsid from da_zsda zs,da_mcda mc,da_jqda jq where jq.zsid = zs.id and zs.mcid = mc.id and jq.zfbz = 0 and mc.zfbz = 0 and zs.zfbz = 0) t
  497. where t.jqid = cs.jqid and cs.zfbz = 0
  498. <isNotNull prepend="and" property="jqid">
  499. cs.jqid = #jqid#
  500. </isNotNull>
  501. <isNotNull prepend="and" property="zsid">
  502. t.zsid = #zsid#
  503. </isNotNull>
  504. <isNotNull prepend="and" property="id">
  505. cs.id = #id#
  506. </isNotNull>
  507. <dynamic prepend="order by">
  508. <isNotEmpty property="order">$order$</isNotEmpty>
  509. </dynamic>
  510. <dynamic prepend="limit">
  511. <isNotEmpty property="limit">$limit$</isNotEmpty>
  512. </dynamic>
  513. </select>
  514. </sqlMap>