|
|
@@ -57,7 +57,6 @@ public class PlanNewCommonController {
|
|
|
@PostMapping("savePlan")
|
|
|
public Mono<RStatus<String>> savePlan(@RequestBody PlanReq saveRequest) {
|
|
|
|
|
|
- if (saveRequest.getType() == 3) {
|
|
|
if (StrUtil.isBlank(saveRequest.getPlanNewId())) {
|
|
|
// 新增
|
|
|
return this.savePlanCommon(saveRequest);
|
|
|
@@ -65,8 +64,6 @@ public class PlanNewCommonController {
|
|
|
// 编辑
|
|
|
return this.updatePlanCommon(saveRequest);
|
|
|
}
|
|
|
- }
|
|
|
- throw new BaseException("type类型错误");
|
|
|
}
|
|
|
|
|
|
/**
|