|
@ -12,6 +12,7 @@ import com.epmet.commons.tools.exception.EpmetException; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.redis.common.CustomerStaffRedis; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
|
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
import com.epmet.dao.IcServiceFeedbackV2Dao; |
|
|
import com.epmet.dao.IcServiceFeedbackV2Dao; |
|
|
import com.epmet.dao.IcServiceRecordV2Dao; |
|
|
import com.epmet.dao.IcServiceRecordV2Dao; |
|
|
import com.epmet.dao.IcServiceScopeDao; |
|
|
import com.epmet.dao.IcServiceScopeDao; |
|
@ -224,6 +225,8 @@ public class IcServiceRecordV2ServiceImpl extends BaseServiceImpl<IcServiceRecor |
|
|
return new ServiceRecordV2DetailResultDTO(); |
|
|
return new ServiceRecordV2DetailResultDTO(); |
|
|
} |
|
|
} |
|
|
ServiceRecordV2DetailResultDTO result = ConvertUtils.sourceToTarget(entity, ServiceRecordV2DetailResultDTO.class); |
|
|
ServiceRecordV2DetailResultDTO result = ConvertUtils.sourceToTarget(entity, ServiceRecordV2DetailResultDTO.class); |
|
|
|
|
|
result.setServiceTimeStart(DateUtils.format(entity.getServiceTimeStart(),DateUtils.DATE_PATTERN)); |
|
|
|
|
|
result.setServiceTimeEnd(DateUtils.format(entity.getServiceTimeEnd(),DateUtils.DATE_PATTERN)); |
|
|
result.setServiceRecordId(entity.getId()); |
|
|
result.setServiceRecordId(entity.getId()); |
|
|
List<IcServiceScopeV2DTO> scopeV2DTOS = serviceScopeDao.selectListV2(formDTO.getServiceRecordId()); |
|
|
List<IcServiceScopeV2DTO> scopeV2DTOS = serviceScopeDao.selectListV2(formDTO.getServiceRecordId()); |
|
|
result.setGridIdList(scopeV2DTOS); |
|
|
result.setGridIdList(scopeV2DTOS); |
|
|