Compare commits

...

2 Commits

Author SHA1 Message Date
xiaofajia
fae6ae4882 预约了服务顾问,消息带上 2024-11-07 11:53:08 +08:00
xiaofajia
1e0df9f82b 加上维修工单子项状态 2024-11-07 11:07:10 +08:00
2 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,7 @@ public class DlRepairBookingServiceImpl extends ServiceImpl<DlRepairBookingMappe
// 选择了服务顾问
if (ObjectUtil.isNotEmpty(repairBookingRespVO.getAdviserId())){
// 发送消息通知
repairWorkerService.sentMessage(Long.valueOf(repairBookingRespVO.getAdviserId()), message);
repairWorkerService.sentMessage(Long.valueOf(repairBookingRespVO.getAdviserId()), message + ",预约的服务顾问为:" + repairBookingRespVO.getAdviserName());
}else {
// 没选服务顾问
// 获取所有的服务顾问

View File

@ -98,6 +98,7 @@ public class DlRepairTitemServiceImpl extends ServiceImpl<DlRepairTitemMapper, D
titem.setItemCount(dlRepairTitemReqVO.getItemCount());
titem.setItemPrice(dlRepairTitemReqVO.getItemPrice());
titem.setItemDiscount(dlRepairTitemReqVO.getItemDiscount());
titem.setItemStatus(dlRepairTitemReqVO.getItemStatus());
// 计算总价
BigDecimal total = titem.getItemPrice().multiply(BigDecimal.valueOf(titem.getItemCount())).multiply(titem.getItemDiscount());
titem.setItemMoney(total);