diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/entity/Tickets.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/entity/Tickets.java index 413620ff..8c9af228 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/entity/Tickets.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/entity/Tickets.java @@ -177,4 +177,7 @@ public class Tickets extends TenantBaseDO { /** 工单进行状态 */ private String ticketsWorkStatus; + + /** 工单完成情况(0:未完成,1:已完成) */ + private String isFinish; } diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/TicketsServiceImpl.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/TicketsServiceImpl.java index b752a2a9..c7655f73 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/TicketsServiceImpl.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/TicketsServiceImpl.java @@ -26,6 +26,10 @@ public class TicketsServiceImpl extends ServiceImpl impl **/ @Override public void updateTickets(List ticketIds){ - baseMapper.update(new LambdaUpdateWrapper().in(Tickets::getId, ticketIds).set(Tickets::getTicketsStatus, "02")); + baseMapper.update(new LambdaUpdateWrapper() + .in(Tickets::getId, ticketIds) + .set(Tickets::getTicketsStatus, "02") + .set(Tickets::getIsFinish, "1") + ); } } diff --git a/dl-module-repair/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/DlRepairTicketsServiceImpl.java b/dl-module-repair/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/DlRepairTicketsServiceImpl.java index 3a005657..43cf00c4 100644 --- a/dl-module-repair/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/DlRepairTicketsServiceImpl.java +++ b/dl-module-repair/src/main/java/cn/iocoder/yudao/module/tickets/service/impl/DlRepairTicketsServiceImpl.java @@ -424,9 +424,11 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl