Explorar o código

公出撤销BUG修复

anderx %!s(int64=3) %!d(string=hai) anos
pai
achega
54ecc07ee7

+ 1 - 1
src/main/java/com/goafanti/weChat/controller/AdminReleaseApiController.java

@@ -71,7 +71,7 @@ public class AdminReleaseApiController extends CertifyApiController{
 	@RequestMapping(value = "/updatePublicRelease", method = RequestMethod.POST)
 	public Result updatePublicRelease(InputPublicRelease in){
 		Result res = new Result();
-		if (publicReleaseService.checkTime(in)) {
+		if (in.getStatus()!=3&&publicReleaseService.checkTime(in)) {
 			res.getError().add(buildError("公出时段已经被使用!","公出时段已经被使用!"));
 			return res;
 		}