Преглед изворни кода

积分

release_toaliyun_real
xhxu пре 5 година
родитељ
комит
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"> <if test="1 == reportType or 2 == reportType or 3 == reportType">
(select count(distinct wcubi.id) from wx_c_user_basic_info wcubi (select count(distinct wcubi.id) from wx_c_user_basic_info wcubi
where 1=1
where
<if test="1 == reportType "> <if test="1 == reportType ">
date_format(wcubi.create_date, '%Y-%m-%d') &lt;= reportTime date_format(wcubi.create_date, '%Y-%m-%d') &lt;= reportTime
</if> </if>
@@ -583,7 +583,7 @@
<if test="1 == basicInfo.reportType or 2 == basicInfo.reportType or 3 == basicInfo.reportType"> <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 (select count(distinct wcubi.id) from wx_c_user_basic_info wcubi
left join wx_c_user wcu on wcu.user_id = wcubi.id left join wx_c_user wcu on wcu.user_id = wcubi.id
where 1=1
where
<if test="1 == basicInfo.reportType "> <if test="1 == basicInfo.reportType ">
date_format(wcubi.create_date, '%Y-%m-%d') &lt;= reportTime date_format(wcubi.create_date, '%Y-%m-%d') &lt;= reportTime
</if> </if>


Loading…
Откажи
Сачувај