Browse Source

Merge branch 'test' of jishutao/kede-server into prod

anderx 3 years ago
parent
commit
f81097ab70

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

@@ -58,6 +58,7 @@ public class AdminReleaseApiController extends CertifyApiController{
 			res.getError().add(buildError("公出时段已经被使用!","公出时段已经被使用!"));
 			return res;
 		}
+		if(in.getAssist()==null)in.setAssist(0);
 		if (in.getAssist()==1&&in.getAssistAid()==null) {
 			res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"协单人员"));
 			return res;