修改新生信息导出功能

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("未激活");
break;
}
switch (entity.getIsLoan()){
case "0":
entity.setIsLoan("");
break;
case "1":
entity.setIsLoan("");
break;
default:
entity.setIsLoan("");
break;
if(entity.getIsLoan() != null) {
switch (entity.getIsLoan()) {
case "0":
entity.setIsLoan("");
break;
case "1":
entity.setIsLoan("");
break;
default:
entity.setIsLoan("");
break;
}
}
switch (entity.getIsDirection()){
case "0":
entity.setIsDirection("");
break;
case "1":
entity.setIsDirection("");
break;
default:
entity.setIsDirection("");
break;
if(entity.getIsDirection() != null) {
switch (entity.getIsDirection()) {
case "0":
entity.setIsDirection("");
break;
case "1":
entity.setIsDirection("");
break;
default:
entity.setIsDirection("");
break;
}
}
}
ExcelUtil<SrsStuReg> util = new ExcelUtil<SrsStuReg>(SrsStuReg.class);