ZsyzSbbzbMapper.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.ruoyi.system.mapper.projectV2.ZsyzSbbzbMapper">
  6. <resultMap type="ZsyzSbbzb" id="ZsyzSbbzbResult">
  7. <result property="id" column="id"/>
  8. <result property="sbdw" column="sbdw"/>
  9. <result property="tbrq" column="tbrq"/>
  10. <result property="zszxfzr" column="zszxfzr"/>
  11. <result property="xmbh" column="xmbh"/>
  12. <result property="xmxsmc" column="xmxsmc"/>
  13. <result property="sfwlhxxxm" column="sfwlhxxxm"/>
  14. <result property="yzdqId" column="yzdq_id"/>
  15. <result property="yzdqName" column="yzdq_name"/>
  16. <result property="yzssName" column="yzss_name"/>
  17. <result property="ntze" column="ntze"/>
  18. <result property="cylxId" column="cylx_id"/>
  19. <result property="cylxName" column="cylx_name"/>
  20. <result property="xmlb" column="xmlb"/>
  21. <result property="tzlb" column="tzlb"/>
  22. <result property="nlhd" column="nlhd"/>
  23. <result property="czpt" column="czpt"/>
  24. <result property="tzzt" column="tzzt"/>
  25. <result property="xmjz" column="xmjz"/>
  26. <result property="gtzzrsfzhm" column="gtzzrsfzhm"/>
  27. <result property="qytzrxyzdm" column="qytzrxyzdm"/>
  28. <result property="qybj" column="qybj"/>
  29. <result property="tzfjj" column="tzfjj"/>
  30. <result property="sndxse" column="sndxse"/>
  31. <result property="sndnse" column="sndnse"/>
  32. <result property="tzrxm" column="tzrxm"/>
  33. <result property="tzrzw" column="tzrzw"/>
  34. <result property="tzrdh" column="tzrdh"/>
  35. <result property="xmjj" column="xmjj"/>
  36. <result property="name" column="name"/>
  37. <result property="strq" column="strq"/>
  38. <result property="phone" column="phone"/>
  39. <result property="zw" column="zw"/>
  40. <result property="userId" column="user_id"/>
  41. <result property="createBy" column="create_by"/>
  42. <result property="type" column="type"/>
  43. <result property="progress" column="progress"/>
  44. <result property="deptId" column="dept_id"/>
  45. <result property="createTime" column="create_time"/>
  46. <result property="updateBy" column="update_by"/>
  47. <result property="isDel" column="is_del"/>
  48. <result property="updateTime" column="update_time"/>
  49. <result property="remark" column="remark"/>
  50. <result property="cjdId" column="cjd_id"/>
  51. <result property="cjdName" column="cjd_name"/>
  52. <result property="isMeet" column="is_meet"/>
  53. <result property="meetRemark" column="meet_remark"/>
  54. <association property="zsyzQyxx" javaType="ZsyzQyxx" resultMap="ZsyzQyxxResult" />
  55. <association property="zsyzKgxx" javaType="ZsyzKgxx" resultMap="ZsyzKgxxResult" />
  56. <association property="zsyzTcxx" javaType="ZsyzTcxx" resultMap="ZsyzTcxxResult" />
  57. </resultMap>
  58. <!--签约信息-->
  59. <resultMap type="ZsyzQyxx" id="ZsyzQyxxResult">
  60. <result property="id" column="id" />
  61. <result property="xmId" column="xm_id" />
  62. <result property="xmbh" column="xmbh" />
  63. <result property="xmmc" column="xmmc" />
  64. <result property="dfqyr" column="dfqyr" />
  65. <result property="wfqyr" column="wfqyr" />
  66. <result property="tbrq" column="tbrq" />
  67. <result property="qyrq" column="qyrq" />
  68. <result property="xytze" column="xytze" />
  69. <result property="swzj" column="swzj" />
  70. <result property="gdzctze" column="gdzctze" />
  71. <result property="qygjrsjh" column="qygjrsjh" />
  72. <result property="xmszd" column="xmszd" />
  73. <result property="sshy" column="sshy" />
  74. <result property="tzfs" column="tzfs" />
  75. <result property="jsfs" column="jsfs" />
  76. <result property="sfys" column="sfys" />
  77. <result property="jsnr" column="jsnr" />
  78. <result property="ydmj" column="ydmj" />
  79. <result property="zcqymc" column="zcqymc" />
  80. <result property="zcrq" column="zcrq" />
  81. <result property="zczb" column="zczb" />
  82. <result property="frdb" column="frdb" />
  83. <result property="lxfs" column="lxfs" />
  84. <result property="jyfw" column="jyfw" />
  85. <result property="lxrq" column="lxrq" />
  86. <result property="nkgrq" column="nkgrq" />
  87. <result property="path" column="path" />
  88. <result property="createBy" column="create_by" />
  89. <result property="createTime" column="create_time" />
  90. <result property="updateBy" column="update_by" />
  91. <result property="updateTime" column="update_time" />
  92. <result property="remark" column="remark" />
  93. </resultMap>
  94. <!--开工信息-->
  95. <resultMap type="ZsyzKgxx" id="ZsyzKgxxResult">
  96. <result property="id" column="id" />
  97. <result property="xmId" column="xm_id" />
  98. <result property="xmbh" column="xmbh" />
  99. <result property="xmmc" column="xmmc" />
  100. <result property="kgrq" column="kgrq" />
  101. <result property="njgrq" column="njgrq" />
  102. <result property="sscrq" column="sscrq" />
  103. <result property="ntcsj" column="ntcsj" />
  104. <result property="rtsj" column="rtsj" />
  105. <result property="nrtsj" column="nrtsj" />
  106. <result property="kggjrsjh" column="kggjrsjh" />
  107. <result property="createBy" column="create_by" />
  108. <result property="createTime" column="create_time" />
  109. <result property="updateBy" column="update_by" />
  110. <result property="updateTime" column="update_time" />
  111. <result property="remark" column="remark" />
  112. </resultMap>
  113. <!--投产信息-->
  114. <resultMap type="ZsyzTcxx" id="ZsyzTcxxResult">
  115. <result property="id" column="id" />
  116. <result property="xmId" column="xm_id" />
  117. <result property="xmbh" column="xmbh" />
  118. <result property="xmmc" column="xmmc" />
  119. <result property="tcrq" column="tcrq" />
  120. <result property="rgsj" column="rgsj" />
  121. <result property="nrgsj" column="nrgsj" />
  122. <result property="tcgjrsjh" column="tcgjrsjh" />
  123. <result property="sjdze" column="sjdze" />
  124. <result property="ydmj" column="ydmj" />
  125. <result property="tdcr" column="tdcr" />
  126. <result property="xjcf" column="xjcf" />
  127. <result property="cftr" column="cftr" />
  128. <result property="sbqd" column="sbqd" />
  129. <result property="sbfp" column="sbfp" />
  130. <result property="sbht" column="sbht" />
  131. <result property="fkpz" column="fkpz" />
  132. <result property="zlcf" column="zlcf" />
  133. <result property="zlcftr" column="zlcftr" />
  134. <result property="zlsbqd" column="zlsbqd" />
  135. <result property="zlsbfp" column="zlsbfp" />
  136. <result property="zlsbht" column="zlsbht" />
  137. <result property="zlfkpz" column="zlfkpz" />
  138. <result property="sjss" column="sjss" />
  139. <result property="lxy" column="lxy" />
  140. <result property="jnsb" column="jnsb" />
  141. <result property="zbtr" column="zbtr" />
  142. <result property="ndsjss" column="ndsjss" />
  143. <result property="qt" column="qt" />
  144. <result property="createBy" column="create_by" />
  145. <result property="createTime" column="create_time" />
  146. <result property="updateBy" column="update_by" />
  147. <result property="updateTime" column="update_time" />
  148. <result property="remark" column="remark" />
  149. </resultMap>
  150. <sql id="selectZsyzSbbzbVo">
  151. select id, sbdw, tbrq, zszxfzr, xmbh, xmxsmc, sfwlhxxxm, yzdq_id, yzdq_name, yzss_name, ntze, cylx_id, cylx_name, xmlb, tzlb, nlhd, czpt, tzzt, xmjz, gtzzrsfzhm, qytzrxyzdm, qybj, tzfjj, sndxse, sndnse, tzrxm, tzrzw, tzrdh, xmjj, name, strq, phone, zw, user_id, create_by, type, progress, dept_id, create_time, update_by, is_del, update_time, remark, cjd_id, cjd_name, is_meet, meet_remark from zsyz_sbbzb
  152. </sql>
  153. <select id="selectZsyzSbbzbList" parameterType="ZsyzSbbzb" resultMap="ZsyzSbbzbResult">
  154. <include refid="selectZsyzSbbzbVo"/>
  155. <where>
  156. is_del = 'N'
  157. <if test="sbdw != null and sbdw != ''">and sbdw = #{sbdw}</if>
  158. <if test="tbrq != null ">and tbrq = #{tbrq}</if>
  159. <if test="zszxfzr != null and zszxfzr != ''">and zszxfzr = #{zszxfzr}</if>
  160. <if test="xmbh != null and xmbh != ''">and xmbh = #{xmbh}</if>
  161. <if test="xmxsmc != null and xmxsmc != ''">and xmxsmc = #{xmxsmc}</if>
  162. <if test="sfwlhxxxm != null and sfwlhxxxm != ''">and sfwlhxxxm = #{sfwlhxxxm}</if>
  163. <if test="yzdqId != null and yzdqId != ''">and yzdq_id = #{yzdqId}</if>
  164. <if test="yzdqName != null and yzdqName != ''">and yzdq_name like concat('%', #{yzdqName}, '%')</if>
  165. <if test="yzssName != null and yzssName != ''">and yzss_name like concat('%', #{yzssName}, '%')</if>
  166. <if test="ntze != null and ntze != ''">and ntze = #{ntze}</if>
  167. <if test="cylxId != null and cylxId != ''">and cylx_id = #{cylxId}</if>
  168. <if test="cylxName != null and cylxName != ''">and cylx_name like concat('%', #{cylxName}, '%')</if>
  169. <if test="xmlb != null and xmlb != ''">and xmlb = #{xmlb}</if>
  170. <if test="tzlb != null and tzlb != ''">and tzlb = #{tzlb}</if>
  171. <if test="nlhd != null and nlhd != ''">and nlhd = #{nlhd}</if>
  172. <if test="czpt != null and czpt != ''">and czpt = #{czpt}</if>
  173. <if test="tzzt != null and tzzt != ''">and tzzt = #{tzzt}</if>
  174. <if test="xmjz != null and xmjz != ''">and xmjz = #{xmjz}</if>
  175. <if test="gtzzrsfzhm != null and gtzzrsfzhm != ''">and gtzzrsfzhm = #{gtzzrsfzhm}</if>
  176. <if test="qytzrxyzdm != null and qytzrxyzdm != ''">and qytzrxyzdm = #{qytzrxyzdm}</if>
  177. <if test="qybj != null and qybj != ''">and qybj = #{qybj}</if>
  178. <if test="tzfjj != null and tzfjj != ''">and tzfjj = #{tzfjj}</if>
  179. <if test="sndxse != null and sndxse != ''">and sndxse = #{sndxse}</if>
  180. <if test="sndnse != null and sndnse != ''">and sndnse = #{sndnse}</if>
  181. <if test="tzrxm != null and tzrxm != ''">and tzrxm = #{tzrxm}</if>
  182. <if test="tzrzw != null and tzrzw != ''">and tzrzw = #{tzrzw}</if>
  183. <if test="tzrdh != null and tzrdh != ''">and tzrdh = #{tzrdh}</if>
  184. <if test="xmjj != null and xmjj != ''">and xmjj = #{xmjj}</if>
  185. <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if>
  186. <if test="strq != null ">and strq = #{strq}</if>
  187. <if test="phone != null and phone != ''">and phone = #{phone}</if>
  188. <if test="zw != null and zw != ''">and zw = #{zw}</if>
  189. <if test="userId != null ">and user_id = #{userId}</if>
  190. <if test="type != null and type != ''">and type = #{type}</if>
  191. <if test="progress != null and progress != ''">and progress in (#{progress}) </if>
  192. <if test="deptId != null ">and dept_id = #{deptId}</if>
  193. <if test="isDel != null and isDel != ''">and is_del = #{isDel}</if>
  194. <if test="cjdId != null ">and cjd_id = #{cjdId}</if>
  195. <if test="cjdName != null and cjdName != ''">and cjd_name like concat('%', #{cjdName}, '%')</if>
  196. <if test="isMeet != null and isMeet != ''">and is_meet = #{isMeet}</if>
  197. <if test="meetRemark != null and meetRemark != ''">and meet_remark = #{meetRemark}</if>
  198. </where>
  199. </select>
  200. <select id="selectZsyzSbbzbById" parameterType="Long" resultMap="ZsyzSbbzbResult">
  201. <include refid="selectZsyzSbbzbVo"/>
  202. where id = #{id} and is_del = 'N'
  203. </select>
  204. <select id="selectZsyzSbbzbListDc" resultType="com.ruoyi.system.domain.projectV2.ZsyzSbbzb">
  205. select s.id, s.sbdw, s.tbrq, s.zszxfzr, s.xmbh, s.xmxsmc, s.sfwlhxxxm, s.yzdq_id, s.yzdq_name, s.yzss_name, s.ntze, s.cylx_id, s.cylx_name, s.xmlb,
  206. s.tzlb, s.nlhd, s.czpt, s.tzzt, s.xmjz, s.gtzzrsfzhm, s.qytzrxyzdm, s.qybj, s.tzfjj, s.sndxse, s.sndnse, s.tzrxm, s.tzrzw, s.tzrdh, s.xmjj, s.name,
  207. s.strq, s.phone, s.zw, s.user_id, s.create_by, s.type, s.progress, s.dept_id, s.create_time, s.update_by, s.is_del, s.update_time, s.remark, s.cjd_id,
  208. s.cjd_name, s.is_meet, s.meet_remark,
  209. q.id, q.xm_id, q.xmbh, q.xmmc, q.dfqyr, q.wfqyr, q.tbrq, q.qyrq, q.xytze, q.swzj, q.gdzctze, q.qygjrsjh, q.xmszd, q.sshy, q.tzfs, q.jsfs, q.sfys, q.jsnr,
  210. q.ydmj, q.zcqymc, q.zcrq, q.zczb, q.frdb, q.lxfs, q.jyfw, q.lxrq, q.nkgrq, q.path, q.create_by, q.create_time, q.update_by, q.update_time, q.remark,
  211. k.id, k.xm_id, k.xmbh, k.xmmc, k.kgrq, k.njgrq, k.sscrq, k.ntcsj, k.rtsj, k.nrtsj, k.kggjrsjh, k.create_by, k.create_time, k.update_by,
  212. k.update_time, k.remark,
  213. t.id, t.xm_id, t.xmbh, t.xmmc, t.tcrq, t.rgsj, t.nrgsj, t.tcgjrsjh, t.sjdze, t.ydmj, t.tdcr, t.xjcf, t.cftr, t.sbqd, t.sbfp, t.sbht, t.fkpz, t.zlcf,
  214. t.zlcftr, t.zlsbqd, t.zlsbfp, t.zlsbht, t.zlfkpz, t.sjss, t.lxy, t.jnsb, t.zbtr, t.ndsjss, t.qt, t.create_by, t.create_time, t.update_by,
  215. t.update_time, t.remark
  216. from zsyz_sbbzb s
  217. left join zsyz_qyxx q on s.id = q.xm_id
  218. left join zsyz_kgxx k on s.id = k.xm_id
  219. left join zsyz_tcxx t on s.id = t.xm_id
  220. <where>
  221. s.is_del = 'N'
  222. <if test="sbdw != null and sbdw != ''">and s.sbdw = #{sbdw}</if>
  223. <if test="tbrq != null ">and s.tbrq = #{tbrq}</if>
  224. <if test="zszxfzr != null and zszxfzr != ''">and s.zszxfzr = #{zszxfzr}</if>
  225. <if test="xmbh != null and xmbh != ''">and s.xmbh = #{xmbh}</if>
  226. <if test="xmxsmc != null and xmxsmc != ''">and s.xmxsmc = #{xmxsmc}</if>
  227. <if test="sfwlhxxxm != null and sfwlhxxxm != ''">and s.sfwlhxxxm = #{sfwlhxxxm}</if>
  228. <if test="yzdqId != null and yzdqId != ''">and s.yzdq_id = #{yzdqId}</if>
  229. <if test="yzdqName != null and yzdqName != ''">and s.yzdq_name like concat('%', #{yzdqName}, '%')</if>
  230. <if test="yzssName != null and yzssName != ''">and s.yzss_name like concat('%', #{yzssName}, '%')</if>
  231. <if test="ntze != null and ntze != ''">and s.ntze = #{ntze}</if>
  232. <if test="cylxId != null and cylxId != ''">and s.cylx_id = #{cylxId}</if>
  233. <if test="cylxName != null and cylxName != ''">and s.cylx_name like concat('%', #{cylxName}, '%')</if>
  234. <if test="xmlb != null and xmlb != ''">and s.xmlb = #{xmlb}</if>
  235. <if test="tzlb != null and tzlb != ''">and s.tzlb = #{tzlb}</if>
  236. <if test="nlhd != null and nlhd != ''">and s.nlhd = #{nlhd}</if>
  237. <if test="czpt != null and czpt != ''">and s.czpt = #{czpt}</if>
  238. <if test="tzzt != null and tzzt != ''">and s.tzzt = #{tzzt}</if>
  239. <if test="xmjz != null and xmjz != ''">and s.xmjz = #{xmjz}</if>
  240. <if test="gtzzrsfzhm != null and gtzzrsfzhm != ''">and s.gtzzrsfzhm = #{gtzzrsfzhm}</if>
  241. <if test="qytzrxyzdm != null and qytzrxyzdm != ''">and s.qytzrxyzdm = #{qytzrxyzdm}</if>
  242. <if test="qybj != null and qybj != ''">and s.qybj = #{qybj}</if>
  243. <if test="tzfjj != null and tzfjj != ''">and s.tzfjj = #{tzfjj}</if>
  244. <if test="sndxse != null and sndxse != ''">and s.sndxse = #{sndxse}</if>
  245. <if test="sndnse != null and sndnse != ''">and s.sndnse = #{sndnse}</if>
  246. <if test="tzrxm != null and tzrxm != ''">and s.tzrxm = #{tzrxm}</if>
  247. <if test="tzrzw != null and tzrzw != ''">and s.tzrzw = #{tzrzw}</if>
  248. <if test="tzrdh != null and tzrdh != ''">and s.tzrdh = #{tzrdh}</if>
  249. <if test="xmjj != null and xmjj != ''">and s.xmjj = #{xmjj}</if>
  250. <if test="name != null and name != ''">and s.name like concat('%', #{name}, '%')</if>
  251. <if test="strq != null ">and s.strq = #{strq}</if>
  252. <if test="phone != null and phone != ''">and s.phone = #{phone}</if>
  253. <if test="zw != null and zw != ''">and s.zw = #{zw}</if>
  254. <if test="userId != null ">and s.user_id = #{userId}</if>
  255. <if test="type != null and type != ''">and s.type = #{type}</if>
  256. <if test="progress != null and progress != ''">and s.progress = #{progress}</if>
  257. <if test="deptId != null ">and s.dept_id = #{deptId}</if>
  258. <if test="isDel != null and isDel != ''">and s.is_del = #{isDel}</if>
  259. <if test="cjdId != null ">and s.cjd_id = #{cjdId}</if>
  260. <if test="cjdName != null and cjdName != ''">and s.cjd_name like concat('%', #{cjdName}, '%')</if>
  261. <if test="isMeet != null and isMeet != ''">and s.is_meet = #{isMeet}</if>
  262. <if test="meetRemark != null and meetRemark != ''">and s.meet_remark = #{meetRemark}</if>
  263. </where>
  264. </select>
  265. <insert id="insertZsyzSbbzb" parameterType="ZsyzSbbzb" useGeneratedKeys="true" keyProperty="id">
  266. insert into zsyz_sbbzb
  267. <trim prefix="(" suffix=")" suffixOverrides=",">
  268. <if test="sbdw != null and sbdw != ''">sbdw,</if>
  269. <if test="tbrq != null">tbrq,</if>
  270. <if test="zszxfzr != null and zszxfzr != ''">zszxfzr,</if>
  271. <if test="xmbh != null">xmbh,</if>
  272. <if test="xmxsmc != null and xmxsmc != ''">xmxsmc,</if>
  273. <if test="sfwlhxxxm != null and sfwlhxxxm != ''">sfwlhxxxm,</if>
  274. <if test="yzdqId != null and yzdqId != ''">yzdq_id,</if>
  275. <if test="yzdqName != null and yzdqName != ''">yzdq_name,</if>
  276. <if test="yzssName != null and yzssName != ''">yzss_name,</if>
  277. <if test="ntze != null and ntze != ''">ntze,</if>
  278. <if test="cylxId != null and cylxId != ''">cylx_id,</if>
  279. <if test="cylxName != null and cylxName != ''">cylx_name,</if>
  280. <if test="xmlb != null and xmlb != ''">xmlb,</if>
  281. <if test="tzlb != null and tzlb != ''">tzlb,</if>
  282. <if test="nlhd != null and nlhd != ''">nlhd,</if>
  283. <if test="czpt != null and czpt != ''">czpt,</if>
  284. <if test="tzzt != null and tzzt != ''">tzzt,</if>
  285. <if test="xmjz != null and xmjz != ''">xmjz,</if>
  286. <if test="gtzzrsfzhm != null">gtzzrsfzhm,</if>
  287. <if test="qytzrxyzdm != null">qytzrxyzdm,</if>
  288. <if test="qybj != null and qybj != ''">qybj,</if>
  289. <if test="tzfjj != null">tzfjj,</if>
  290. <if test="sndxse != null">sndxse,</if>
  291. <if test="sndnse != null">sndnse,</if>
  292. <if test="tzrxm != null">tzrxm,</if>
  293. <if test="tzrzw != null">tzrzw,</if>
  294. <if test="tzrdh != null">tzrdh,</if>
  295. <if test="xmjj != null">xmjj,</if>
  296. <if test="name != null and name != ''">name,</if>
  297. <if test="strq != null">strq,</if>
  298. <if test="phone != null and phone != ''">phone,</if>
  299. <if test="zw != null and zw != ''">zw,</if>
  300. <if test="userId != null">user_id,</if>
  301. <if test="createBy != null">create_by,</if>
  302. <if test="type != null">type,</if>
  303. <if test="progress != null">progress,</if>
  304. <if test="deptId != null">dept_id,</if>
  305. <if test="createTime != null">create_time,</if>
  306. <if test="updateBy != null">update_by,</if>
  307. <if test="isDel != null">is_del,</if>
  308. <if test="updateTime != null">update_time,</if>
  309. <if test="remark != null">remark,</if>
  310. <if test="cjdId != null">cjd_id,</if>
  311. <if test="cjdName != null">cjd_name,</if>
  312. <if test="isMeet != null">is_meet,</if>
  313. <if test="meetRemark != null">meet_remark,</if>
  314. </trim>
  315. <trim prefix="values (" suffix=")" suffixOverrides=",">
  316. <if test="sbdw != null and sbdw != ''">#{sbdw},</if>
  317. <if test="tbrq != null">#{tbrq},</if>
  318. <if test="zszxfzr != null and zszxfzr != ''">#{zszxfzr},</if>
  319. <if test="xmbh != null">#{xmbh},</if>
  320. <if test="xmxsmc != null and xmxsmc != ''">#{xmxsmc},</if>
  321. <if test="sfwlhxxxm != null and sfwlhxxxm != ''">#{sfwlhxxxm},</if>
  322. <if test="yzdqId != null and yzdqId != ''">#{yzdqId},</if>
  323. <if test="yzdqName != null and yzdqName != ''">#{yzdqName},</if>
  324. <if test="yzssName != null and yzssName != ''">#{yzssName},</if>
  325. <if test="ntze != null and ntze != ''">#{ntze},</if>
  326. <if test="cylxId != null and cylxId != ''">#{cylxId},</if>
  327. <if test="cylxName != null and cylxName != ''">#{cylxName},</if>
  328. <if test="xmlb != null and xmlb != ''">#{xmlb},</if>
  329. <if test="tzlb != null and tzlb != ''">#{tzlb},</if>
  330. <if test="nlhd != null and nlhd != ''">#{nlhd},</if>
  331. <if test="czpt != null and czpt != ''">#{czpt},</if>
  332. <if test="tzzt != null and tzzt != ''">#{tzzt},</if>
  333. <if test="xmjz != null and xmjz != ''">#{xmjz},</if>
  334. <if test="gtzzrsfzhm != null">#{gtzzrsfzhm},</if>
  335. <if test="qytzrxyzdm != null">#{qytzrxyzdm},</if>
  336. <if test="qybj != null and qybj != ''">#{qybj},</if>
  337. <if test="tzfjj != null">#{tzfjj},</if>
  338. <if test="sndxse != null">#{sndxse},</if>
  339. <if test="sndnse != null">#{sndnse},</if>
  340. <if test="tzrxm != null">#{tzrxm},</if>
  341. <if test="tzrzw != null">#{tzrzw},</if>
  342. <if test="tzrdh != null">#{tzrdh},</if>
  343. <if test="xmjj != null">#{xmjj},</if>
  344. <if test="name != null and name != ''">#{name},</if>
  345. <if test="strq != null">#{strq},</if>
  346. <if test="phone != null and phone != ''">#{phone},</if>
  347. <if test="zw != null and zw != ''">#{zw},</if>
  348. <if test="userId != null">#{userId},</if>
  349. <if test="createBy != null">#{createBy},</if>
  350. <if test="type != null">#{type},</if>
  351. <if test="progress != null">#{progress},</if>
  352. <if test="deptId != null">#{deptId},</if>
  353. <if test="createTime != null">#{createTime},</if>
  354. <if test="updateBy != null">#{updateBy},</if>
  355. <if test="isDel != null">#{isDel},</if>
  356. <if test="updateTime != null">#{updateTime},</if>
  357. <if test="remark != null">#{remark},</if>
  358. <if test="cjdId != null">#{cjdId},</if>
  359. <if test="cjdName != null">#{cjdName},</if>
  360. <if test="isMeet != null">#{isMeet},</if>
  361. <if test="meetRemark != null">#{meetRemark},</if>
  362. </trim>
  363. </insert>
  364. <update id="updateZsyzSbbzb" parameterType="ZsyzSbbzb">
  365. update zsyz_sbbzb
  366. <trim prefix="SET" suffixOverrides=",">
  367. <if test="sbdw != null and sbdw != ''">sbdw = #{sbdw},</if>
  368. <if test="tbrq != null">tbrq = #{tbrq},</if>
  369. <if test="zszxfzr != null and zszxfzr != ''">zszxfzr = #{zszxfzr},</if>
  370. <if test="xmbh != null">xmbh = #{xmbh},</if>
  371. <if test="xmxsmc != null and xmxsmc != ''">xmxsmc = #{xmxsmc},</if>
  372. <if test="sfwlhxxxm != null and sfwlhxxxm != ''">sfwlhxxxm = #{sfwlhxxxm},</if>
  373. <if test="yzdqId != null and yzdqId != ''">yzdq_id = #{yzdqId},</if>
  374. <if test="yzdqName != null and yzdqName != ''">yzdq_name = #{yzdqName},</if>
  375. <if test="yzssName != null and yzssName != ''">yzss_name = #{yzssName},</if>
  376. <if test="ntze != null and ntze != ''">ntze = #{ntze},</if>
  377. <if test="cylxId != null and cylxId != ''">cylx_id = #{cylxId},</if>
  378. <if test="cylxName != null and cylxName != ''">cylx_name = #{cylxName},</if>
  379. <if test="xmlb != null and xmlb != ''">xmlb = #{xmlb},</if>
  380. <if test="tzlb != null and tzlb != ''">tzlb = #{tzlb},</if>
  381. <if test="nlhd != null and nlhd != ''">nlhd = #{nlhd},</if>
  382. <if test="czpt != null and czpt != ''">czpt = #{czpt},</if>
  383. <if test="tzzt != null and tzzt != ''">tzzt = #{tzzt},</if>
  384. <if test="xmjz != null and xmjz != ''">xmjz = #{xmjz},</if>
  385. <if test="gtzzrsfzhm != null">gtzzrsfzhm = #{gtzzrsfzhm},</if>
  386. <if test="qytzrxyzdm != null">qytzrxyzdm = #{qytzrxyzdm},</if>
  387. <if test="qybj != null and qybj != ''">qybj = #{qybj},</if>
  388. <if test="tzfjj != null">tzfjj = #{tzfjj},</if>
  389. <if test="sndxse != null">sndxse = #{sndxse},</if>
  390. <if test="sndnse != null">sndnse = #{sndnse},</if>
  391. <if test="tzrxm != null">tzrxm = #{tzrxm},</if>
  392. <if test="tzrzw != null">tzrzw = #{tzrzw},</if>
  393. <if test="tzrdh != null">tzrdh = #{tzrdh},</if>
  394. <if test="xmjj != null">xmjj = #{xmjj},</if>
  395. <if test="name != null and name != ''">name = #{name},</if>
  396. <if test="strq != null">strq = #{strq},</if>
  397. <if test="phone != null and phone != ''">phone = #{phone},</if>
  398. <if test="zw != null and zw != ''">zw = #{zw},</if>
  399. <if test="userId != null">user_id = #{userId},</if>
  400. <if test="createBy != null">create_by = #{createBy},</if>
  401. <if test="type != null">type = #{type},</if>
  402. <if test="progress != null">progress = #{progress},</if>
  403. <if test="deptId != null">dept_id = #{deptId},</if>
  404. <if test="createTime != null">create_time = #{createTime},</if>
  405. <if test="updateBy != null">update_by = #{updateBy},</if>
  406. <if test="isDel != null">is_del = #{isDel},</if>
  407. <if test="updateTime != null">update_time = #{updateTime},</if>
  408. <if test="remark != null">remark = #{remark},</if>
  409. <if test="cjdId != null">cjd_id = #{cjdId},</if>
  410. <if test="cjdName != null">cjd_name = #{cjdName},</if>
  411. <if test="isMeet != null">is_meet = #{isMeet},</if>
  412. <if test="meetRemark != null">meet_remark = #{meetRemark},</if>
  413. </trim>
  414. where id = #{id}
  415. </update>
  416. <update id="updateZsyzSbbzbCjd" parameterType="ZsyzSbbzb">
  417. update zsyz_sbbzb set cjd_id = #{cjdId},cjd_name = #{cjdName} where id = #{id}
  418. </update>
  419. <update id="updateZsyzSbbzbForZc" parameterType="ZsyzSbbzb">
  420. update zsyz_sbbzb
  421. <trim prefix="SET" suffixOverrides=",">
  422. <if test="type != null and type != ''">type = #{type},</if>
  423. <if test="isDel != null and isDel != ''">is_del = #{isDel},</if>
  424. </trim>
  425. where id = #{id}
  426. </update>
  427. <update id="updateZsyzSbbzbProgress" parameterType="ZsyzSbbzb">
  428. update zsyz_sbbzb set progress = #{progress} where id = #{id}
  429. </update>
  430. <delete id="deleteZsyzSbbzbById" parameterType="Long">
  431. delete from zsyz_sbbzb where id = #{id}
  432. </delete>
  433. <delete id="deleteZsyzSbbzbByIds" parameterType="String">
  434. delete from zsyz_sbbzb where id in
  435. <foreach item="id" collection="array" open="(" separator="," close=")">
  436. #{id}
  437. </foreach>
  438. </delete>
  439. </mapper>