Browse Source

Merge remote-tracking branch 'origin/master' into test

anderx 7 years ago
parent
commit
436311fe1b

+ 1 - 2
src/main/java/com/goafanti/demand/controller/AdminDemandApiController.java

@@ -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;