Guiji_Funeral_Mapper2.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
  3. <mapper namespace="com.sooka.mapper.Guiji_Funeral_Mapper2">
  4. <sql id="global_name">
  5. id,create_time,cd_time,cd_batch,cd_operation,cd_source,
  6. </sql>
  7. <sql id="global_value">
  8. #{id},now(),#{cd_time},#{cd_batch},#{cd_operation},#{cd_source},
  9. </sql>
  10. <sql id="update_sql">
  11. create_time = now(),cd_batch = #{cd_batch},cd_operation = #{cd_operation},cd_source =#{cd_source},
  12. </sql>
  13. <insert id="add_guiji_funeral" parameterType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean">
  14. insert into t_guiji_funeral_the_dead (
  15. <include refid="global_name"></include>
  16. BNO,DNAME,DSFZH,DSEX,DMZ,DAGE,BIRTH,DHJLY,DXZQH,ADDRESS,DTIME,DREASON,DADDRESS,
  17. HHSJ,RELATIONSHIP,LINKMAN,LINKMANPHONE,LINKMANADDRESS,OPERTM,OPERID,OPERDW)
  18. values (
  19. <include refid="global_value"></include>
  20. #{BNO},#{DNAME},#{DSFZH},#{DSEX},#{DMZ},#{DAGE},#{BIRTH},#{DHJLY},#{DXZQH},#{ADDRESS},
  21. #{DTIME},#{DREASON},#{DADDRESS},#{HHSJ},#{RELATIONSHIP},#{LINKMAN},#{LINKMANPHONE},
  22. #{LINKMANADDRESS},#{OPERTM},#{OPERID},#{OPERDW}
  23. )
  24. </insert>
  25. <update id="update_guiji_funeral" parameterType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean">
  26. update t_guiji_funeral_the_dead
  27. <trim prefix="SET" suffixOverrides=",">
  28. <include refid="update_sql"></include>
  29. <if test="BNO != null and BNO != ''">
  30. BNO = #{BNO},
  31. </if>
  32. <if test="DNAME != null and DNAME != ''">
  33. DSFZH = #{DSFZH},
  34. </if>
  35. <if test="DSEX != null and DSEX != ''">
  36. DSEX = #{DSEX},
  37. </if>
  38. <if test="DMZ != null and DMZ != ''">
  39. DMZ = #{DMZ},
  40. </if>
  41. <if test="DAGE != null and DAGE != ''">
  42. DAGE = #{DAGE},
  43. </if>
  44. <if test="BIRTH != null and BIRTH != ''">
  45. BIRTH = #{BIRTH},
  46. </if>
  47. <if test="DHJLY != null and DHJLY != ''">
  48. DHJLY = #{DHJLY},
  49. </if>
  50. <if test="DXZQH != null and DXZQH != ''">
  51. DXZQH = #{DXZQH},
  52. </if>
  53. <if test="ADDRESS != null and ADDRESS != ''">
  54. ADDRESS = #{ADDRESS},
  55. </if>
  56. <if test="DTIME != null and DTIME != ''">
  57. DTIME = #{DTIME},
  58. </if>
  59. <if test="DREASON != null and DREASON != ''">
  60. DREASON = #{DREASON},
  61. </if>
  62. <if test="HHSJ != null and HHSJ != ''">
  63. HHSJ = #{HHSJ},
  64. </if>
  65. <if test="DADDRESS != null and DADDRESS != ''">
  66. DADDRESS = #{DADDRESS},
  67. </if>
  68. <if test="RELATIONSHIP != null and RELATIONSHIP != ''">
  69. RELATIONSHIP = #{RELATIONSHIP},
  70. </if>
  71. <if test="LINKMAN != null and LINKMAN != ''">
  72. LINKMAN = #{LINKMAN},
  73. </if>
  74. <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
  75. LINKMANPHONE = #{LINKMANPHONE},
  76. </if>
  77. <if test="LINKMANADDRESS != null and LINKMANADDRESS != ''">
  78. LINKMANADDRESS = #{LINKMANADDRESS},
  79. </if>
  80. <if test="OPERTM != null and OPERTM != ''">
  81. OPERTM = #{OPERTM},
  82. </if>
  83. <if test="OPERID != null and OPERID != ''">
  84. OPERID = #{OPERID},
  85. </if>
  86. <if test="OPERDW != null and OPERDW != ''">
  87. OPERDW = #{OPERDW},
  88. </if>
  89. </trim>
  90. where id=#{id}
  91. </update>
  92. <insert id="add_guiji_funeral2" parameterType="com.sooka.model.bo.Guiji_funeral2_pay_Bean">
  93. insert into t_guiji_funeral_pay (
  94. <include refid="global_name"></include>
  95. BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LINKMAN, LINKMANPHONE, JMTYPE, NO, ITEMTYPE, ITEMNAME, PRICE, ITEMCOUNT, SUMMONEY, OPERTM, OPERID, OPERDW)
  96. values (
  97. <include refid="global_value"></include>
  98. #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{LINKMAN}, #{LINKMANPHONE}, #{JMTYPE}, #{NO}, #{ITEMTYPE}, #{ITEMNAME}, #{PRICE}, #{ITEMCOUNT}, #{SUMMONEY}, #{OPERTM}, #{OPERID}, #{OPERDW})
  99. </insert>
  100. <update id="update_guiji_funeral2" parameterType="com.sooka.model.bo.Guiji_funeral2_pay_Bean">
  101. update t_guiji_funeral_pay
  102. <trim prefix="SET" suffixOverrides=",">
  103. <include refid="update_sql"></include>
  104. <if test="BNO != null and BNO != ''">
  105. BNO = #{BNO},
  106. </if>
  107. <if test="DNAME != null and DNAME != ''">
  108. DNAME = #{DNAME},
  109. </if>
  110. <if test="DSEX != null and DSEX != ''">
  111. DSEX = #{DSEX},
  112. </if>
  113. <if test="DAGE != null and DAGE != ''">
  114. DAGE = #{DAGE},
  115. </if>
  116. <if test="DMZ != null and DMZ != ''">
  117. DMZ = #{DMZ},
  118. </if>
  119. <if test="DSFZH != null and DSFZH != ''">
  120. DSFZH = #{DSFZH},
  121. </if>
  122. <if test="ADDRESS != null and ADDRESS != ''">
  123. ADDRESS = #{ADDRESS},
  124. </if>
  125. <if test="DTIME != null and DTIME != ''">
  126. DTIME = #{DTIME},
  127. </if>
  128. <if test="LINKMAN != null and LINKMAN != ''">
  129. LINKMAN = #{LINKMAN},
  130. </if>
  131. <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
  132. LINKMANPHONE = #{LINKMANPHONE},
  133. </if>
  134. <if test="JMTYPE != null and JMTYPE != ''">
  135. JMTYPE = #{JMTYPE},
  136. </if>
  137. <if test="NO != null and NO != ''">
  138. NO = #{NO},
  139. </if>
  140. <if test="ITEMTYPE != null and ITEMTYPE != ''">
  141. ITEMTYPE = #{ITEMTYPE},
  142. </if>
  143. <if test="ITEMNAME != null and ITEMNAME != ''">
  144. ITEMNAME = #{ITEMNAME},
  145. </if>
  146. <if test="PRICE != null and PRICE != ''">
  147. PRICE = #{PRICE},
  148. </if>
  149. <if test="ITEMCOUNT != null and ITEMCOUNT != ''">
  150. ITEMCOUNT = #{ITEMCOUNT},
  151. </if>
  152. <if test="SUMMONEY != null and SUMMONEY != ''">
  153. SUMMONEY = #{SUMMONEY},
  154. </if>
  155. <if test="OPERTM != null and OPERTM != ''">
  156. OPERTM = #{OPERTM},
  157. </if>
  158. <if test="OPERID != null and OPERID != ''">
  159. OPERID = #{OPERID},
  160. </if>
  161. <if test="OPERDW != null and OPERDW != ''">
  162. OPERDW = #{OPERDW},
  163. </if>
  164. </trim>
  165. where id = #{id}
  166. </update>
  167. <insert id="add_guiji_funeral3" parameterType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean">
  168. insert into t_guiji_funeral_freeze (
  169. <include refid="global_name"></include>
  170. BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LCJNAME, STARTTM, ENDTM, DAYS, JSMONEY, YJMONEY, LINKMAN, LINKMANPHONE, OPERTM, OPERID, OPERDW)
  171. values (
  172. <include refid="global_value"></include>
  173. #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{LCJNAME}, #{STARTTM}, #{ENDTM}, #{DAYS}, #{JSMONEY}, #{YJMONEY}, #{LINKMAN}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
  174. </insert>
  175. <update id="update_guiji_funeral3" parameterType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean">
  176. update t_guiji_funeral_freeze
  177. <trim prefix="SET" suffixOverrides=",">
  178. <include refid="update_sql"></include>
  179. <if test="BNO != null and BNO != ''">
  180. BNO = #{BNO},
  181. </if>
  182. <if test="DNAME != null and DNAME != ''">
  183. DNAME = #{DNAME},
  184. </if>
  185. <if test="DSEX != null and DSEX != ''">
  186. DSEX = #{DSEX},
  187. </if>
  188. <if test="DAGE != null and DAGE != ''">
  189. DAGE = #{DAGE},
  190. </if>
  191. <if test="DMZ != null and DMZ != ''">
  192. DMZ = #{DMZ},
  193. </if>
  194. <if test="DSFZH != null and DSFZH != ''">
  195. DSFZH = #{DSFZH},
  196. </if>
  197. <if test="ADDRESS != null and ADDRESS != ''">
  198. ADDRESS = #{ADDRESS},
  199. </if>
  200. <if test="DTIME != null and DTIME != ''">
  201. DTIME = #{DTIME},
  202. </if>
  203. <if test="LCJNAME != null and LCJNAME != ''">
  204. LCJNAME = #{LCJNAME},
  205. </if>
  206. <if test="STARTTM != null and STARTTM != ''">
  207. STARTTM = #{STARTTM},
  208. </if>
  209. <if test="ENDTM != null and ENDTM != ''">
  210. ENDTM = #{ENDTM},
  211. </if>
  212. <if test="DAYS != null and DAYS != ''">
  213. DAYS = #{DAYS},
  214. </if>
  215. <if test="JSMONEY != null and JSMONEY != ''">
  216. JSMONEY = #{JSMONEY},
  217. </if>
  218. <if test="YJMONEY != null and YJMONEY != ''">
  219. YJMONEY = #{YJMONEY},
  220. </if>
  221. <if test="LINKMAN != null and LINKMAN != ''">
  222. LINKMAN = #{LINKMAN},
  223. </if>
  224. <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
  225. LINKMANPHONE = #{LINKMANPHONE},
  226. </if>
  227. <if test="OPERTM != null and OPERTM != ''">
  228. OPERTM = #{OPERTM},
  229. </if>
  230. <if test="OPERID != null and OPERID != ''">
  231. OPERID = #{OPERID},
  232. </if>
  233. <if test="OPERDW != null and OPERDW != ''">
  234. OPERDW = #{OPERDW},
  235. </if>
  236. </trim>
  237. where id = #{id}
  238. </update>
  239. <insert id="add_guiji_funeral4" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
  240. insert into t_guiji_funeral_ashes_storage (
  241. <include refid="global_name"></include>
  242. BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, STARTTM, ENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW)
  243. values (
  244. <include refid="global_value"></include>
  245. #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGNAME}, #{STARTTM}, #{ENDTM}, #{LINKMAN}, #{LINKMANSFZH}, #{RELATIONSHIP}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
  246. </insert>
  247. <update id="update_guiji_funeral4" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
  248. update t_guiji_funeral_ashes_storage
  249. <trim prefix="SET" suffixOverrides=",">
  250. <include refid="update_sql"></include>
  251. <if test="BNO != null and BNO != ''">
  252. BNO = #{BNO},
  253. </if>
  254. <if test="DNAME != null and DNAME != ''">
  255. DNAME = #{DNAME},
  256. </if>
  257. <if test="DSEX != null and DSEX != ''">
  258. DSEX = #{DSEX},
  259. </if>
  260. <if test="DAGE != null and DAGE != ''">
  261. DAGE = #{DAGE},
  262. </if>
  263. <if test="DMZ != null and DMZ != ''">
  264. DMZ = #{DMZ},
  265. </if>
  266. <if test="DSFZH != null and DSFZH != ''">
  267. DSFZH = #{DSFZH},
  268. </if>
  269. <if test="ADDRESS != null and ADDRESS != ''">
  270. ADDRESS = #{ADDRESS},
  271. </if>
  272. <if test="DTIME != null and DTIME != ''">
  273. DTIME = #{DTIME},
  274. </if>
  275. <if test="JCGNAME != null and JCGNAME != ''">
  276. JCGNAME = #{JCGNAME},
  277. </if>
  278. <if test="STARTTM != null and STARTTM != ''">
  279. STARTTM = #{STARTTM},
  280. </if>
  281. <if test="ENDTM != null and ENDTM != ''">
  282. ENDTM = #{ENDTM},
  283. </if>
  284. <if test="LINKMAN != null and LINKMAN != ''">
  285. LINKMAN = #{LINKMAN},
  286. </if>
  287. <if test="LINKMANSFZH != null and LINKMANSFZH != ''">
  288. LINKMANSFZH = #{LINKMANSFZH},
  289. </if>
  290. <if test="RELATIONSHIP != null and RELATIONSHIP != ''">
  291. RELATIONSHIP = #{RELATIONSHIP},
  292. </if>
  293. <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
  294. LINKMANPHONE = #{LINKMANPHONE},
  295. </if>
  296. <if test="OPERTM != null and OPERTM != ''">
  297. OPERTM = #{OPERTM},
  298. </if>
  299. <if test="OPERID != null and OPERID != ''">
  300. OPERID = #{OPERID},
  301. </if>
  302. <if test="OPERDW != null and OPERDW != ''">
  303. OPERDW = #{OPERDW},
  304. </if>
  305. </trim>
  306. where id = #{id}
  307. </update>
  308. <insert id="add_guiji_funeral5" parameterType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean">
  309. insert into t_guiji_funeral_ashes_renew (
  310. <include refid="global_name"></include>
  311. BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, XCSTARTTM, XCENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW)
  312. values (
  313. <include refid="global_value"></include>
  314. #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGNAME}, #{XCSTARTTM}, #{XCENDTM}, #{LINKMAN}, #{LINKMANSFZH}, #{RELATIONSHIP}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
  315. </insert>
  316. <update id="update_guiji_funeral5" parameterType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean">
  317. update t_guiji_funeral_ashes_renew
  318. <trim prefix="SET" suffixOverrides=",">
  319. <include refid="update_sql"></include>
  320. <if test="BNO != null and BNO != ''">
  321. BNO = #{BNO},
  322. </if>
  323. <if test="DNAME != null and DNAME != ''">
  324. DNAME = #{DNAME},
  325. </if>
  326. <if test="DSEX != null and DSEX != ''">
  327. DSEX = #{DSEX},
  328. </if>
  329. <if test="DAGE != null and DAGE != ''">
  330. DAGE = #{DAGE},
  331. </if>
  332. <if test="DMZ != null and DMZ != ''">
  333. DMZ = #{DMZ},
  334. </if>
  335. <if test="DSFZH != null and DSFZH != ''">
  336. DSFZH = #{DSFZH},
  337. </if>
  338. <if test="ADDRESS != null and ADDRESS != ''">
  339. ADDRESS = #{ADDRESS},
  340. </if>
  341. <if test="DTIME != null and DTIME != ''">
  342. DTIME = #{DTIME},
  343. </if>
  344. <if test="JCGNAME != null and JCGNAME != ''">
  345. JCGNAME = #{JCGNAME},
  346. </if>
  347. <if test="XCSTARTTM != null and XCSTARTTM != ''">
  348. XCSTARTTM = #{XCSTARTTM},
  349. </if>
  350. <if test="XCENDTM != null and XCENDTM != ''">
  351. XCENDTM = #{XCENDTM},
  352. </if>
  353. <if test="LINKMAN != null and LINKMAN != ''">
  354. LINKMAN = #{LINKMAN},
  355. </if>
  356. <if test="LINKMANSFZH != null and LINKMANSFZH != ''">
  357. LINKMANSFZH = #{LINKMANSFZH},
  358. </if>
  359. <if test="RELATIONSHIP != null and RELATIONSHIP != ''">
  360. RELATIONSHIP = #{RELATIONSHIP},
  361. </if>
  362. <if test="LINKMANPHONE != null and LINKMANPHONE != ''">
  363. LINKMANPHONE = #{LINKMANPHONE},
  364. </if>
  365. <if test="OPERTM != null and OPERTM != ''">
  366. OPERTM = #{OPERTM},
  367. </if>
  368. <if test="OPERID != null and OPERID != ''">
  369. OPERID = #{OPERID},
  370. </if>
  371. <if test="OPERDW != null and OPERDW != ''">
  372. OPERDW = #{OPERDW},
  373. </if>
  374. <if test="DSFZH != null and DSFZH != ''">
  375. DSFZH = #{DSFZH},
  376. </if>
  377. </trim>
  378. where id = #{id}
  379. </update>
  380. <insert id="add_guiji_funeral6" parameterType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean">
  381. insert into t_guiji_funeral_ashes_remove (
  382. <include refid="global_name"></include>
  383. BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGCODE, JCGNAME, JCPRICE, STARTTM, GETQZTM, GETMAN, GETMANSFZH, GETRLP, GETMANPHONE, OPERTM, OPERID, OPERDW)
  384. values (
  385. <include refid="global_value"></include>
  386. #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGCODE}, #{JCGNAME}, #{JCPRICE}, #{STARTTM}, #{GETQZTM}, #{GETMAN}, #{GETMANSFZH}, #{GETRLP}, #{GETMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})
  387. </insert>
  388. <update id="update_guiji_funeral6" parameterType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean">
  389. update t_guiji_funeral_ashes_remove
  390. <trim prefix="SET" suffixOverrides=",">
  391. <include refid="update_sql"></include>
  392. <if test="BNO != null and BNO != ''">
  393. BNO = #{BNO},
  394. </if>
  395. <if test="DNAME != null and DNAME != ''">
  396. DNAME = #{DNAME},
  397. </if>
  398. <if test="DSEX != null and DSEX != ''">
  399. DSEX = #{DSEX},
  400. </if>
  401. <if test="DAGE != null and DAGE != ''">
  402. DAGE = #{DAGE},
  403. </if>
  404. <if test="DMZ != null and DMZ != ''">
  405. DMZ = #{DMZ},
  406. </if>
  407. <if test="DSFZH != null and DSFZH != ''">
  408. DSFZH = #{DSFZH},
  409. </if>
  410. <if test="ADDRESS != null and ADDRESS != ''">
  411. ADDRESS = #{ADDRESS},
  412. </if>
  413. <if test="DTIME != null and DTIME != ''">
  414. DTIME = #{DTIME},
  415. </if>
  416. <if test="JCGCODE != null and JCGCODE != ''">
  417. JCGCODE = #{JCGCODE},
  418. </if>
  419. <if test="JCGNAME != null and JCGNAME != ''">
  420. JCGNAME = #{JCGNAME},
  421. </if>
  422. <if test="JCPRICE != null and JCPRICE != ''">
  423. JCPRICE = #{JCPRICE},
  424. </if>
  425. <if test="STARTTM != null and STARTTM != ''">
  426. STARTTM = #{STARTTM},
  427. </if>
  428. <if test="GETQZTM != null and GETQZTM != ''">
  429. GETQZTM = #{GETQZTM},
  430. </if>
  431. <if test="GETMAN != null and GETMAN != ''">
  432. GETMAN = #{GETMAN},
  433. </if>
  434. <if test="GETMANSFZH != null and GETMANSFZH != ''">
  435. GETMANSFZH = #{GETMANSFZH},
  436. </if>
  437. <if test="GETRLP != null and GETRLP != ''">
  438. GETRLP = #{GETRLP},
  439. </if>
  440. <if test="GETMANPHONE != null and GETMANPHONE != ''">
  441. GETMANPHONE = #{GETMANPHONE},
  442. </if>
  443. <if test="OPERTM != null and OPERTM != ''">
  444. OPERTM = #{OPERTM},
  445. </if>
  446. <if test="OPERID != null and OPERID != ''">
  447. OPERID = #{OPERID},
  448. </if>
  449. <if test="OPERDW != null and OPERDW != ''">
  450. OPERDW = #{OPERDW},
  451. </if>
  452. <if test="DSFZH != null and DSFZH != ''">
  453. DSFZH = #{DSFZH},
  454. </if>
  455. </trim>
  456. where id = #{id}
  457. </update>
  458. <select id="select_funeral_the_dead" resultType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean" parameterType="com.sooka.model.bo.Guiji_funeral1_the_dead_Bean">
  459. select id, BNO,DNAME,DSFZH,DSEX,DMZ,DAGE,BIRTH,DHJLY,DXZQH,ADDRESS,DTIME,DREASON,DADDRESS, HHSJ,RELATIONSHIP,LINKMAN,LINKMANPHONE,LINKMANADDRESS,OPERTM,OPERID,OPERDW from t_guiji_funeral_the_dead
  460. where 1=1
  461. <if test="DNAME != null and DNAME != ''">
  462. and DNAME = #{DNAME}
  463. </if>
  464. <if test="DSFZH != null and DSFZH != ''">
  465. and DSFZH = #{DSFZH}
  466. </if>
  467. </select>
  468. <select id="select_funeral_pay" resultType="com.sooka.model.bo.Guiji_funeral2_pay_Bean" parameterType="com.sooka.model.bo.Guiji_funeral2_pay_Bean">
  469. select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LINKMAN, LINKMANPHONE, JMTYPE, NO, ITEMTYPE, ITEMNAME, PRICE, ITEMCOUNT, SUMMONEY, OPERTM, OPERID, OPERDW from t_guiji_funeral_pay
  470. where 1=1
  471. <if test="DNAME != null and DNAME != ''">
  472. and DNAME = #{DNAME}
  473. </if>
  474. <if test="DSFZH != null and DSFZH != ''">
  475. and DSFZH = #{DSFZH}
  476. </if>
  477. </select>
  478. <select id="select_funeral_freeze" resultType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean" parameterType="com.sooka.model.bo.Guiji_funeral3_freeze_Bean">
  479. select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, LCJNAME, STARTTM, ENDTM, DAYS, JSMONEY, YJMONEY, LINKMAN, LINKMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_freeze
  480. where 1=1
  481. <if test="DNAME != null and DNAME != ''">
  482. and DNAME = #{DNAME}
  483. </if>
  484. <if test="DSFZH != null and DSFZH != ''">
  485. and DSFZH = #{DSFZH}
  486. </if>
  487. </select>
  488. <select id="select_funeral_ashes_storage" resultType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
  489. select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, STARTTM, ENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_ashes_storage
  490. where 1=1
  491. <if test="DNAME != null and DNAME != ''">
  492. and DNAME = #{DNAME}
  493. </if>
  494. <if test="DSFZH != null and DSFZH != ''">
  495. and DSFZH = #{DSFZH}
  496. </if>
  497. </select>
  498. <select id="select_funeral_ashes_renew" resultType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean" parameterType="com.sooka.model.bo.Guiji_funeral5_ashes_renew_Bean">
  499. select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, XCSTARTTM, XCENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_ashes_renew
  500. where 1=1
  501. <if test="DNAME != null and DNAME != ''">
  502. and DNAME = #{DNAME}
  503. </if>
  504. <if test="DSFZH != null and DSFZH != ''">
  505. and DSFZH = #{DSFZH}
  506. </if>
  507. </select>
  508. <select id="select_funeral_ashes_remove" resultType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean" parameterType="com.sooka.model.bo.Guiji_funeral6_ashes_remove_Bean">
  509. select id, BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGCODE, JCGNAME, JCPRICE, STARTTM, GETQZTM, GETMAN, GETMANSFZH, GETRLP, GETMANPHONE, OPERTM, OPERID, OPERDW from t_guiji_funeral_ashes_remove
  510. where 1=1
  511. <if test="DNAME != null and DNAME != ''">
  512. and DNAME = #{DNAME}
  513. </if>
  514. <if test="DSFZH != null and DSFZH != ''">
  515. and DSFZH = #{DSFZH}
  516. </if>
  517. </select>
  518. </mapper>