Helius
2021-11-02 ba169443d174c669ffd0bbeca8f277fceb8444e1
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