Helius
2020-12-24 461a0bb4d550d959bd5eeb0b2d92aac696ad476b
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>