This commit is contained in:
xyc 2025-05-16 13:06:32 +08:00
parent 58e87424ac
commit 8c487c02ec
2 changed files with 5 additions and 3 deletions

View File

@ -92,4 +92,6 @@ public class InspectionAppointment extends TenantBaseDO
private String adressDetail; private String adressDetail;
@TableField(exist = false) @TableField(exist = false)
private String isUse; private String isUse;
@TableField(exist = false)
private String owner;
} }

View File

@ -188,8 +188,8 @@ public class InspectionAppointmentServiceImpl extends ServiceImpl<InspectionAppo
// appointment.getAppointmentDay(),partners.getPartnerName(),partners.getAddress(),sysUser.getNickname()+" "+sysUser.getMobile() // appointment.getAppointmentDay(),partners.getPartnerName(),partners.getAddress(),sysUser.getNickname()+" "+sysUser.getMobile()
//// },ownUser.getMobile(),"1400852709","机动车管家小程序","2112754"); //// },ownUser.getMobile(),"1400852709","机动车管家小程序","2112754");
//// } //// }
// SendSmsUtil.sendMsgCommon(null SendSmsUtil.sendMsgCommon(null
// ,ownUser.getMobile(),"1400852709","蓝安汽车销售有限公司","2386324"); ,ownUser.getMobile(),"1400852709","蓝安汽车销售有限公司","2386324");
} }
} else { } else {
if (StringUtils.isNotEmpty(appointment.getOtherPhone())) { if (StringUtils.isNotEmpty(appointment.getOtherPhone())) {
@ -233,7 +233,7 @@ public class InspectionAppointmentServiceImpl extends ServiceImpl<InspectionAppo
if (ObjectUtil.isNotEmpty(appointment.getTime())) { if (ObjectUtil.isNotEmpty(appointment.getTime())) {
day += " " + appointment.getTime(); day += " " + appointment.getTime();
} }
String msg = String.format(InspectionConstants.INSPECTION_NOTICE_TEMPLATE_CUSTOMER_APPOINTMENT, appointment.getBuyName() == null ? phone : appointment.getBuyName(), goods.getTitle(), sku.getSkuName(), appointment.getAppointmentDay(), day, phone); String msg = String.format(InspectionConstants.INSPECTION_NOTICE_TEMPLATE_CUSTOMER_APPOINTMENT, appointment.getOwner() == null ? phone : appointment.getOwner(), goods.getTitle(), sku.getSkuName(), appointment.getAppointmentDay(), day, phone);
for (UserDTO userListByCode : userListByCodes) { for (UserDTO userListByCode : userListByCodes) {
// 添加消息队列 // 添加消息队列
inspectionSocket.sendMessage("客户预约", userListByCode.getId().toString()); inspectionSocket.sendMessage("客户预约", userListByCode.getId().toString());