fix
Helius
2021-11-08 e4c05d381d2dadf129b3a4cb499c8ea67e7fc481
zq-erp/src/main/resources/mybatis/mapper/hive/AchieveNewDao.xml
@@ -1103,7 +1103,7 @@
            and date_format(a.create_time, '%Y') = date_format(#{record.datatime}, '%Y')
         </if>
         <if test='record.t1 == "4" and record.datatime != null'>
            and date_format(datatime, '%Y-%m-%d %u') = date_format(#{record.datatime}, '%Y-%m-%d %u')
            and date_format(a.create_time, '%Y-%m-%d %u') = date_format(#{record.datatime}, '%Y-%m-%d %u')
         </if>
      </where>
      group by a.shop_id