|
|
@@ -598,13 +598,13 @@ public class AdminTechProjectApiController extends CertifyApiController {
|
|
|
|
|
|
/** 项目立项 **/
|
|
|
@RequestMapping(value = "/setUpProject", method = RequestMethod.GET)
|
|
|
- public Result setUpProject(String orderNo,String signDate,String signComment){
|
|
|
+ public Result setUpProject(String orderNo,String signComment){
|
|
|
Result res = new Result();
|
|
|
if(StringUtils.isBlank(orderNo)){
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "订单编号"));
|
|
|
return res;
|
|
|
}
|
|
|
- orderServiceImpl.updateSetUpProject(orderNo,signDate,signComment);
|
|
|
+ orderServiceImpl.updateSetUpProject(orderNo,signComment);
|
|
|
return res;
|
|
|
}
|
|
|
|
|
|
@@ -890,4 +890,21 @@ public class AdminTechProjectApiController extends CertifyApiController {
|
|
|
techProjectService.updateProjectTask(task);
|
|
|
return res;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 撤项或结项
|
|
|
+ * @param contractId
|
|
|
+ * @param operatorType
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/revokeOrComplete",method = RequestMethod.GET)
|
|
|
+ public Result revokeOrComplete(String contractId,Integer operatorType,String completeComment){
|
|
|
+ Result res = new Result();
|
|
|
+ if(StringUtils.isBlank(contractId) || operatorType == null){
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"","订单编号和操作类型"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ techProjectService.updateRevokeOrComplete(contractId,operatorType,completeComment);
|
|
|
+ return res;
|
|
|
+ }
|
|
|
}
|