修改完成

This commit is contained in:
YY
2025-07-04 16:47:10 +08:00
parent aecadcf7f1
commit 567f006bcc
2 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,16 @@ public class CoscoCategoryLibraryController extends BaseController {
return BaseResponse.success(coscoCategoryLibraryService.selectCategoryLibraryBySupplierIdPage(coscoCategory));
}
/**
* 获取全部品类库数据
* @param coscoCategory
* @return
*/
@GetMapping("/getAllList")
public BaseResponse<List<CoscoCategoryLibrary>> getAllList(CoscoCategoryLibrary coscoCategory){
return BaseResponse.success(coscoCategoryLibraryService.selectCoscoCategoryLibraryList(coscoCategory));
}
/**

View File

@ -64,6 +64,7 @@ public class CoscoCategoryLibraryServiceImpl extends BaseServiceImpl<CoscoCatego
*/
@Override
public List<CoscoCategoryLibrary> selectCoscoCategoryLibraryList(CoscoCategoryLibrary coscoCategoryLibrary) {
//TODO 后续需要添加部门查询 查询列表部门
return coscoCategoryLibraryMapper.selectCoscoCategoryLibraryList(coscoCategoryLibrary);
}
@ -258,4 +259,5 @@ public class CoscoCategoryLibraryServiceImpl extends BaseServiceImpl<CoscoCatego
public List<String> superiorLockList() {
return coscoCategoryLibraryContainService.selectLoctyList();
}
}