修改新生信息导出功能
This commit is contained in:
@@ -268,6 +268,7 @@ public class SrsStuRegController extends BaseController
|
||||
entity.setRegStatus("未激活");
|
||||
break;
|
||||
}
|
||||
if(entity.getIsLoan() != null) {
|
||||
switch (entity.getIsLoan()) {
|
||||
case "0":
|
||||
entity.setIsLoan("否");
|
||||
@@ -279,6 +280,8 @@ public class SrsStuRegController extends BaseController
|
||||
entity.setIsLoan("否");
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(entity.getIsDirection() != null) {
|
||||
switch (entity.getIsDirection()) {
|
||||
case "0":
|
||||
entity.setIsDirection("否");
|
||||
@@ -291,6 +294,7 @@ public class SrsStuRegController extends BaseController
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
ExcelUtil<SrsStuReg> util = new ExcelUtil<SrsStuReg>(SrsStuReg.class);
|
||||
util.exportExcel(response, list, "新生报到学生注册信息数据");
|
||||
}
|
||||
|
Reference in New Issue
Block a user