From ce694dfc112c8748c3ae9df7143c381a546b9e3a Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Mon, 25 Nov 2024 11:22:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/material/repair/RepairAuditDetailsMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/repair/RepairAuditDetailsMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/repair/RepairAuditDetailsMapper.xml index 940f785d..3cc35f19 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/repair/RepairAuditDetailsMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/repair/RepairAuditDetailsMapper.xml @@ -127,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join ma_machine mma on rad.ma_id= mma.ma_id LEFT JOIN sys_user su ON su.user_id = tk.create_by WHERE - tk.task_type = #{taskTypeCode} + tk.task_type = #{taskType} AND (locate(#{keyword}, su.nick_name) > 0 or locate(#{keyword}, tk.CODE) > 0 @@ -297,7 +297,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN ma_type_repair mtr ON mtr.type_id = rad.type_id LEFT JOIN sys_user su1 ON su1.user_id = mtr.user_id WHERE - tk.task_type = #{taskTypeCode} + tk.task_type = #{taskType} AND (locate(#{keyword}, su.nick_name) > 0 or locate(#{keyword}, tk.CODE) > 0