比对模式的检测报告生成和下载
This commit is contained in:
@@ -44,6 +44,7 @@ import com.njcn.gather.system.dictionary.service.IDictDataService;
|
||||
import com.njcn.gather.system.dictionary.service.IDictTypeService;
|
||||
import com.njcn.gather.type.pojo.po.DevType;
|
||||
import com.njcn.gather.type.service.IDevTypeService;
|
||||
import com.njcn.gather.user.user.pojo.po.SysUser;
|
||||
import com.njcn.gather.user.user.service.ISysUserService;
|
||||
import com.njcn.web.factory.PageFactory;
|
||||
import com.njcn.web.utils.ExcelUtil;
|
||||
@@ -353,9 +354,13 @@ public class PqDevServiceImpl extends ServiceImpl<PqDevMapper, PqDev> implements
|
||||
pqDevVO.setDevKey(EncryptionUtil.decoderString(1, pqDevVO.getDevKey()));
|
||||
}
|
||||
if (StrUtil.isNotBlank(pqDevVO.getCheckBy())) {
|
||||
pqDevVO.setCheckBy(userService.getById(pqDevVO.getCheckBy()).getName());
|
||||
SysUser sysUser = userService.getById(pqDevVO.getCheckBy());
|
||||
if (ObjectUtil.isNotNull(sysUser)) {
|
||||
pqDevVO.setCheckBy(sysUser.getName());
|
||||
} else {
|
||||
pqDevVO.setCheckBy(pqDevVO.getCheckBy());
|
||||
}
|
||||
}
|
||||
|
||||
DevType devType = devTypeService.getById(pqDevVO.getDevType());
|
||||
if (ObjectUtil.isNotNull(devType)) {
|
||||
pqDevVO.setDevChns(devType.getDevChns());
|
||||
|
||||
Reference in New Issue
Block a user