|
|
@@ -160,10 +160,10 @@ public class UserJtBusinessController extends CertifyApiController{
|
|
|
|
|
|
JtBusinessProject currentP=jtBusinessService.getBusinessProjectDetail(id);
|
|
|
Integer audit=currentP.getAuditStatus();
|
|
|
- if(audit != ProjectAuditStatus.CREATE.getCode() && audit !=ProjectAuditStatus.REVOKE.getCode()&& audit!=ProjectAuditStatus.UNAUDITED.getCode()){
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "当前状态无法发布"));
|
|
|
- return res;
|
|
|
- }
|
|
|
+// if(audit != ProjectAuditStatus.CREATE.getCode() && audit !=ProjectAuditStatus.REVOKE.getCode()&& audit!=ProjectAuditStatus.UNAUDITED.getCode()){
|
|
|
+// res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "当前状态无法发布"));
|
|
|
+// return res;
|
|
|
+// }
|
|
|
JtBusinessProject jtBusinessProject = new JtBusinessProject();
|
|
|
jtBusinessProject.setId(id);
|
|
|
jtBusinessProject.setAuditStatus(ProjectAuditStatus.SUBMIT.getCode());
|