Commit 8675831b authored by liuzeheng's avatar liuzeheng

Merge branch 'dev' into dev-konghuo

parents 62c647a0 22688340
...@@ -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) ;
......
...@@ -176,7 +176,7 @@ public class ProductController { ...@@ -176,7 +176,7 @@ public class ProductController {
@ApiOperation("导出商品 Excel") @ApiOperation("导出商品 Excel")
@PreAuthorize("@ss.hasPermission('ecw:product:export')") @PreAuthorize("@ss.hasPermission('ecw:product:export')")
@OperateLog(type = EXPORT) @OperateLog(type = EXPORT)
public CommonResult<Boolean> exportProductExcel(@Valid ProductExportReqVO exportReqVO, public CommonResult<Boolean> exportProductExcel(@Valid ProductReqDTO exportReqVO,
HttpServletResponse response) throws IOException { HttpServletResponse response) throws IOException {
FileMakeReqDTO reqDTO = new FileMakeReqDTO(); FileMakeReqDTO reqDTO = new FileMakeReqDTO();
......
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