|
|
@ -79,10 +79,9 @@ public class SupplierController { |
|
|
|
|
|
|
|
@GetMapping("/list") |
|
|
|
@Operation(summary = "获得供应商列表") |
|
|
|
@Parameter(name = "ids", description = "编号列表", required = true, example = "1024,2048") |
|
|
|
@PreAuthorize("@ss.hasPermission('wms:supplier:query')") |
|
|
|
public CommonResult<List<SupplierRespVO>> getSupplierList(@RequestParam("ids") Collection<Long> ids) { |
|
|
|
List<SupplierDO> list = supplierService.getSupplierList(ids); |
|
|
|
public CommonResult<List<SupplierRespVO>> getSupplierList(@Valid SupplierExportReqVO exportReqVO) { |
|
|
|
List<SupplierDO> list = supplierService.getSupplierList(exportReqVO); |
|
|
|
return success(SupplierConvert.INSTANCE.convertList(list)); |
|
|
|
} |
|
|
|
|
|
|
|