仓库管理修改

liweidong
wusiyu 3 days ago
parent a96fc8e5df
commit ff043b6966
  1. 5
      blade-service/blade-wms/src/main/java/org/springblade/wms/controller/StStorageLocationController.java

@ -227,6 +227,11 @@ public class StStorageLocationController extends BladeController {
@ApiLog("导出数据") @ApiLog("导出数据")
@Operation(summary = "导出数据", description = "传入stStorageLocation") @Operation(summary = "导出数据", description = "传入stStorageLocation")
public void exportStStorageLocation(@Parameter(hidden = true) @RequestParam Map<String, Object> stStorageLocation, BladeUser bladeUser, HttpServletResponse response) { public void exportStStorageLocation(@Parameter(hidden = true) @RequestParam Map<String, Object> stStorageLocation, BladeUser bladeUser, HttpServletResponse response) {
stStorageLocation.remove("current");
stStorageLocation.remove("size");
stStorageLocation.remove("pageNum");
stStorageLocation.remove("pageSize");
QueryWrapper<StStorageLocation> queryWrapper = Condition.getQueryWrapper(stStorageLocation, StStorageLocation.class); QueryWrapper<StStorageLocation> queryWrapper = Condition.getQueryWrapper(stStorageLocation, StStorageLocation.class);
//if (!AuthUtil.isAdministrator()) { //if (!AuthUtil.isAdministrator()) {
// queryWrapper.lambda().eq(StStorageLocation::getTenantId, bladeUser.getTenantId()); // queryWrapper.lambda().eq(StStorageLocation::getTenantId, bladeUser.getTenantId());

Loading…
Cancel
Save