|
|
@@ -639,8 +639,8 @@ public class OrderProjectApiController extends CertifyApiController {
|
|
|
* 项目暂停
|
|
|
*
|
|
|
*/
|
|
|
- @RequestMapping(value = "/addProjectSotp" ,method = RequestMethod.POST)
|
|
|
- public Result addProjectSotp(@Validated InputProjectSotp in,BindingResult bindingResult){
|
|
|
+ @RequestMapping(value = "/addProjectStop" ,method = RequestMethod.POST)
|
|
|
+ public Result addProjectStop(@Validated InputProjectStop in,BindingResult bindingResult){
|
|
|
Result res = new Result();
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
res.getError().add(buildErrorByMsg(bindingResult.getFieldError().getDefaultMessage(),
|
|
|
@@ -651,15 +651,15 @@ public class OrderProjectApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"编号","编号"));
|
|
|
return res;
|
|
|
}
|
|
|
- return res.data(orderProjectService.addProjectSotp( in));
|
|
|
+ return res.data(orderProjectService.addProjectStop( in));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 项目暂停
|
|
|
*
|
|
|
*/
|
|
|
- @RequestMapping(value = "/updateProjectSotp" ,method = RequestMethod.POST)
|
|
|
- public Result updateProjectSotp(@Validated InputProjectSotp in,BindingResult bindingResult){
|
|
|
+ @RequestMapping(value = "/updateProjectStop" ,method = RequestMethod.POST)
|
|
|
+ public Result updateProjectStop(@Validated InputProjectStop in,BindingResult bindingResult){
|
|
|
Result res = new Result();
|
|
|
if (bindingResult.hasErrors()) {
|
|
|
res.getError().add(buildErrorByMsg(bindingResult.getFieldError().getDefaultMessage(),
|
|
|
@@ -670,7 +670,7 @@ public class OrderProjectApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"暂停编号","暂停编号"));
|
|
|
return res;
|
|
|
}
|
|
|
- return res.data(orderProjectService.updateProjectSotp(in));
|
|
|
+ return res.data(orderProjectService.updateProjectStop(in));
|
|
|
}
|
|
|
|
|
|
/**
|