修改完成
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user