Commit 22688340 authored by liuzeheng's avatar liuzeheng

优化

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