| | |
| | | */ |
| | | @Override |
| | | public BaseGoodsTemplate getByGoodsNameAndCategoryId(String goodsName, Long categoryId) { |
| | | StringBuilder sql = new StringBuilder("SELECT * FROM base_goods_template WHERE 1 = 1 "); |
| | | StringBuilder sql = new StringBuilder("SELECT * FROM base_goods_template WHERE STATES != 3 "); |
| | | HashMap<String, Object> paramts = new HashMap<>(); |
| | | |
| | | // 物品名称 |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<BaseGoodsTemplate> queryGoodsTemplateByCategoryId(Long agencyId, Long categoryId, Short states, |
| | | public List<BaseGoodsTemplate> queryGoodsTemplateByCategoryId(Long agencyId, Long categoryId, Integer states, |
| | | String goodsName) { |
| | | StringBuilder sql = new StringBuilder("SELECT * FROM base_goods_template WHERE 1=1 "); |
| | | Map<String, Object> params = new HashMap<>(); |