瀏覽代碼

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

anderx 3 年之前
父節點
當前提交
f81097ab70
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/goafanti/weChat/controller/AdminReleaseApiController.java

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