BisInspSwhsjsMgtDao.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  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="cn.com.goldenwater.dcproj.dao.BisInspSwhsjsMgtDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspSwhsjsMgt" id="bisInspSwhsjsMgtResultMap">
  5. <result property="id" column="ID"/>
  6. <result property="rgstrId" column="RGSTR_ID"/>
  7. <result property="persId" column="PERS_ID"/>
  8. <result property="intm" column="INTM"/>
  9. <result property="uptm" column="UPTM"/>
  10. <result property="dataStat" column="DATA_STAT"/>
  11. <result property="isSaf" column="IS_SAF"/>
  12. <result property="isCert" column="IS_CERT"/>
  13. <result property="isMeas" column="IS_MEAS"/>
  14. <result property="isLevel" column="IS_LEVEL"/>
  15. <result property="isAdqWtr" column="IS_ADQ_WTR"/>
  16. <result property="isPlan" column="IS_PLAN"/>
  17. <result property="isRun" column="IS_RUN"/>
  18. <result property="isWtrQlty" column="IS_WTR_QLTY"/>
  19. <result property="isTranPros" column="IS_TRAN_PROS"/>
  20. <result property="isPub" column="IS_PUB"/>
  21. <result property="isClose" column="IS_CLOSE"/>
  22. <result property="isBrand" column="IS_BRAND"/>
  23. <result property="isGreen" column="IS_GREEN"/>
  24. <result property="isRequ" column="IS_REQU"/>
  25. <result property="isOneInds" column="IS_ONE_INDS"/>
  26. <result property="isTwoInds" column="IS_TWO_INDS"/>
  27. <result property="isPollEqpt" column="IS_POLL_EQPT"/>
  28. <result property="isStandard" column="IS_STANDARD"/>
  29. <result property="isPlace" column="IS_PLACE"/>
  30. <result property="isAcrossSys" column="IS_ACROSS_SYS"/>
  31. <result property="isMgtSys" column="IS_MGT_SYS"/>
  32. <result property="isPatrolSys" column="IS_PATROL_SYS"/>
  33. <result property="isAppr" column="IS_APPR"/>
  34. <result property="isElect" column="IS_ELECT"/>
  35. <result property="isBoard" column="IS_BOARD"/>
  36. <result property="isAssess" column="IS_ASSESS"/>
  37. <result property="isLevMon" column="IS_LEV_MON"/>
  38. <result property="isShare" column="IS_SHARE"/>
  39. <result property="isBloomMon" column="IS_BLOOM_MON"/>
  40. <result property="isComMon" column="IS_COM_MON"/>
  41. <result property="isVideoMon" column="IS_VIDEO_MON"/>
  42. <result property="isBuildEqpt" column="IS_BUILD_EQPT"/>
  43. <result property="isRelSys" column="IS_REL_SYS"/>
  44. <result property="isWtrAssess" column="IS_WTR_ASSESS"/>
  45. <result property="isSecAssess" column="IS_SEC_ASSESS"/>
  46. <result property="isSpecialPlan" column="IS_SPECIAL_PLAN"/>
  47. <result property="isDrill" column="IS_DRILL"/>
  48. <result property="isEng" column="IS_ENG"/>
  49. <result property="isEmerSys" column="IS_EMER_SYS"/>
  50. <result property="isEmerDisp" column="IS_EMER_DISP"/>
  51. <result property="isEmerMon" column="IS_EMER_MON"/>
  52. </resultMap>
  53. <sql id="table_columns">
  54. ID,
  55. RGSTR_ID,
  56. PERS_ID,
  57. INTM,
  58. UPTM,
  59. DATA_STAT,
  60. IS_SAF,
  61. IS_CERT,
  62. IS_MEAS,
  63. IS_LEVEL,
  64. IS_ADQ_WTR,
  65. IS_PLAN,
  66. IS_RUN,
  67. IS_WTR_QLTY,
  68. IS_TRAN_PROS,
  69. IS_PUB,
  70. IS_CLOSE,
  71. IS_BRAND,
  72. IS_GREEN,
  73. IS_REQU,
  74. IS_ONE_INDS,
  75. IS_TWO_INDS,
  76. IS_POLL_EQPT,
  77. IS_STANDARD,
  78. IS_PLACE,
  79. IS_ACROSS_SYS,
  80. IS_MGT_SYS,
  81. IS_PATROL_SYS,
  82. IS_APPR,
  83. IS_ELECT,
  84. IS_BOARD,
  85. IS_ASSESS,
  86. IS_LEV_MON,
  87. IS_SHARE,
  88. IS_BLOOM_MON,
  89. IS_COM_MON,
  90. IS_VIDEO_MON,
  91. IS_BUILD_EQPT,
  92. IS_REL_SYS,
  93. IS_WTR_ASSESS,
  94. IS_SEC_ASSESS,
  95. IS_SPECIAL_PLAN,
  96. IS_DRILL,
  97. IS_ENG,
  98. IS_EMER_SYS,
  99. IS_EMER_DISP,
  100. IS_EMER_MON
  101. </sql>
  102. <sql id="entity_properties">
  103. #{id},
  104. #{rgstrId},
  105. #{persId},
  106. #{intm},
  107. #{uptm},
  108. #{dataStat},
  109. #{isSaf},
  110. #{isCert},
  111. #{isMeas},
  112. #{isLevel},
  113. #{isAdqWtr},
  114. #{isPlan},
  115. #{isRun},
  116. #{isWtrQlty},
  117. #{isTranPros},
  118. #{isPub},
  119. #{isClose},
  120. #{isBrand},
  121. #{isGreen},
  122. #{isRequ},
  123. #{isOneInds},
  124. #{isTwoInds},
  125. #{isPollEqpt},
  126. #{isStandard},
  127. #{isPlace},
  128. #{isAcrossSys},
  129. #{isMgtSys},
  130. #{isPatrolSys},
  131. #{isAppr},
  132. #{isElect},
  133. #{isBoard},
  134. #{isAssess},
  135. #{isLevMon},
  136. #{isShare},
  137. #{isBloomMon},
  138. #{isComMon},
  139. #{isVideoMon},
  140. #{isBuildEqpt},
  141. #{isRelSys},
  142. #{isWtrAssess},
  143. #{isSecAssess},
  144. #{isSpecialPlan},
  145. #{isDrill},
  146. #{isEng},
  147. #{isEmerSys},
  148. #{isEmerDisp},
  149. #{isEmerMon}
  150. </sql>
  151. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  152. <sql id="page_where">
  153. <trim prefix="where" prefixOverrides="and | or ">
  154. <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
  155. <if test="persId != null and persId != ''">and PERS_ID = #{persId}</if>
  156. <if test="intm != null">and INTM = #{intm}</if>
  157. <if test="uptm != null">and UPTM = #{uptm}</if>
  158. <if test="dataStat != null and dataStat != ''">and DATA_STAT = #{dataStat}</if>
  159. <if test="isSaf != null and isSaf != ''">and IS_SAF = #{isSaf}</if>
  160. <if test="isCert != null and isCert != ''">and IS_CERT = #{isCert}</if>
  161. <if test="isMeas != null and isMeas != ''">and IS_MEAS = #{isMeas}</if>
  162. <if test="isLevel != null and isLevel != ''">and IS_LEVEL = #{isLevel}</if>
  163. <if test="isAdqWtr != null and isAdqWtr != ''">and IS_ADQ_WTR = #{isAdqWtr}</if>
  164. <if test="isPlan != null and isPlan != ''">and IS_PLAN = #{isPlan}</if>
  165. <if test="isRun != null and isRun != ''">and IS_RUN = #{isRun}</if>
  166. <if test="isWtrQlty != null and isWtrQlty != ''">and IS_WTR_QLTY = #{isWtrQlty}</if>
  167. <if test="isTranPros != null and isTranPros != ''">and IS_TRAN_PROS = #{isTranPros}</if>
  168. <if test="isPub != null and isPub != ''">and IS_PUB = #{isPub}</if>
  169. <if test="isClose != null and isClose != ''">and IS_CLOSE = #{isClose}</if>
  170. <if test="isBrand != null and isBrand != ''">and IS_BRAND = #{isBrand}</if>
  171. <if test="isGreen != null and isGreen != ''">and IS_GREEN = #{isGreen}</if>
  172. <if test="isRequ != null and isRequ != ''">and IS_REQU = #{isRequ}</if>
  173. <if test="isOneInds != null and isOneInds != ''">and IS_ONE_INDS = #{isOneInds}</if>
  174. <if test="isTwoInds != null and isTwoInds != ''">and IS_TWO_INDS = #{isTwoInds}</if>
  175. <if test="isPollEqpt != null and isPollEqpt != ''">and IS_POLL_EQPT = #{isPollEqpt}</if>
  176. <if test="isStandard != null and isStandard != ''">and IS_STANDARD = #{isStandard}</if>
  177. <if test="isPlace != null and isPlace != ''">and IS_PLACE = #{isPlace}</if>
  178. <if test="isAcrossSys != null and isAcrossSys != ''">and IS_ACROSS_SYS = #{isAcrossSys}</if>
  179. <if test="isMgtSys != null and isMgtSys != ''">and IS_MGT_SYS = #{isMgtSys}</if>
  180. <if test="isPatrolSys != null and isPatrolSys != ''">and IS_PATROL_SYS = #{isPatrolSys}</if>
  181. <if test="isAppr != null and isAppr != ''">and IS_APPR = #{isAppr}</if>
  182. <if test="isElect != null and isElect != ''">and IS_ELECT = #{isElect}</if>
  183. <if test="isBoard != null and isBoard != ''">and IS_BOARD = #{isBoard}</if>
  184. <if test="isAssess != null and isAssess != ''">and IS_ASSESS = #{isAssess}</if>
  185. <if test="isLevMon != null and isLevMon != ''">and IS_LEV_MON = #{isLevMon}</if>
  186. <if test="isShare != null and isShare != ''">and IS_SHARE = #{isShare}</if>
  187. <if test="isBloomMon != null and isBloomMon != ''">and IS_BLOOM_MON = #{isBloomMon}</if>
  188. <if test="isComMon != null and isComMon != ''">and IS_COM_MON = #{isComMon}</if>
  189. <if test="isVideoMon != null and isVideoMon != ''">and IS_VIDEO_MON = #{isVideoMon}</if>
  190. <if test="isBuildEqpt != null and isBuildEqpt != ''">and IS_BUILD_EQPT = #{isBuildEqpt}</if>
  191. <if test="isRelSys != null and isRelSys != ''">and IS_REL_SYS = #{isRelSys}</if>
  192. <if test="isWtrAssess != null and isWtrAssess != ''">and IS_WTR_ASSESS = #{isWtrAssess}</if>
  193. <if test="isSecAssess != null and isSecAssess != ''">and IS_SEC_ASSESS = #{isSecAssess}</if>
  194. <if test="isSpecialPlan != null and isSpecialPlan != ''">and IS_SPECIAL_PLAN = #{isSpecialPlan}</if>
  195. <if test="isDrill != null and isDrill != ''">and IS_DRILL = #{isDrill}</if>
  196. <if test="isEng != null and isEng != ''">and IS_ENG = #{isEng}</if>
  197. <if test="isEmerSys != null and isEmerSys != ''">and IS_EMER_SYS = #{isEmerSys}</if>
  198. <if test="isEmerDisp != null and isEmerDisp != ''">and IS_EMER_DISP = #{isEmerDisp}</if>
  199. <if test="isEmerMon != null and isEmerMon != ''">and IS_EMER_MON = #{isEmerMon}</if>
  200. and DATA_STAT='0'
  201. </trim>
  202. </sql>
  203. <select id="get" resultMap="bisInspSwhsjsMgtResultMap" parameterType="String">
  204. select
  205. <include refid="table_columns"/>
  206. from BIS_INSP_SWHSJS_MGT where RGSTR_ID = #{id}
  207. </select>
  208. <select id="getBy" resultMap="bisInspSwhsjsMgtResultMap">
  209. select
  210. <include refid="table_columns"/>
  211. from BIS_INSP_SWHSJS_MGT
  212. <include refid="page_where"/>
  213. </select>
  214. <select id="findAll" resultMap="bisInspSwhsjsMgtResultMap">
  215. select
  216. <include refid="table_columns"/>
  217. from BIS_INSP_SWHSJS_MGT
  218. </select>
  219. <select id="findList" resultMap="bisInspSwhsjsMgtResultMap">
  220. select
  221. <include refid="table_columns"/>
  222. from BIS_INSP_SWHSJS_MGT
  223. <include refid="page_where"/>
  224. </select>
  225. <select id="selectCount" resultType="int">
  226. select count(ID) from BIS_INSP_SWHSJS_MGT
  227. <include refid="page_where"/>
  228. </select>
  229. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspSwhsjsMgt">
  230. insert into BIS_INSP_SWHSJS_MGT(
  231. <include refid="table_columns"/>
  232. )
  233. values (
  234. <include refid="entity_properties"/>
  235. )
  236. </insert>
  237. <delete id="delete" parameterType="java.lang.String">
  238. update BIS_INSP_SWHSJS_MGT set DATA_STAT='9' where ID = #{id}
  239. </delete>
  240. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspSwhsjsMgt">
  241. update BIS_INSP_SWHSJS_MGT set DATA_STAT='9'
  242. <include refid="page_where"/>
  243. </delete>
  244. <update id="deleteInFlag" parameterType="java.lang.String">
  245. update BIS_INSP_SWHSJS_MGT set DATA_STAT = '9' where ID = #{id}
  246. </update>
  247. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspSwhsjsMgt">
  248. update BIS_INSP_SWHSJS_MGT
  249. <trim prefix="set" suffixOverrides=",">
  250. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  251. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  252. <if test="intm != null">INTM = #{intm},</if>
  253. <if test="uptm != null">UPTM = #{uptm},</if>
  254. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  255. <if test="isSaf != null and isSaf != ''">IS_SAF = #{isSaf},</if>
  256. <if test="isCert != null and isCert != ''">IS_CERT = #{isCert},</if>
  257. <if test="isMeas != null and isMeas != ''">IS_MEAS = #{isMeas},</if>
  258. <if test="isLevel != null and isLevel != ''">IS_LEVEL = #{isLevel},</if>
  259. <if test="isAdqWtr != null and isAdqWtr != ''">IS_ADQ_WTR = #{isAdqWtr},</if>
  260. <if test="isPlan != null and isPlan != ''">IS_PLAN = #{isPlan},</if>
  261. <if test="isRun != null and isRun != ''">IS_RUN = #{isRun},</if>
  262. <if test="isWtrQlty != null and isWtrQlty != ''">IS_WTR_QLTY = #{isWtrQlty},</if>
  263. <if test="isTranPros != null and isTranPros != ''">IS_TRAN_PROS = #{isTranPros},</if>
  264. <if test="isPub != null and isPub != ''">IS_PUB = #{isPub},</if>
  265. <if test="isClose != null and isClose != ''">IS_CLOSE = #{isClose},</if>
  266. <if test="isBrand != null and isBrand != ''">IS_BRAND = #{isBrand},</if>
  267. <if test="isGreen != null and isGreen != ''">IS_GREEN = #{isGreen},</if>
  268. <if test="isRequ != null and isRequ != ''">IS_REQU = #{isRequ},</if>
  269. <if test="isOneInds != null and isOneInds != ''">IS_ONE_INDS = #{isOneInds},</if>
  270. <if test="isTwoInds != null and isTwoInds != ''">IS_TWO_INDS = #{isTwoInds},</if>
  271. <if test="isPollEqpt != null and isPollEqpt != ''">IS_POLL_EQPT = #{isPollEqpt},</if>
  272. <if test="isStandard != null and isStandard != ''">IS_STANDARD = #{isStandard},</if>
  273. <if test="isPlace != null and isPlace != ''">IS_PLACE = #{isPlace},</if>
  274. <if test="isAcrossSys != null and isAcrossSys != ''">IS_ACROSS_SYS = #{isAcrossSys},</if>
  275. <if test="isMgtSys != null and isMgtSys != ''">IS_MGT_SYS = #{isMgtSys},</if>
  276. <if test="isPatrolSys != null and isPatrolSys != ''">IS_PATROL_SYS = #{isPatrolSys},</if>
  277. <if test="isAppr != null and isAppr != ''">IS_APPR = #{isAppr},</if>
  278. <if test="isElect != null and isElect != ''">IS_ELECT = #{isElect},</if>
  279. <if test="isBoard != null and isBoard != ''">IS_BOARD = #{isBoard},</if>
  280. <if test="isAssess != null and isAssess != ''">IS_ASSESS = #{isAssess},</if>
  281. <if test="isLevMon != null and isLevMon != ''">IS_LEV_MON = #{isLevMon},</if>
  282. <if test="isShare != null and isShare != ''">IS_SHARE = #{isShare},</if>
  283. <if test="isBloomMon != null and isBloomMon != ''">IS_BLOOM_MON = #{isBloomMon},</if>
  284. <if test="isComMon != null and isComMon != ''">IS_COM_MON = #{isComMon},</if>
  285. <if test="isVideoMon != null and isVideoMon != ''">IS_VIDEO_MON = #{isVideoMon},</if>
  286. <if test="isBuildEqpt != null and isBuildEqpt != ''">IS_BUILD_EQPT = #{isBuildEqpt},</if>
  287. <if test="isRelSys != null and isRelSys != ''">IS_REL_SYS = #{isRelSys},</if>
  288. <if test="isWtrAssess != null and isWtrAssess != ''">IS_WTR_ASSESS = #{isWtrAssess},</if>
  289. <if test="isSecAssess != null and isSecAssess != ''">IS_SEC_ASSESS = #{isSecAssess},</if>
  290. <if test="isSpecialPlan != null and isSpecialPlan != ''">IS_SPECIAL_PLAN = #{isSpecialPlan},</if>
  291. <if test="isDrill != null and isDrill != ''">IS_DRILL = #{isDrill},</if>
  292. <if test="isEng != null and isEng != ''">IS_ENG = #{isEng},</if>
  293. <if test="isEmerSys != null and isEmerSys != ''">IS_EMER_SYS = #{isEmerSys},</if>
  294. <if test="isEmerDisp != null and isEmerDisp != ''">IS_EMER_DISP = #{isEmerDisp},</if>
  295. <if test="isEmerMon != null and isEmerMon != ''">IS_EMER_MON = #{isEmerMon},</if>
  296. </trim>
  297. <where>ID = #{id}</where>
  298. </update>
  299. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspSwhsjsMgt">
  300. update BIS_INSP_SWHSJS_MGT
  301. <trim prefix="set" suffixOverrides=",">
  302. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  303. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  304. <if test="intm != null">INTM = #{intm},</if>
  305. <if test="uptm != null">UPTM = #{uptm},</if>
  306. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  307. <if test="isSaf != null and isSaf != ''">IS_SAF = #{isSaf},</if>
  308. <if test="isCert != null and isCert != ''">IS_CERT = #{isCert},</if>
  309. <if test="isMeas != null and isMeas != ''">IS_MEAS = #{isMeas},</if>
  310. <if test="isLevel != null and isLevel != ''">IS_LEVEL = #{isLevel},</if>
  311. <if test="isAdqWtr != null and isAdqWtr != ''">IS_ADQ_WTR = #{isAdqWtr},</if>
  312. <if test="isPlan != null and isPlan != ''">IS_PLAN = #{isPlan},</if>
  313. <if test="isRun != null and isRun != ''">IS_RUN = #{isRun},</if>
  314. <if test="isWtrQlty != null and isWtrQlty != ''">IS_WTR_QLTY = #{isWtrQlty},</if>
  315. <if test="isTranPros != null and isTranPros != ''">IS_TRAN_PROS = #{isTranPros},</if>
  316. <if test="isPub != null and isPub != ''">IS_PUB = #{isPub},</if>
  317. <if test="isClose != null and isClose != ''">IS_CLOSE = #{isClose},</if>
  318. <if test="isBrand != null and isBrand != ''">IS_BRAND = #{isBrand},</if>
  319. <if test="isGreen != null and isGreen != ''">IS_GREEN = #{isGreen},</if>
  320. <if test="isRequ != null and isRequ != ''">IS_REQU = #{isRequ},</if>
  321. <if test="isOneInds != null and isOneInds != ''">IS_ONE_INDS = #{isOneInds},</if>
  322. <if test="isTwoInds != null and isTwoInds != ''">IS_TWO_INDS = #{isTwoInds},</if>
  323. <if test="isPollEqpt != null and isPollEqpt != ''">IS_POLL_EQPT = #{isPollEqpt},</if>
  324. <if test="isStandard != null and isStandard != ''">IS_STANDARD = #{isStandard},</if>
  325. <if test="isPlace != null and isPlace != ''">IS_PLACE = #{isPlace},</if>
  326. <if test="isAcrossSys != null and isAcrossSys != ''">IS_ACROSS_SYS = #{isAcrossSys},</if>
  327. <if test="isMgtSys != null and isMgtSys != ''">IS_MGT_SYS = #{isMgtSys},</if>
  328. <if test="isPatrolSys != null and isPatrolSys != ''">IS_PATROL_SYS = #{isPatrolSys},</if>
  329. <if test="isAppr != null and isAppr != ''">IS_APPR = #{isAppr},</if>
  330. <if test="isElect != null and isElect != ''">IS_ELECT = #{isElect},</if>
  331. <if test="isBoard != null and isBoard != ''">IS_BOARD = #{isBoard},</if>
  332. <if test="isAssess != null and isAssess != ''">IS_ASSESS = #{isAssess},</if>
  333. <if test="isLevMon != null and isLevMon != ''">IS_LEV_MON = #{isLevMon},</if>
  334. <if test="isShare != null and isShare != ''">IS_SHARE = #{isShare},</if>
  335. <if test="isBloomMon != null and isBloomMon != ''">IS_BLOOM_MON = #{isBloomMon},</if>
  336. <if test="isComMon != null and isComMon != ''">IS_COM_MON = #{isComMon},</if>
  337. <if test="isVideoMon != null and isVideoMon != ''">IS_VIDEO_MON = #{isVideoMon},</if>
  338. <if test="isBuildEqpt != null and isBuildEqpt != ''">IS_BUILD_EQPT = #{isBuildEqpt},</if>
  339. <if test="isRelSys != null and isRelSys != ''">IS_REL_SYS = #{isRelSys},</if>
  340. <if test="isWtrAssess != null and isWtrAssess != ''">IS_WTR_ASSESS = #{isWtrAssess},</if>
  341. <if test="isSecAssess != null and isSecAssess != ''">IS_SEC_ASSESS = #{isSecAssess},</if>
  342. <if test="isSpecialPlan != null and isSpecialPlan != ''">IS_SPECIAL_PLAN = #{isSpecialPlan},</if>
  343. <if test="isDrill != null and isDrill != ''">IS_DRILL = #{isDrill},</if>
  344. <if test="isEng != null and isEng != ''">IS_ENG = #{isEng},</if>
  345. <if test="isEmerSys != null and isEmerSys != ''">IS_EMER_SYS = #{isEmerSys},</if>
  346. <if test="isEmerDisp != null and isEmerDisp != ''">IS_EMER_DISP = #{isEmerDisp},</if>
  347. <if test="isEmerMon != null and isEmerMon != ''">IS_EMER_MON = #{isEmerMon},</if>
  348. </trim>
  349. <include refid="page_where"/>
  350. </update>
  351. <!-- 其他自定义SQL -->
  352. </mapper>