|
|
@@ -79,8 +79,7 @@ public class AdminDemandApiController extends CertifyApiController {
|
|
|
return res;
|
|
|
}
|
|
|
Demand d = demandService.selectByPrimaryKey(id);
|
|
|
- if (null == d || !DemandReleaseStatus.RELEASED.getCode().equals(d.getReleaseStatus())
|
|
|
- || !DeleteStatus.UNDELETE.getCode().equals(d.getDeletedSign())
|
|
|
+ if (null == d|| !DeleteStatus.UNDELETE.getCode().equals(d.getDeletedSign())
|
|
|
|| !DemandAuditStatus.AUDITED.getCode().equals(d.getAuditStatus())) {
|
|
|
res.getError().add(buildError("", "当前状态无法匹配!"));
|
|
|
return res;
|