| | |
| | | /** |
| | | * MDM 物料分类 Service 实现类 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | @Service |
| | | @Validated |
| | |
| | | } |
| | | |
| | | @Override |
| | | public MdmItemCategoryDO getItemCategoryByCode(String code) { |
| | | return itemCategoryMapper.selectByCode(code); |
| | | } |
| | | |
| | | @Override |
| | | public PageResult<MdmItemCategoryDO> getItemCategoryPage(MdmItemCategoryPageReqVO pageReqVO) { |
| | | return itemCategoryMapper.selectPage(pageReqVO); |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public List<MdmItemCategoryDO> getSimpleItemList() { |
| | | return itemCategoryMapper.selectList(new MdmItemCategoryDO().setStatus(0)); |
| | | } |
| | | |
| | | @Override |
| | | public MdmItemCategoryDO getItemCategoryByItemOrProduct(String itemOrProduct) { |
| | | return itemCategoryMapper.selectByItemOrProduct(itemOrProduct); |
| | | } |
| | | |
| | | } |