diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesExchangeServiceImpl.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesExchangeServiceImpl.java index 62c03905b..8a637009e 100644 --- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesExchangeServiceImpl.java +++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesExchangeServiceImpl.java @@ -38,6 +38,7 @@ import org.springblade.core.log.exception.ServiceException; import org.springblade.core.mp.support.Condition; import org.springblade.core.secure.BladeUser; import org.springblade.core.secure.utils.AuthUtil; +import org.springblade.core.tool.utils.Func; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.core.conditions.Wrapper; @@ -122,7 +123,7 @@ public class AftersalesExchangeServiceImpl extends BaseServiceImpl deptName = sysClient.getDeptName(Long.valueOf(user.getDeptId())); + R deptName = sysClient.getDeptName(Func.firstLong(user.getDeptId())); surveyRecordEntity.setAddDepartment(deptName.getData()); surveyRecordEntity.setProcessingResults(surveyRecordEntity.getContent()); } diff --git a/blade-service/logpm-basic/src/main/java/com/logpm/basic/service/impl/BasicPrintTemplateServiceImpl.java b/blade-service/logpm-basic/src/main/java/com/logpm/basic/service/impl/BasicPrintTemplateServiceImpl.java index 2bcf2d66f..f5cf496fc 100644 --- a/blade-service/logpm-basic/src/main/java/com/logpm/basic/service/impl/BasicPrintTemplateServiceImpl.java +++ b/blade-service/logpm-basic/src/main/java/com/logpm/basic/service/impl/BasicPrintTemplateServiceImpl.java @@ -27,6 +27,7 @@ import com.logpm.basic.service.IBasicPrintTemplateService; import com.logpm.basic.vo.BasicPrintTemplateVO; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; +import org.apache.calcite.schema.Function; import org.springblade.core.mp.base.BaseServiceImpl; import org.springblade.core.secure.BladeUser; import org.springblade.core.secure.utils.AuthUtil; @@ -81,7 +82,7 @@ public class BasicPrintTemplateServiceImpl extends BaseServiceImpl