|
|
@@ -227,12 +227,12 @@ public class UserDemandApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "需求状态错误", "需求状态"));
|
|
|
return res;
|
|
|
}
|
|
|
- if (DemandAuditStatus.CREATE.getCode() != auditStatus
|
|
|
- && DemandAuditStatus.UNAUDITED.getCode() != auditStatus
|
|
|
- && DemandAuditStatus.REVOKE.getCode() != auditStatus) {
|
|
|
- res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "当前状态无法提交审核!"));
|
|
|
- return res;
|
|
|
- }
|
|
|
+// if (DemandAuditStatus.CREATE.getCode() != auditStatus
|
|
|
+// && DemandAuditStatus.UNAUDITED.getCode() != auditStatus
|
|
|
+// && DemandAuditStatus.REVOKE.getCode() != auditStatus) {
|
|
|
+// res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "当前状态无法提交审核!"));
|
|
|
+// return res;
|
|
|
+// }
|
|
|
Demand d = new Demand();
|
|
|
d.setId(id);
|
|
|
// d.setReleaseDate(new Date());
|