wzy
2020-12-26 2cf928a22b6cf8ea7a29f29127ffc333c73b0bca
zq-erp/src/main/resources/mybatis/mapper/hive/SysStoreInfoDao.xml
@@ -813,6 +813,9 @@
         <if test=" record.endTime!=null  ">
            <![CDATA[    and #{record.endTime} >=b.create_time]]>
         </if>
         <if test="record.companyId != null and record.companyId !='' ">
            and   b.company_id = #{record.companyId}
         </if>
      </where>
      UNION ALL
      SELECT
@@ -848,6 +851,9 @@
         <if test=" record.endTime!=null   ">
            <![CDATA[    and #{record.endTime} >= t2_b.create_time  ]]>
         </if>
         <if test="record.companyId != null and record.companyId !='' ">
            and   t2_b.company_id = #{record.companyId}
         </if>
      </where>
      ) t