From f50644960399b39998daf15905331daa3ea5b8fd Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080> Date: Fri, 15 Dec 2023 14:09:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AE=8C=E7=BB=93=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/AftersalesSettlementEntity.java | 5 +++++ .../AftersalesWorkOrderController.java | 2 +- .../mapper/AftersalesWorkOrderMapper.xml | 4 ++-- .../impl/AftersalesWorkOrderServiceImpl.java | 19 ++++++++++++++++--- 4 files changed, 24 insertions(+), 6 deletions(-) diff --git a/blade-service-api/logpm-aftersales-api/src/main/java/com/logpm/aftersales/entity/AftersalesSettlementEntity.java b/blade-service-api/logpm-aftersales-api/src/main/java/com/logpm/aftersales/entity/AftersalesSettlementEntity.java index fd7eba854..33463b8b0 100644 --- a/blade-service-api/logpm-aftersales-api/src/main/java/com/logpm/aftersales/entity/AftersalesSettlementEntity.java +++ b/blade-service-api/logpm-aftersales-api/src/main/java/com/logpm/aftersales/entity/AftersalesSettlementEntity.java @@ -7,6 +7,7 @@ import lombok.EqualsAndHashCode; import org.springblade.core.tenant.mp.TenantEntity; import java.math.BigDecimal; +import java.util.Date; /** * @author 12702 @@ -61,6 +62,10 @@ public class AftersalesSettlementEntity extends TenantEntity { private String workOrderStatus; //工单状态名称 private String workOrderStatusName; + /** + * 完结时间 + */ + private Date overTime; 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 e2a6a8b0b..31485a653 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 @@ -168,7 +168,7 @@ public class AftersalesWorkOrderController extends BladeController { @XxlJob("modifyClaimStatus") // @Scheduled(cron = "0 0/1 * * * ?") public void updateModifyClaimStatus() { - log.info("查询处理超时的数据>>>>>>>>"); + log.info("修改理赔工单是否可以申述>>>>>>>>"); aftersalesWorkOrderService.updateModifyClaimStatus(); } 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 ab7dc09fc..a630adcad 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 @@ -143,10 +143,10 @@ date_format(from_unixtime(create_time),'%Y-%m-%d') = date_format(now(),'%Y-%m-%d select las.work_order_number workOrderNumber,las.business_name businessName,las.brand_name brandName,las.mall_name mallName,las.waybill_number waybillNumber, las.work_order_type workOrderType,las.result_type resultType,las.laprId, las.discovery_node discoveryNode, las.result_description resultDescription, las.vehicle_route vehicleRoute,las.indemnitor,las.reason,las.money,las.lawoId,las.create_time createTime,las.process_number processNumber, - las.work_order_status workOrderStatus + las.work_order_status workOrderStatus,las.over_time overTime,las.business_id businessId from logpm_aftersales_settlement las - + and las.business_id = #{ param.businessId }