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