From 5325dfb2fda7bd21bcbcf3c8c10be1ac95793d86 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 05 八月 2024 20:40:48 +0800 Subject: [PATCH] 检验下单的委托人如果制单人的委托单位与选择的委托单位不一致,则委托人必须要进行填写,如果一致那么委托人就默认是制单人+.检验设备第一次进来直接所有样品的这个项目全部使用该设备,第二次修改就只针对当前样品 --- cnas-server/src/main/resources/mapper/LaboratoryMapper.xml | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml b/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml index d4da968..1251b4f 100644 --- a/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml +++ b/cnas-server/src/main/resources/mapper/LaboratoryMapper.xml @@ -4,16 +4,16 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.yuanchu.mom.mapper.LaboratoryMapper"> - <select id="selectItemParameter" resultType="com.yuanchu.mom.pojo.Laboratory"> select * from ( select l.id, laboratory_name, laboratory_number, + laboratory_code, phone_number, head, - address, + l.address, u1.name create_user_name, l.create_time from laboratory l @@ -23,4 +23,20 @@ ${ew.customSqlSegment} </if> </select> + + <select id="obtainItemParameterList" resultType="java.lang.Object"> + select * from + ( + select l.id, + laboratory_name, + laboratory_number, + phone_number, + head, + l.address, + u1.name create_user_name, + l.create_time + from laboratory l + left join user u1 on l.create_user = u1.id + ) a + </select> </mapper> -- Gitblit v1.9.3