|
@@ -482,8 +482,10 @@ public class ReportController {
|
|
|
projectAuditorId[i] = null;
|
|
|
}
|
|
|
} else if (projectAuditorId.length < projectId.length) {
|
|
|
- //自动扩充数组大小
|
|
|
- projectAuditorId = Arrays.copyOf(projectAuditorId, projectId.length);
|
|
|
+ //数组大小不对,后端无法确定项目和审核人的对应关系,必须前端全部传递过来
|
|
|
+ HttpRespMsg msg = new HttpRespMsg();
|
|
|
+ msg.setError("请检查每个项目的审核人是否设置");
|
|
|
+ return msg;
|
|
|
}
|
|
|
|
|
|
if (overtimeHours == null) {
|