935090232@qq.com
2021-01-15 e971ea090aa1f320f3c3f78c3a2a8d50f16dd4d0
zq-erp/src/main/resources/mybatis/mapper/hive/SysStoreInfoDao.xml
@@ -388,6 +388,7 @@
      c.volume as gs_volume,
      c.price as gs_price,
      c.wholesale as gs_wholesale,
      c.img as gs_img,
      a.shop_id,
      a.company_id
      from
@@ -404,6 +405,10 @@
         </if>
         <if test="record.batch != null and record.batch !='' ">
            and batch = #{record.batch}
         </if>
         <if test="record.queryKey != null and record.queryKey !='' ">
            and (instr(c.name,#{record.queryKey}) or instr(c.goods_no, #{record.queryKey}) or instr(c.zjm, #{record.queryKey}))
         </if>
         <if test="record.storeId != null and record.storeId !='' ">
            and STORE_ID = #{record.storeId}
@@ -478,6 +483,9 @@
         <if test="record.batch != null and record.batch !='' ">
            and batch = #{record.batch}
         </if>
         <if test="record.queryKey != null and record.queryKey !='' ">
            and (instr(c.name,#{record.queryKey}) or instr(c.goods_no, #{record.queryKey}) or instr(c.zjm, #{record.queryKey}))
         </if>
         <if test="record.storeId != null and record.storeId !='' ">
            and STORE_ID = #{record.storeId}
         </if>