Commit 8106a796 by lcx

Merge branch 'v2020morge' into v2020morge-xlsx

parents e578045e fe4853ca
...@@ -179,7 +179,7 @@ public ApiResponse Prejudge([FromRoute] int allotId) ...@@ -179,7 +179,7 @@ public ApiResponse Prejudge([FromRoute] int allotId)
if (!string.IsNullOrEmpty(filePath) && FileHelper.IsExistFile(filePath)) if (!string.IsNullOrEmpty(filePath) && FileHelper.IsExistFile(filePath))
{ {
var data = configService.CheckHasNewDepartmentOrCategory(allotId); var data = configService.CheckHasNewDepartmentOrCategory(allotId);
return new ApiResponse(ResponseType.Fail, data); return new ApiResponse(ResponseType.OK, new { haserror = (data != null && data.Any()), data });
} }
return new ApiResponse(ResponseType.OK); return new ApiResponse(ResponseType.OK);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment