Commit c709d5ec by huluobin

update

parent efda38a7
......@@ -51,7 +51,10 @@ public class CostPlanTempDomain {
CostPlanTempDto dto = new CostPlanTempDto();
BeanUtils.copyProperties(this, dto);
dto.setTypeNameDto(costTypeDao.selectByNo(typeNo).getTypeName());
CostTypeDomain costTypeDomain = costTypeDao.selectByNo(typeNo);
if (costTypeDomain != null) {
dto.setTypeNo(costTypeDomain.getTypeName());
}
dto.setFileName(PathUtil.getFileName(dto.getFilePath()));
return dto;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment