| | |
| | | StringBuilder sql = new StringBuilder("SELECT * FROM s_dict_data WHERE dict_type = 'CLASSIFICATION_CODE' order by dict_sort"); |
| | | return this.select(sql.toString(), new Object[]{}, new S_dict_data()); |
| | | } |
| | | |
| | | /** |
| | | * @Description 根据分类id查询物品模板 |
| | | * @Author 卢庆阳 |
| | | * @Date 2023/10/30 |
| | | */ |
| | | public List<BaseGoodsTemplate> querybyCategoryId(Long categoryId) { |
| | | BaseGoodsTemplate goodsTemplate = new BaseGoodsTemplate(); |
| | | goodsTemplate.setCategoryId(categoryId); |
| | | List<BaseGoodsTemplate> select = this.select(goodsTemplate); |
| | | return select; |
| | | } |
| | | } |