From 5325dfb2fda7bd21bcbcf3c8c10be1ac95793d86 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 05 八月 2024 20:40:48 +0800 Subject: [PATCH] 检验下单的委托人如果制单人的委托单位与选择的委托单位不一致,则委托人必须要进行填写,如果一致那么委托人就默认是制单人+.检验设备第一次进来直接所有样品的这个项目全部使用该设备,第二次修改就只针对当前样品 --- performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml b/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml index e80061d..50c8939 100644 --- a/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml +++ b/performance-server/src/main/resources/mapper/EvaluateGroupMapper.xml @@ -25,7 +25,7 @@ from evaluate_group eg left join evaluate e on eg.evaluate_id = e.id left join user u on e.user_id = u.id - left join department_lims dl on depart_lims_id like concat('%',dl.id,'%') + left join department_lims dl on FIND_IN_SET(dl.id, depart_lims_id) where 1=1 <if test="month!=null and month!=''"> and e.month=#{month} -- Gitblit v1.9.3