feat():状态修改
This commit is contained in:
@@ -60,6 +60,8 @@ public class CrmPdiPlanServiceImpl extends ServiceImpl<CrmPdiPlanMapper, CrmPdiP
|
||||
* @return 是否添加成功
|
||||
*/
|
||||
public boolean addCrmPdiPlan(CrmPdiPlan crmPdiPlan) {
|
||||
crmPdiPlan.setStatus("READY");
|
||||
|
||||
return this.save(crmPdiPlan);
|
||||
}
|
||||
|
||||
@@ -114,7 +116,7 @@ public class CrmPdiPlanServiceImpl extends ServiceImpl<CrmPdiPlanMapper, CrmPdiP
|
||||
queryWrapper.eq("status", form.getStatus());
|
||||
} else {
|
||||
// 如果没传状态,默认查 NEW 和 READY
|
||||
queryWrapper.in("status", "新计划", "准备好");
|
||||
queryWrapper.in("status", "NEW", "READY");
|
||||
}
|
||||
|
||||
// 开始日期
|
||||
|
||||
Reference in New Issue
Block a user