futian.liu
2023-12-19 e2d97f3c90a6baa36b9edefe927225da907a27c6
consum-base/src/main/java/com/consum/base/service/impl/BaseGoodsTemplateServiceImpl.java
@@ -236,7 +236,7 @@
     */
    @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<>();
        // 物品名称
@@ -334,7 +334,7 @@
     * @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<>();