|
@@ -188,7 +188,8 @@ public class TaskController {
|
|
//针对依斯呗的校验
|
|
//针对依斯呗的校验
|
|
if(user.getCompanyId()==3092){
|
|
if(user.getCompanyId()==3092){
|
|
Project project = projectService.getById(task.getProjectId());
|
|
Project project = projectService.getById(task.getProjectId());
|
|
- if(task.getGroupId()!=null&&(project.getCategory()!=null&&project.getCategory()==696)){
|
|
|
|
|
|
+ //除了报价项目 售后报价项目和研发项目不管控 其它项目都管控
|
|
|
|
+ if(task.getGroupId()!=null&&(project.getCategory()!=null && !(project.getCategory()==644 || project.getCategory()==647 || project.getCategory()==697))){
|
|
TaskGroup taskGroup = taskGroupService.getById(task.getGroupId());
|
|
TaskGroup taskGroup = taskGroupService.getById(task.getGroupId());
|
|
if(taskGroup.getManDay()==null){
|
|
if(taskGroup.getManDay()==null){
|
|
msg.setError("创建失败,请先分配任务分组的预估工时");
|
|
msg.setError("创建失败,请先分配任务分组的预估工时");
|