From fb9d3908beba9c0da156ed36d7f6b7751f50453c Mon Sep 17 00:00:00 2001 From: zpl Date: Mon, 23 Aug 2021 19:51:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dispatch/src/main/resources/mapper/CallItemMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 5eac00049249ca4570503ebe9fe3e455892ca9e6 Mon Sep 17 00:00:00 2001 From: zpl Date: Tue, 24 Aug 2021 08:35:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/common/service/impl/PrintLogServiceImpl.java | 8 -------- 1 file changed, 8 deletions(-) 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