待办配置操作类型为待办时可以不选择提醒人
This commit is contained in:
parent
2fa51a0da6
commit
b13d75a7c3
@ -1,5 +1,6 @@
|
||||
package com.chanko.yunxi.mes.module.heli.service.attentiontodo;
|
||||
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import org.springframework.stereotype.Service;
|
||||
import javax.annotation.Resource;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
@ -63,7 +64,11 @@ public class AttentiontodoServiceImpl implements AttentiontodoService {
|
||||
Map<String, Object> map = (Map<String, Object>) taskDispatchDetail;
|
||||
Object remindmanValue = map.get("remindman");
|
||||
Object type = map.get("type");
|
||||
updateReqVO.setAttr4(remindmanValue.toString());
|
||||
if ("1".equals(type.toString())&&remindmanValue==null){
|
||||
updateReqVO.setAttr4(null);
|
||||
}else {
|
||||
updateReqVO.setAttr4(remindmanValue.toString());
|
||||
}
|
||||
updateReqVO.setAttr5(type.toString());
|
||||
updateReqVO.setAttr2(id + "");
|
||||
updateReqVO.setId(null);
|
||||
|
@ -24,6 +24,7 @@ import com.chanko.yunxi.mes.module.heli.dal.dataobject.orderys.OrderYsDO;
|
||||
import com.chanko.yunxi.mes.module.heli.dal.dataobject.projectorder.ProjectOrderDO;
|
||||
import com.chanko.yunxi.mes.module.heli.dal.dataobject.projectorder.ProjectOrderSubDO;
|
||||
import com.chanko.yunxi.mes.module.heli.dal.dataobject.serialnumber.SerialNumberDO;
|
||||
import com.chanko.yunxi.mes.module.heli.dal.mysql.bdgzsomthing.bdgzsomthingMapper;
|
||||
import com.chanko.yunxi.mes.module.heli.dal.mysql.deliverorder.DeliverOrderSubMapper;
|
||||
import com.chanko.yunxi.mes.module.heli.dal.mysql.orderys.OrderYsMapper;
|
||||
import com.chanko.yunxi.mes.module.heli.dal.mysql.projectorder.ProjectOrderMapper;
|
||||
@ -106,7 +107,7 @@ public class ProjectOrderServiceImpl implements ProjectOrderService {
|
||||
@Autowired
|
||||
private AttentiontodoService attentiontodoService;
|
||||
@Autowired
|
||||
private com.chanko.yunxi.mes.module.heli.dal.mysql.bdgzsomthing.bdgzsomthingMapper bdgzsomthingMapper;
|
||||
private bdgzsomthingMapper bdgzsomthingMapper;
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
|
Loading…
Reference in New Issue
Block a user