修改结算完成工单逻辑
This commit is contained in:
parent
97edaf4046
commit
e51d404fe9
@ -177,4 +177,7 @@ public class Tickets extends TenantBaseDO {
|
||||
|
||||
/** 工单进行状态 */
|
||||
private String ticketsWorkStatus;
|
||||
|
||||
/** 工单完成情况(0:未完成,1:已完成) */
|
||||
private String isFinish;
|
||||
}
|
||||
|
@ -26,6 +26,10 @@ public class TicketsServiceImpl extends ServiceImpl<TicketsMapper, Tickets> impl
|
||||
**/
|
||||
@Override
|
||||
public void updateTickets(List<String> ticketIds){
|
||||
baseMapper.update(new LambdaUpdateWrapper<Tickets>().in(Tickets::getId, ticketIds).set(Tickets::getTicketsStatus, "02"));
|
||||
baseMapper.update(new LambdaUpdateWrapper<Tickets>()
|
||||
.in(Tickets::getId, ticketIds)
|
||||
.set(Tickets::getTicketsStatus, "02")
|
||||
.set(Tickets::getIsFinish, "1")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -424,10 +424,12 @@ public class DlRepairTicketsServiceImpl extends ServiceImpl<DlRepairTicketsMappe
|
||||
repairOrderInfo.setPayType(repairTicketsRespVO.getPayType());
|
||||
repairOrderInfoService.updateById(repairOrderInfo);
|
||||
// 更新工单
|
||||
// 在这里把工单的状态更新为已完成
|
||||
// 在这里把工单的状态更新为已完成---需要判断,如果是线上支付,需要在支付回调更新
|
||||
if (!repairTicketsRespVO.getPayType().equals("01")){
|
||||
repairTicketsRespVO.setIsFinish("1");
|
||||
baseMapper.updateById(repairTicketsRespVO);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 客户信息和车辆信息 新增、修改
|
||||
|
Loading…
Reference in New Issue
Block a user