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