判断销售订单状态为全部发货提醒

This commit is contained in:
Ledo 2025-02-16 16:07:23 +08:00
parent da85424227
commit 659472c5b3

View File

@ -1037,7 +1037,9 @@ public class bdgzsomthingServiceImpl implements bdgzsomthingService {
String[] split = ids.split(","); String[] split = ids.split(",");
for (String s : split) { for (String s : split) {
ProjectOrderDO projectOrderDO = projectOrderMapper.selectProjectOrderById(Long.valueOf(s)); ProjectOrderDO projectOrderDO = projectOrderMapper.selectProjectOrderById(Long.valueOf(s));
if (projectOrderDO.getDeliveryStatus() == 3){
bdgzsomthingDO BdgzsomthingDO = new bdgzsomthingDO(); bdgzsomthingDO BdgzsomthingDO = new bdgzsomthingDO();
BdgzsomthingDO.setThingname(attentiontodoRespVO.getEvent());//事件名称 BdgzsomthingDO.setThingname(attentiontodoRespVO.getEvent());//事件名称
BdgzsomthingDO.setThings("订单编号:"+projectOrderDO.getCode()+"发货日期到期一年");//事件名称 BdgzsomthingDO.setThings("订单编号:"+projectOrderDO.getCode()+"发货日期到期一年");//事件名称
BdgzsomthingDO.setAttr2(projectOrderDO.getCode());//因为不用跳转所以为null BdgzsomthingDO.setAttr2(projectOrderDO.getCode());//因为不用跳转所以为null
@ -1098,7 +1100,7 @@ public class bdgzsomthingServiceImpl implements bdgzsomthingService {
BdgzsomthingDO1.setClicktime(attentiontodoRespVO.getRemindtime());//提醒周期 BdgzsomthingDO1.setClicktime(attentiontodoRespVO.getRemindtime());//提醒周期
BdgzsomthingDO1.setTenantId(attentiontodoRespVO.getTxrid()); BdgzsomthingDO1.setTenantId(attentiontodoRespVO.getTxrid());
// BdgzsomthingDO.setShowname(new Date());比较创建时间,不用单独填写 // BdgzsomthingDO.setShowname(new Date());比较创建时间,不用单独填写
BdgzsomthingDO1.setDborgz("待办"); BdgzsomthingDO1.setDborgz("待办");
BdgzsomthingDO1.setClick(projectOrderDO.getBusinessManName());//提醒人 BdgzsomthingDO1.setClick(projectOrderDO.getBusinessManName());//提醒人
if(attentiontodoRespVO.getLevel().equals("1")){ if(attentiontodoRespVO.getLevel().equals("1")){
BdgzsomthingDO1.setLevel("紧急"); BdgzsomthingDO1.setLevel("紧急");
@ -1139,6 +1141,8 @@ public class bdgzsomthingServiceImpl implements bdgzsomthingService {
} }
} }
} }
}
} }
} }