修改新生信息导出功能

This commit is contained in:
2025-09-06 21:53:55 +08:00
parent 15fb54dc10
commit 28312eadc3

View File

@@ -268,27 +268,31 @@ public class SrsStuRegController extends BaseController
entity.setRegStatus("未激活"); entity.setRegStatus("未激活");
break; break;
} }
switch (entity.getIsLoan()){ if(entity.getIsLoan() != null) {
case "0": switch (entity.getIsLoan()) {
entity.setIsLoan(""); case "0":
break; entity.setIsLoan("");
case "1": break;
entity.setIsLoan(""); case "1":
break; entity.setIsLoan("");
default: break;
entity.setIsLoan(""); default:
break; entity.setIsLoan("");
break;
}
} }
switch (entity.getIsDirection()){ if(entity.getIsDirection() != null) {
case "0": switch (entity.getIsDirection()) {
entity.setIsDirection(""); case "0":
break; entity.setIsDirection("");
case "1": break;
entity.setIsDirection(""); case "1":
break; entity.setIsDirection("");
default: break;
entity.setIsDirection(""); default:
break; entity.setIsDirection("");
break;
}
} }
} }
ExcelUtil<SrsStuReg> util = new ExcelUtil<SrsStuReg>(SrsStuReg.class); ExcelUtil<SrsStuReg> util = new ExcelUtil<SrsStuReg>(SrsStuReg.class);