|
|
|
@ -81,11 +81,11 @@ public class SysTrainnumController extends BaseController {
|
|
|
|
|
{
|
|
|
|
|
List<TdTrain> list = tdTrainService.selectTdTrainList(tdTrain);
|
|
|
|
|
list.forEach(tdTrain1 -> {
|
|
|
|
|
tdTrain1.setAREAID(sysAreaManager.getAreaName(tdTrain1.getAREAID()));
|
|
|
|
|
tdTrain1.setFRAMEWORK(sysAreaManager.getAreaName(tdTrain1.getFRAMEWORK()));
|
|
|
|
|
SysUser sysUser = sysUserService.selectUserById(Long.valueOf(tdTrain1.getUSERNAME()));
|
|
|
|
|
tdTrain1.setAreaid(sysAreaManager.getAreaName(tdTrain1.getAreaid()));
|
|
|
|
|
tdTrain1.setFramework(sysAreaManager.getAreaName(tdTrain1.getFramework()));
|
|
|
|
|
SysUser sysUser = sysUserService.selectUserById(Long.valueOf(tdTrain1.getUsername()));
|
|
|
|
|
if(Objects.nonNull(sysUser)){
|
|
|
|
|
tdTrain1.setUSERNAME(sysUser.getUserName());
|
|
|
|
|
tdTrain1.setUsername(sysUser.getUserName());
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
ExcelUtil<TdTrain> util = new ExcelUtil<TdTrain>(TdTrain.class);
|
|
|
|
|