|
|
@ -78,10 +78,9 @@ public class LocationgroupController { |
|
|
|
|
|
|
|
@GetMapping("/list") |
|
|
|
@Operation(summary = "获得库位组列表") |
|
|
|
@Parameter(name = "ids", description = "编号列表", required = true, example = "1024,2048") |
|
|
|
@PreAuthorize("@ss.hasPermission('wms:locationgroup:query')") |
|
|
|
public CommonResult<List<LocationgroupRespVO>> getLocationgroupList(@RequestParam("ids") Collection<Long> ids) { |
|
|
|
List<LocationgroupDO> list = locationgroupService.getLocationgroupList(ids); |
|
|
|
public CommonResult<List<LocationgroupRespVO>> getLocationgroupList(@Valid LocationgroupExportReqVO exportReqVO) { |
|
|
|
List<LocationgroupDO> list = locationgroupService.getLocationgroupList(exportReqVO); |
|
|
|
return success(LocationgroupConvert.INSTANCE.convertList(list)); |
|
|
|
} |
|
|
|
|
|
|
|