diff --git a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java index 1f6a41fc..8facf6b1 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java +++ b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java @@ -113,12 +113,4 @@ public class PrintLogServiceImpl extends ServiceImpl i return printLogMapper.getPrintLogListByCondition(printLog); } - @Scheduled(cron = "0 0/3 20 * * ? ") - public void myTask(){ - List list = printLogService.list(); - for (PrintLog printLog:list) { - printLog.setModifiedDateTime(LocalDateTime.now()); - } - printLogService.updateBatchById(list); - } } \ No newline at end of file diff --git a/dispatch/src/main/resources/mapper/CallItemMapper.xml b/dispatch/src/main/resources/mapper/CallItemMapper.xml index 816e7c65..c187ec91 100644 --- a/dispatch/src/main/resources/mapper/CallItemMapper.xml +++ b/dispatch/src/main/resources/mapper/CallItemMapper.xml @@ -1090,7 +1090,7 @@ AND ZCI.CALL_TYPE = #{callItem.callType} - AND '%' ||#{user} || '%' LIKE ZSD.EMPLOYEE + AND ZSD.EMPLOYEE LIKE '%' ||#{user} || '%' GROUP BY ZCI.SITE, CF.VALUE, ZCI.STATUS ,WC.WORK_CENTER, IM.ITEM, ZSD.BLANKING_SIZE, CP.ITEM, ZCI.RESRCE, ZCI.CALL_TYPE,ZCI.SHOP_ORDER ,ZCI.COMPONENT_BO , WCT.DESCRIPTION ,IT.DESCRIPTION , ITT.DESCRIPTION ) MML