From e29f147aab5b0b0b794d611b522b67b94423e3cf Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期四, 07 九月 2023 17:56:57 +0800 Subject: [PATCH] 修改bug --- inspection-server/src/main/resources/mapper/PlanMapper.xml | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/inspection-server/src/main/resources/mapper/PlanMapper.xml b/inspection-server/src/main/resources/mapper/PlanMapper.xml index c0df58e..cf40804 100644 --- a/inspection-server/src/main/resources/mapper/PlanMapper.xml +++ b/inspection-server/src/main/resources/mapper/PlanMapper.xml @@ -39,9 +39,9 @@ internal, test_value testValue, test_state testState, - u.id uId, + u.id uId, u.name checker, - isu.id isuId, + isu.id isuId, isu.classify_id classId, equipment_name instrumentname from lims_laboratory.inspection_product ip @@ -59,6 +59,9 @@ <if test="beginTime != null and endTime != null"> and i.start_time between #{beginTime} and #{endTime} </if> + <if test="isLookMe != false and id != null"> + and ip.user_id=#{id} + </if> </where> </select> </mapper> -- Gitblit v1.9.3