|
|
|
@ -246,7 +246,10 @@ public class EnterpriseInspectionsServiceImpl implements EnterpriseInspectionsSe
|
|
|
|
|
throw exception(TASK_INFO_NOT_EXISTS); |
|
|
|
|
} |
|
|
|
|
item.setTaskName(taskInfoDO.getTitle()); |
|
|
|
|
|
|
|
|
|
//任务开始时间
|
|
|
|
|
item.setTaskStartTime(taskInfoDO.getStartDate()); |
|
|
|
|
//结束时间
|
|
|
|
|
item.setTaskEndTime(taskInfoDO.getEndDate()); |
|
|
|
|
//查询企业
|
|
|
|
|
final EnterpriseDO enterpriseDO = enterpriseMapper.selectById(item.getEnterpriseId()); |
|
|
|
|
if (enterpriseDO == null) { |
|
|
|
@ -258,8 +261,6 @@ public class EnterpriseInspectionsServiceImpl implements EnterpriseInspectionsSe
|
|
|
|
|
if (tagLibraryDOS != null) { |
|
|
|
|
item.setTagList(tagLibraryDOS.stream().map(TagLibraryDO::getTagName).collect(Collectors.toList())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
item.setEnterpriseName(enterpriseDO.getEnterprisesName()); |
|
|
|
|
item.setEnterpriseAddress(enterpriseDO.getAddress()); |
|
|
|
|
|
|
|
|
|