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