| | |
| | | |
| | | @GetMapping("getItemList") |
| | | @ApiOperation("获取入库配置项列表") |
| | | public Result<List<WarehouseConfigItem>> getItemList(Long projectId) { |
| | | List<WarehouseConfigItem> resultList = configItemService.warehouseConfigList(projectId); |
| | | return Result.ok(resultList); |
| | | public PageResult<WarehouseConfigItem> getItemList(Long projectId,String ids) { |
| | | List<WarehouseConfigItem> resultList = configItemService.warehouseConfigList(projectId,ids); |
| | | return PageResult.ok(resultList); |
| | | } |
| | | |
| | | @PostMapping("importItemList") |
| | | @ApiOperation("导入入库配置项列表") |
| | | public Result importItemList(@RequestBody List<WarehouseConfigItem> WarehouseConfigItem,Long changeId) { |
| | | configItemChangeService.importItemList(WarehouseConfigItem,changeId); |
| | | return Result.ok(); |
| | | } |
| | | |
| | | } |