From d88d0c64c357eb2a5f0438c0eb6b5a294ab8a0e5 Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期二, 22 八月 2023 08:58:32 +0800
Subject: [PATCH] 删除引入jar包
---
inspection-server/src/main/resources/mapper/InspectionProductMapper.xml | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/inspection-server/src/main/resources/mapper/InspectionProductMapper.xml b/inspection-server/src/main/resources/mapper/InspectionProductMapper.xml
new file mode 100644
index 0000000..594632c
--- /dev/null
+++ b/inspection-server/src/main/resources/mapper/InspectionProductMapper.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
+<mapper namespace="com.yuanchu.limslaboratory.mapper.InspectionProductMapper">
+ <update id="upda">
+ update lims_laboratory.inspection_product
+ set test_state=null
+ where id = #{id}
+ and state = 1
+ </update>
+
+ <!--鏍规嵁妫�楠屽崟id鏌ヨ妫�楠岄」鐩殑妫�楠岀粨鏋�-->
+ <select id="getresult" resultType="java.lang.Integer">
+ select test_state
+ from lims_laboratory.inspection_product
+ where state = 1
+ and inspection_material_id = (select id from lims_laboratory.inspection_material where inspection_id = #{id})
+ </select>
+ <!--鏍规嵁妫�楠屾牱鍝乮d浣滃簾妫�楠岄」鐩�-->
+ <update id="updat">
+ update lims_laboratory.inspection_product
+ set state=0
+ where inspection_material_id=#{id}
+ </update>
+</mapper>
\ No newline at end of file
--
Gitblit v1.9.3