|
@@ -14,6 +14,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springblade.common.utils.BaseUtils;
|
|
|
+import org.springblade.core.log.exception.ServiceException;
|
|
|
import org.springblade.core.mp.base.BaseService;
|
|
|
import org.springblade.core.mp.support.Condition;
|
|
|
import org.springblade.core.mp.support.Query;
|
|
@@ -86,7 +87,7 @@ public class WbsParamController {
|
|
|
List<WbsParamBean> wps = pb.getWps();
|
|
|
String names=checkRepeat(wps);
|
|
|
if(names!=null){
|
|
|
- return R.success("存在重复参数【"+names+"】,删除多余项再保存");
|
|
|
+ return R.fail("存在重复参数【"+names+"】,删除多余项再保存");
|
|
|
}
|
|
|
/*执行顺序,删>增>改*/
|
|
|
if (Func.isNotEmpty(pb.getDelIds())) {
|