Helius
2021-01-11 69d8c54fe4d0c90de196f3d92f74933d06529902
zq-erp/src/main/resources/mybatis/mapper/hive/ShoppingGoodsDao.xml
@@ -1239,7 +1239,7 @@
         measure measure,
         a.good_type goodsType
      from shopping_goods a
      where 1=1
      where 1=1 and staus = '上架'
      <if test="record.queryKey != null and record.queryKey != ''">
         and (instr(name,#{record.queryKey}) or instr(code ,#{record.queryKey}) or instr(zjm ,#{record.queryKey}))
      </if>
@@ -1259,7 +1259,7 @@
   <select id="selectShopppingGoodsAipTotal" resultType="java.lang.Integer">
      select count(1)
      from shopping_goods a
      where 1=1
      where 1=1 and staus = '上架'
      <if test="record.queryKey != null and record.queryKey != ''">
         and (instr(name,#{record.queryKey}) or instr(code ,#{record.queryKey}) or instr(zjm ,#{record.queryKey}))
      </if>