xhxu 5 лет назад
Родитель
Сommit
f791be961c
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml Просмотреть файл

@@ -537,7 +537,7 @@

<if test="1 == reportType or 2 == reportType or 3 == reportType">
(select count(distinct wcubi.id) from wx_c_user_basic_info wcubi
where 1=1
where
<if test="1 == reportType ">
date_format(wcubi.create_date, '%Y-%m-%d') &lt;= reportTime
</if>
@@ -583,7 +583,7 @@
<if test="1 == basicInfo.reportType or 2 == basicInfo.reportType or 3 == basicInfo.reportType">
(select count(distinct wcubi.id) from wx_c_user_basic_info wcubi
left join wx_c_user wcu on wcu.user_id = wcubi.id
where 1=1
where
<if test="1 == basicInfo.reportType ">
date_format(wcubi.create_date, '%Y-%m-%d') &lt;= reportTime
</if>


Загрузка…
Отмена
Сохранить