ComTestReportMapper.xml 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  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.xinxin.topro.pubservice.mysqlmapper.ComTestReportMapper" >
  4. <resultMap id="BaseResultMap" type="com.xinxin.topro.pubservice.mysqlModel.ComTestReport" >
  5. <id column="CTR_ID" property="ctrId" jdbcType="INTEGER" />
  6. <result column="PatientNo" property="patientno" jdbcType="VARCHAR" />
  7. <result column="HI_ID" property="hiId" jdbcType="INTEGER" />
  8. <result column="DD_DepDm" property="ddDepdm" jdbcType="VARCHAR" />
  9. <result column="DW_WardDm" property="dwWarddm" jdbcType="VARCHAR" />
  10. <result column="DB_BedNo" property="dbBedno" jdbcType="VARCHAR" />
  11. <result column="CTR_Record_ID" property="ctrRecordId" jdbcType="VARCHAR" />
  12. <result column="CTR_Visit_No" property="ctrVisitNo" jdbcType="VARCHAR" />
  13. <result column="CTR_Visit_Type" property="ctrVisitType" jdbcType="INTEGER" />
  14. <result column="CTR_Diag_Name" property="ctrDiagName" jdbcType="VARCHAR" />
  15. <result column="CTR_Advice_ID" property="ctrAdviceId" jdbcType="VARCHAR" />
  16. <result column="CTR_Item_Code" property="ctrItemCode" jdbcType="VARCHAR" />
  17. <result column="CTR_Item_Name" property="ctrItemName" jdbcType="VARCHAR" />
  18. <result column="CTR_Barcode" property="ctrBarcode" jdbcType="VARCHAR" />
  19. <result column="CTR_IsMicrobe" property="ctrIsmicrobe" jdbcType="INTEGER" />
  20. <result column="CTR_Sample_No" property="ctrSampleNo" jdbcType="VARCHAR" />
  21. <result column="CTR_Sample_Type" property="ctrSampleType" jdbcType="VARCHAR" />
  22. <result column="CTR_Requester" property="ctrRequester" jdbcType="VARCHAR" />
  23. <result column="CTR_Request_Time" property="ctrRequestTime" jdbcType="TIMESTAMP" />
  24. <result column="CTR_Request_Dep" property="ctrRequestDep" jdbcType="VARCHAR" />
  25. <result column="CTR_Exector" property="ctrExector" jdbcType="VARCHAR" />
  26. <result column="CTR_Execte_Time" property="ctrExecteTime" jdbcType="TIMESTAMP" />
  27. <result column="CTR_Receiver" property="ctrReceiver" jdbcType="VARCHAR" />
  28. <result column="CTR_Receive_Time" property="ctrReceiveTime" jdbcType="TIMESTAMP" />
  29. <result column="CTR_Lab_Dep" property="ctrLabDep" jdbcType="VARCHAR" />
  30. <result column="CTR_Checker" property="ctrChecker" jdbcType="VARCHAR" />
  31. <result column="CTR_Check_Time" property="ctrCheckTime" jdbcType="TIMESTAMP" />
  32. <result column="CTR_Check_Opinion" property="ctrCheckOpinion" jdbcType="VARCHAR" />
  33. <result column="CTR_IsDel" property="ctrIsdel" jdbcType="INTEGER" />
  34. <result column="CTR_Operation_Time" property="ctrOperationTime" jdbcType="TIMESTAMP" />
  35. <result column="CTR_Operator" property="ctrOperator" jdbcType="VARCHAR" />
  36. <result column="CTR_IsInp" property="ctrIsinp" jdbcType="INTEGER" />
  37. <result column="CTR_Reporter" property="ctrReporter" jdbcType="VARCHAR" />
  38. <result column="CTR_Report_Time" property="ctrReportTime" jdbcType="TIMESTAMP" />
  39. <result column="UI_Name" property="doctorName" jdbcType="VARCHAR" />
  40. </resultMap>
  41. <sql id="Base_Column_List" >
  42. CTR_ID, PatientNo, HI_ID, DD_DepDm, DW_WardDm, DB_BedNo, CTR_Record_ID, CTR_Visit_No,
  43. CTR_Visit_Type, CTR_Diag_Name, CTR_Advice_ID, CTR_Item_Code, CTR_Item_Name, CTR_Barcode,
  44. CTR_IsMicrobe, CTR_Sample_No, CTR_Sample_Type, CTR_Requester, CTR_Request_Time, CTR_Request_Dep,
  45. CTR_Exector, CTR_Execte_Time, CTR_Receiver, CTR_Receive_Time, CTR_Lab_Dep, CTR_Checker,
  46. CTR_Check_Time, CTR_Check_Opinion, CTR_IsDel, CTR_Operation_Time, CTR_Operator, CTR_IsInp,
  47. CTR_Reporter, CTR_Report_Time
  48. </sql>
  49. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
  50. select
  51. <include refid="Base_Column_List" />
  52. from com_test_report
  53. where CTR_ID = #{ctrId,jdbcType=INTEGER}
  54. </select>
  55. <select id="selectByConditions" resultMap="BaseResultMap" >
  56. SELECT DISTINCT a.*, c.UI_Name doctorName from com_test_report a
  57. LEFT JOIN inp_med_order b on a.CTR_Advice_ID = b.IMO_Order_ID
  58. LEFT JOIN sys_userinfo c on b.IMO_Opener = c.UI_Code
  59. where a.PatientNo IN
  60. <foreach collection="list" separator="," open="(" close=")" item="item">
  61. #{item,jdbcType=VARCHAR}
  62. </foreach>
  63. and a.CTR_Report_Time <![CDATA[>=]]>#{reportSTime}
  64. and a.CTR_Report_Time <![CDATA[<]]>#{reportETime}
  65. and a.CTR_IsDel = 0
  66. and b.imo_status != -1
  67. ORDER BY a.ctr_report_time desc
  68. </select>
  69. <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
  70. delete from com_test_report
  71. where CTR_ID = #{ctrId,jdbcType=INTEGER}
  72. </delete>
  73. <insert id="insert" parameterType="com.xinxin.topro.pubservice.mysqlModel.ComTestReport" >
  74. insert into com_test_report (CTR_ID, PatientNo, HI_ID,
  75. DD_DepDm, DW_WardDm, DB_BedNo,
  76. CTR_Record_ID, CTR_Visit_No, CTR_Visit_Type,
  77. CTR_Diag_Name, CTR_Advice_ID, CTR_Item_Code,
  78. CTR_Item_Name, CTR_Barcode, CTR_IsMicrobe,
  79. CTR_Sample_No, CTR_Sample_Type, CTR_Requester,
  80. CTR_Request_Time, CTR_Request_Dep, CTR_Exector,
  81. CTR_Execte_Time, CTR_Receiver, CTR_Receive_Time,
  82. CTR_Lab_Dep, CTR_Checker, CTR_Check_Time,
  83. CTR_Check_Opinion, CTR_IsDel, CTR_Operation_Time,
  84. CTR_Operator, CTR_IsInp, CTR_Reporter,
  85. CTR_Report_Time)
  86. values (#{ctrId,jdbcType=INTEGER}, #{patientno,jdbcType=VARCHAR}, #{hiId,jdbcType=INTEGER},
  87. #{ddDepdm,jdbcType=VARCHAR}, #{dwWarddm,jdbcType=VARCHAR}, #{dbBedno,jdbcType=VARCHAR},
  88. #{ctrRecordId,jdbcType=VARCHAR}, #{ctrVisitNo,jdbcType=VARCHAR}, #{ctrVisitType,jdbcType=INTEGER},
  89. #{ctrDiagName,jdbcType=VARCHAR}, #{ctrAdviceId,jdbcType=VARCHAR}, #{ctrItemCode,jdbcType=VARCHAR},
  90. #{ctrItemName,jdbcType=VARCHAR}, #{ctrBarcode,jdbcType=VARCHAR}, #{ctrIsmicrobe,jdbcType=INTEGER},
  91. #{ctrSampleNo,jdbcType=VARCHAR}, #{ctrSampleType,jdbcType=VARCHAR}, #{ctrRequester,jdbcType=VARCHAR},
  92. #{ctrRequestTime,jdbcType=TIMESTAMP}, #{ctrRequestDep,jdbcType=VARCHAR}, #{ctrExector,jdbcType=VARCHAR},
  93. #{ctrExecteTime,jdbcType=TIMESTAMP}, #{ctrReceiver,jdbcType=VARCHAR}, #{ctrReceiveTime,jdbcType=TIMESTAMP},
  94. #{ctrLabDep,jdbcType=VARCHAR}, #{ctrChecker,jdbcType=VARCHAR}, #{ctrCheckTime,jdbcType=TIMESTAMP},
  95. #{ctrCheckOpinion,jdbcType=VARCHAR}, #{ctrIsdel,jdbcType=INTEGER}, #{ctrOperationTime,jdbcType=TIMESTAMP},
  96. #{ctrOperator,jdbcType=VARCHAR}, #{ctrIsinp,jdbcType=INTEGER}, #{ctrReporter,jdbcType=VARCHAR},
  97. #{ctrReportTime,jdbcType=TIMESTAMP})
  98. </insert>
  99. <insert id="insertSelective" parameterType="com.xinxin.topro.pubservice.mysqlModel.ComTestReport" >
  100. insert into com_test_report
  101. <trim prefix="(" suffix=")" suffixOverrides="," >
  102. <if test="ctrId != null" >
  103. CTR_ID,
  104. </if>
  105. <if test="patientno != null" >
  106. PatientNo,
  107. </if>
  108. <if test="hiId != null" >
  109. HI_ID,
  110. </if>
  111. <if test="ddDepdm != null" >
  112. DD_DepDm,
  113. </if>
  114. <if test="dwWarddm != null" >
  115. DW_WardDm,
  116. </if>
  117. <if test="dbBedno != null" >
  118. DB_BedNo,
  119. </if>
  120. <if test="ctrRecordId != null" >
  121. CTR_Record_ID,
  122. </if>
  123. <if test="ctrVisitNo != null" >
  124. CTR_Visit_No,
  125. </if>
  126. <if test="ctrVisitType != null" >
  127. CTR_Visit_Type,
  128. </if>
  129. <if test="ctrDiagName != null" >
  130. CTR_Diag_Name,
  131. </if>
  132. <if test="ctrAdviceId != null" >
  133. CTR_Advice_ID,
  134. </if>
  135. <if test="ctrItemCode != null" >
  136. CTR_Item_Code,
  137. </if>
  138. <if test="ctrItemName != null" >
  139. CTR_Item_Name,
  140. </if>
  141. <if test="ctrBarcode != null" >
  142. CTR_Barcode,
  143. </if>
  144. <if test="ctrIsmicrobe != null" >
  145. CTR_IsMicrobe,
  146. </if>
  147. <if test="ctrSampleNo != null" >
  148. CTR_Sample_No,
  149. </if>
  150. <if test="ctrSampleType != null" >
  151. CTR_Sample_Type,
  152. </if>
  153. <if test="ctrRequester != null" >
  154. CTR_Requester,
  155. </if>
  156. <if test="ctrRequestTime != null" >
  157. CTR_Request_Time,
  158. </if>
  159. <if test="ctrRequestDep != null" >
  160. CTR_Request_Dep,
  161. </if>
  162. <if test="ctrExector != null" >
  163. CTR_Exector,
  164. </if>
  165. <if test="ctrExecteTime != null" >
  166. CTR_Execte_Time,
  167. </if>
  168. <if test="ctrReceiver != null" >
  169. CTR_Receiver,
  170. </if>
  171. <if test="ctrReceiveTime != null" >
  172. CTR_Receive_Time,
  173. </if>
  174. <if test="ctrLabDep != null" >
  175. CTR_Lab_Dep,
  176. </if>
  177. <if test="ctrChecker != null" >
  178. CTR_Checker,
  179. </if>
  180. <if test="ctrCheckTime != null" >
  181. CTR_Check_Time,
  182. </if>
  183. <if test="ctrCheckOpinion != null" >
  184. CTR_Check_Opinion,
  185. </if>
  186. <if test="ctrIsdel != null" >
  187. CTR_IsDel,
  188. </if>
  189. <if test="ctrOperationTime != null" >
  190. CTR_Operation_Time,
  191. </if>
  192. <if test="ctrOperator != null" >
  193. CTR_Operator,
  194. </if>
  195. <if test="ctrIsinp != null" >
  196. CTR_IsInp,
  197. </if>
  198. <if test="ctrReporter != null" >
  199. CTR_Reporter,
  200. </if>
  201. <if test="ctrReportTime != null" >
  202. CTR_Report_Time,
  203. </if>
  204. </trim>
  205. <trim prefix="values (" suffix=")" suffixOverrides="," >
  206. <if test="ctrId != null" >
  207. #{ctrId,jdbcType=INTEGER},
  208. </if>
  209. <if test="patientno != null" >
  210. #{patientno,jdbcType=VARCHAR},
  211. </if>
  212. <if test="hiId != null" >
  213. #{hiId,jdbcType=INTEGER},
  214. </if>
  215. <if test="ddDepdm != null" >
  216. #{ddDepdm,jdbcType=VARCHAR},
  217. </if>
  218. <if test="dwWarddm != null" >
  219. #{dwWarddm,jdbcType=VARCHAR},
  220. </if>
  221. <if test="dbBedno != null" >
  222. #{dbBedno,jdbcType=VARCHAR},
  223. </if>
  224. <if test="ctrRecordId != null" >
  225. #{ctrRecordId,jdbcType=VARCHAR},
  226. </if>
  227. <if test="ctrVisitNo != null" >
  228. #{ctrVisitNo,jdbcType=VARCHAR},
  229. </if>
  230. <if test="ctrVisitType != null" >
  231. #{ctrVisitType,jdbcType=INTEGER},
  232. </if>
  233. <if test="ctrDiagName != null" >
  234. #{ctrDiagName,jdbcType=VARCHAR},
  235. </if>
  236. <if test="ctrAdviceId != null" >
  237. #{ctrAdviceId,jdbcType=VARCHAR},
  238. </if>
  239. <if test="ctrItemCode != null" >
  240. #{ctrItemCode,jdbcType=VARCHAR},
  241. </if>
  242. <if test="ctrItemName != null" >
  243. #{ctrItemName,jdbcType=VARCHAR},
  244. </if>
  245. <if test="ctrBarcode != null" >
  246. #{ctrBarcode,jdbcType=VARCHAR},
  247. </if>
  248. <if test="ctrIsmicrobe != null" >
  249. #{ctrIsmicrobe,jdbcType=INTEGER},
  250. </if>
  251. <if test="ctrSampleNo != null" >
  252. #{ctrSampleNo,jdbcType=VARCHAR},
  253. </if>
  254. <if test="ctrSampleType != null" >
  255. #{ctrSampleType,jdbcType=VARCHAR},
  256. </if>
  257. <if test="ctrRequester != null" >
  258. #{ctrRequester,jdbcType=VARCHAR},
  259. </if>
  260. <if test="ctrRequestTime != null" >
  261. #{ctrRequestTime,jdbcType=TIMESTAMP},
  262. </if>
  263. <if test="ctrRequestDep != null" >
  264. #{ctrRequestDep,jdbcType=VARCHAR},
  265. </if>
  266. <if test="ctrExector != null" >
  267. #{ctrExector,jdbcType=VARCHAR},
  268. </if>
  269. <if test="ctrExecteTime != null" >
  270. #{ctrExecteTime,jdbcType=TIMESTAMP},
  271. </if>
  272. <if test="ctrReceiver != null" >
  273. #{ctrReceiver,jdbcType=VARCHAR},
  274. </if>
  275. <if test="ctrReceiveTime != null" >
  276. #{ctrReceiveTime,jdbcType=TIMESTAMP},
  277. </if>
  278. <if test="ctrLabDep != null" >
  279. #{ctrLabDep,jdbcType=VARCHAR},
  280. </if>
  281. <if test="ctrChecker != null" >
  282. #{ctrChecker,jdbcType=VARCHAR},
  283. </if>
  284. <if test="ctrCheckTime != null" >
  285. #{ctrCheckTime,jdbcType=TIMESTAMP},
  286. </if>
  287. <if test="ctrCheckOpinion != null" >
  288. #{ctrCheckOpinion,jdbcType=VARCHAR},
  289. </if>
  290. <if test="ctrIsdel != null" >
  291. #{ctrIsdel,jdbcType=INTEGER},
  292. </if>
  293. <if test="ctrOperationTime != null" >
  294. #{ctrOperationTime,jdbcType=TIMESTAMP},
  295. </if>
  296. <if test="ctrOperator != null" >
  297. #{ctrOperator,jdbcType=VARCHAR},
  298. </if>
  299. <if test="ctrIsinp != null" >
  300. #{ctrIsinp,jdbcType=INTEGER},
  301. </if>
  302. <if test="ctrReporter != null" >
  303. #{ctrReporter,jdbcType=VARCHAR},
  304. </if>
  305. <if test="ctrReportTime != null" >
  306. #{ctrReportTime,jdbcType=TIMESTAMP},
  307. </if>
  308. </trim>
  309. </insert>
  310. <update id="updateByPrimaryKeySelective" parameterType="com.xinxin.topro.pubservice.mysqlModel.ComTestReport" >
  311. update com_test_report
  312. <set >
  313. <if test="patientno != null" >
  314. PatientNo = #{patientno,jdbcType=VARCHAR},
  315. </if>
  316. <if test="hiId != null" >
  317. HI_ID = #{hiId,jdbcType=INTEGER},
  318. </if>
  319. <if test="ddDepdm != null" >
  320. DD_DepDm = #{ddDepdm,jdbcType=VARCHAR},
  321. </if>
  322. <if test="dwWarddm != null" >
  323. DW_WardDm = #{dwWarddm,jdbcType=VARCHAR},
  324. </if>
  325. <if test="dbBedno != null" >
  326. DB_BedNo = #{dbBedno,jdbcType=VARCHAR},
  327. </if>
  328. <if test="ctrRecordId != null" >
  329. CTR_Record_ID = #{ctrRecordId,jdbcType=VARCHAR},
  330. </if>
  331. <if test="ctrVisitNo != null" >
  332. CTR_Visit_No = #{ctrVisitNo,jdbcType=VARCHAR},
  333. </if>
  334. <if test="ctrVisitType != null" >
  335. CTR_Visit_Type = #{ctrVisitType,jdbcType=INTEGER},
  336. </if>
  337. <if test="ctrDiagName != null" >
  338. CTR_Diag_Name = #{ctrDiagName,jdbcType=VARCHAR},
  339. </if>
  340. <if test="ctrAdviceId != null" >
  341. CTR_Advice_ID = #{ctrAdviceId,jdbcType=VARCHAR},
  342. </if>
  343. <if test="ctrItemCode != null" >
  344. CTR_Item_Code = #{ctrItemCode,jdbcType=VARCHAR},
  345. </if>
  346. <if test="ctrItemName != null" >
  347. CTR_Item_Name = #{ctrItemName,jdbcType=VARCHAR},
  348. </if>
  349. <if test="ctrBarcode != null" >
  350. CTR_Barcode = #{ctrBarcode,jdbcType=VARCHAR},
  351. </if>
  352. <if test="ctrIsmicrobe != null" >
  353. CTR_IsMicrobe = #{ctrIsmicrobe,jdbcType=INTEGER},
  354. </if>
  355. <if test="ctrSampleNo != null" >
  356. CTR_Sample_No = #{ctrSampleNo,jdbcType=VARCHAR},
  357. </if>
  358. <if test="ctrSampleType != null" >
  359. CTR_Sample_Type = #{ctrSampleType,jdbcType=VARCHAR},
  360. </if>
  361. <if test="ctrRequester != null" >
  362. CTR_Requester = #{ctrRequester,jdbcType=VARCHAR},
  363. </if>
  364. <if test="ctrRequestTime != null" >
  365. CTR_Request_Time = #{ctrRequestTime,jdbcType=TIMESTAMP},
  366. </if>
  367. <if test="ctrRequestDep != null" >
  368. CTR_Request_Dep = #{ctrRequestDep,jdbcType=VARCHAR},
  369. </if>
  370. <if test="ctrExector != null" >
  371. CTR_Exector = #{ctrExector,jdbcType=VARCHAR},
  372. </if>
  373. <if test="ctrExecteTime != null" >
  374. CTR_Execte_Time = #{ctrExecteTime,jdbcType=TIMESTAMP},
  375. </if>
  376. <if test="ctrReceiver != null" >
  377. CTR_Receiver = #{ctrReceiver,jdbcType=VARCHAR},
  378. </if>
  379. <if test="ctrReceiveTime != null" >
  380. CTR_Receive_Time = #{ctrReceiveTime,jdbcType=TIMESTAMP},
  381. </if>
  382. <if test="ctrLabDep != null" >
  383. CTR_Lab_Dep = #{ctrLabDep,jdbcType=VARCHAR},
  384. </if>
  385. <if test="ctrChecker != null" >
  386. CTR_Checker = #{ctrChecker,jdbcType=VARCHAR},
  387. </if>
  388. <if test="ctrCheckTime != null" >
  389. CTR_Check_Time = #{ctrCheckTime,jdbcType=TIMESTAMP},
  390. </if>
  391. <if test="ctrCheckOpinion != null" >
  392. CTR_Check_Opinion = #{ctrCheckOpinion,jdbcType=VARCHAR},
  393. </if>
  394. <if test="ctrIsdel != null" >
  395. CTR_IsDel = #{ctrIsdel,jdbcType=INTEGER},
  396. </if>
  397. <if test="ctrOperationTime != null" >
  398. CTR_Operation_Time = #{ctrOperationTime,jdbcType=TIMESTAMP},
  399. </if>
  400. <if test="ctrOperator != null" >
  401. CTR_Operator = #{ctrOperator,jdbcType=VARCHAR},
  402. </if>
  403. <if test="ctrIsinp != null" >
  404. CTR_IsInp = #{ctrIsinp,jdbcType=INTEGER},
  405. </if>
  406. <if test="ctrReporter != null" >
  407. CTR_Reporter = #{ctrReporter,jdbcType=VARCHAR},
  408. </if>
  409. <if test="ctrReportTime != null" >
  410. CTR_Report_Time = #{ctrReportTime,jdbcType=TIMESTAMP},
  411. </if>
  412. </set>
  413. where CTR_ID = #{ctrId,jdbcType=INTEGER}
  414. </update>
  415. <update id="updateByPrimaryKey" parameterType="com.xinxin.topro.pubservice.mysqlModel.ComTestReport" >
  416. update com_test_report
  417. set PatientNo = #{patientno,jdbcType=VARCHAR},
  418. HI_ID = #{hiId,jdbcType=INTEGER},
  419. DD_DepDm = #{ddDepdm,jdbcType=VARCHAR},
  420. DW_WardDm = #{dwWarddm,jdbcType=VARCHAR},
  421. DB_BedNo = #{dbBedno,jdbcType=VARCHAR},
  422. CTR_Record_ID = #{ctrRecordId,jdbcType=VARCHAR},
  423. CTR_Visit_No = #{ctrVisitNo,jdbcType=VARCHAR},
  424. CTR_Visit_Type = #{ctrVisitType,jdbcType=INTEGER},
  425. CTR_Diag_Name = #{ctrDiagName,jdbcType=VARCHAR},
  426. CTR_Advice_ID = #{ctrAdviceId,jdbcType=VARCHAR},
  427. CTR_Item_Code = #{ctrItemCode,jdbcType=VARCHAR},
  428. CTR_Item_Name = #{ctrItemName,jdbcType=VARCHAR},
  429. CTR_Barcode = #{ctrBarcode,jdbcType=VARCHAR},
  430. CTR_IsMicrobe = #{ctrIsmicrobe,jdbcType=INTEGER},
  431. CTR_Sample_No = #{ctrSampleNo,jdbcType=VARCHAR},
  432. CTR_Sample_Type = #{ctrSampleType,jdbcType=VARCHAR},
  433. CTR_Requester = #{ctrRequester,jdbcType=VARCHAR},
  434. CTR_Request_Time = #{ctrRequestTime,jdbcType=TIMESTAMP},
  435. CTR_Request_Dep = #{ctrRequestDep,jdbcType=VARCHAR},
  436. CTR_Exector = #{ctrExector,jdbcType=VARCHAR},
  437. CTR_Execte_Time = #{ctrExecteTime,jdbcType=TIMESTAMP},
  438. CTR_Receiver = #{ctrReceiver,jdbcType=VARCHAR},
  439. CTR_Receive_Time = #{ctrReceiveTime,jdbcType=TIMESTAMP},
  440. CTR_Lab_Dep = #{ctrLabDep,jdbcType=VARCHAR},
  441. CTR_Checker = #{ctrChecker,jdbcType=VARCHAR},
  442. CTR_Check_Time = #{ctrCheckTime,jdbcType=TIMESTAMP},
  443. CTR_Check_Opinion = #{ctrCheckOpinion,jdbcType=VARCHAR},
  444. CTR_IsDel = #{ctrIsdel,jdbcType=INTEGER},
  445. CTR_Operation_Time = #{ctrOperationTime,jdbcType=TIMESTAMP},
  446. CTR_Operator = #{ctrOperator,jdbcType=VARCHAR},
  447. CTR_IsInp = #{ctrIsinp,jdbcType=INTEGER},
  448. CTR_Reporter = #{ctrReporter,jdbcType=VARCHAR},
  449. CTR_Report_Time = #{ctrReportTime,jdbcType=TIMESTAMP}
  450. where CTR_ID = #{ctrId,jdbcType=INTEGER}
  451. </update>
  452. </mapper>