Commit 22688340 authored by liuzeheng's avatar liuzeheng

优化

parent fcea97e3
...@@ -1224,7 +1224,7 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper, ...@@ -1224,7 +1224,7 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper,
public List<CustomerDO> getDeptCustomerExcelVoListReq(CustomerExportReqDTO exportReqVO) { public List<CustomerDO> getDeptCustomerExcelVoListReq(CustomerExportReqDTO exportReqVO) {
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser(); LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
Long deptId =null; Long deptId =null;
if (null != loginUser && null != loginUser.getDeptId()) { if (null != loginUser && loginUser.getDeptId()>0) {
deptId = loginUser.getDeptId() ; deptId = loginUser.getDeptId() ;
} }
return customerMapper.getDeptCustomerExcelVoListReq(exportReqVO,deptId) ; return customerMapper.getDeptCustomerExcelVoListReq(exportReqVO,deptId) ;
......
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