Browse Source

1.增加首页的干线数据查询

fix-sign
pref_mail@163.com 4 months ago
parent
commit
ae5d4beba0
  1. 3
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesExchangeServiceImpl.java
  2. 2
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesWorkOrderServiceImpl.java
  3. 3
      blade-service/logpm-basic/src/main/java/com/logpm/basic/service/impl/BasicPrintTemplateServiceImpl.java
  4. 2
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataGoodsAllocationServiceImpl.java

3
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<AftersalesExc
//添加回复处理交流数据
aftersalesExchange.setCreateTime(new Date());
aftersalesExchange.setCreateDept(Long.valueOf(user.getDeptId()));
aftersalesExchange.setCreateDept(Func.firstLong(user.getDeptId()));
aftersalesExchange.setCreateUser(user.getUserId());
aftersalesExchange.setStatus(1);
aftersalesExchange.setIsDeleted(0);

2
blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/service/impl/AftersalesWorkOrderServiceImpl.java

@ -1745,7 +1745,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
}
} else {
log.info("客服回复!!!{}", user.getUserName());
R<String> deptName = sysClient.getDeptName(Long.valueOf(user.getDeptId()));
R<String> deptName = sysClient.getDeptName(Func.firstLong(user.getDeptId()));
surveyRecordEntity.setAddDepartment(deptName.getData());
surveyRecordEntity.setProcessingResults(surveyRecordEntity.getContent());
}

3
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<BasicPrintTem
basicPrintTemplateEntity.setTenantId(user.getTenantId());
basicPrintTemplateEntity.setCreateUser(user.getUserId());
basicPrintTemplateEntity.setFounder(user.getUserId().toString());
basicPrintTemplateEntity.setCreateDept(Long.valueOf(user.getDeptId()));
basicPrintTemplateEntity.setCreateDept(Func.firstLong(user.getDeptId()));
basicPrintTemplateEntity.setCreateTime(date);
basicPrintTemplateEntity.setIsDeleted(0);
basicPrintTemplateEntity.setStatus(1);

2
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataGoodsAllocationServiceImpl.java

@ -178,7 +178,7 @@ public class BasicdataGoodsAllocationServiceImpl extends BaseServiceImpl<Basicda
basicdataGoodsAllocationEntity.setEnableStatus("1");
basicdataGoodsAllocationEntity.setStatus(1);
basicdataGoodsAllocationEntity.setIsDeleted(0);
basicdataGoodsAllocationEntity.setCreateDept(Long.valueOf(user.getDeptId()));
basicdataGoodsAllocationEntity.setCreateDept(Func.firstLong(user.getDeptId()));
basicdataGoodsAllocationEntity.setAllocationStatus("1");
basicdataGoodsAllocationEntity.setCreateTime(new Date());
basicdataGoodsAllocationEntity.setCreateUser(userId);

Loading…
Cancel
Save