From 6484c3727272401fe5e3c56e565eb1e8a42c4971 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080> Date: Fri, 15 Dec 2023 11:17:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=B3=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AftersalesWorkOrderController.java | 2 +- .../mapper/AftersalesWorkOrderMapper.java | 6 ++ .../mapper/AftersalesWorkOrderMapper.xml | 58 ++++++++++--------- .../service/IAftersalesWorkOrderService.java | 5 ++ .../impl/AftersalesWorkOrderServiceImpl.java | 14 ++++- 5 files changed, 55 insertions(+), 30 deletions(-) diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java index 656ce422f..e2a6a8b0b 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/controller/AftersalesWorkOrderController.java @@ -169,7 +169,7 @@ public class AftersalesWorkOrderController extends BladeController { // @Scheduled(cron = "0 0/1 * * * ?") public void updateModifyClaimStatus() { log.info("查询处理超时的数据>>>>>>>>"); - aftersalesWorkOrderService.getIsItTimeout(); + aftersalesWorkOrderService.updateModifyClaimStatus(); } diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.java index 45267ac67..262cde433 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.java +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.java @@ -78,4 +78,10 @@ public interface AftersalesWorkOrderMapper extends BaseMapper getListSettlement(IPage page,@Param("param") AftersalesSettlementEntity aftersalesSettlementEntity); + + /** + * 查询是否可以申述 + * @return + */ + List getWholeListSettlement(); } diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml index 754ac2d4a..ab7dc09fc 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml @@ -139,36 +139,40 @@ date_format(from_unixtime(create_time),'%Y-%m-%d') = date_format(now(),'%Y-%m-%d + diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/IAftersalesWorkOrderService.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/IAftersalesWorkOrderService.java index 7dfc2bbd0..c819b0c3d 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/IAftersalesWorkOrderService.java +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/IAftersalesWorkOrderService.java @@ -229,4 +229,9 @@ public interface IAftersalesWorkOrderService extends BaseService settlementEntityList = baseMapper.getWholeListSettlement(); + + + } + /** * 添加处理处理方信息 * @param aftersalesWorkOrderDTO