Commit 69367beb authored by Fuzy's avatar Fuzy

修正

parent f1cddc2e
......@@ -84,7 +84,8 @@ public class WagesController {
@RequestMapping("/lxWages")
public AjaxResult LinXiExcelAnalysisWages(@RequestParam("file") MultipartFile file, @RequestParam String date, @RequestParam String mineId, @RequestParam String identification){
String s = wagesService.linXiExcelAnalysisWages(file, date, mineId, identification);
return new AjaxResult(200, s);
int n = s.equals("请填写excel表类型") ? 500 : s.equals("对照表不完善") ? 500 : 200;
return new AjaxResult(n, s);
}
......
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