Przeglądaj źródła

分享

release_toaliyun_real
xhxu 5 lat temu
rodzic
commit
537ff981cb
1 zmienionych plików z 16 dodań i 16 usunięć
  1. +16
    -16
      mallinkService/src/main/resources/mapper/WxCUserFromMapper.xml

+ 16
- 16
mallinkService/src/main/resources/mapper/WxCUserFromMapper.xml Wyświetl plik

@@ -70,11 +70,11 @@
and wcuf.`share_user` = #{shareUser} and wcuf.`share_user` = #{shareUser}
</if> </if>


<if test=" null != startTime ">
and wcuf.`create_date` &gt;= #{startTime}
<if test=" null != startDate ">
and wcuf.`create_date` &gt;= #{startDate}
</if> </if>
<if test=" null != endTime">
and wcuf.`create_date` &lt;= #{endTime}
<if test=" null != endDate">
and wcuf.`create_date` &lt;= #{endDate}
</if> </if>


<if test=" null != ids "> <if test=" null != ids ">
@@ -132,11 +132,11 @@
<if test=" null != parentTenantId and '' != parentTenantId"> <if test=" null != parentTenantId and '' != parentTenantId">
and wcuf.`parent_tenant_id` = #{parentTenantId} and wcuf.`parent_tenant_id` = #{parentTenantId}
</if> </if>
<if test=" null != startTime ">
and wcuf.`create_date` &gt;= #{startTime}
<if test=" null != startDate ">
and wcuf.`create_date` &gt;= #{startDate}
</if> </if>
<if test=" null != endTime">
and wcuf.`create_date` &lt;= #{endTime}
<if test=" null != endDate">
and wcuf.`create_date` &lt;= #{endDate}
</if> </if>
group by wcuf.from_id group by wcuf.from_id
) a ) a
@@ -151,11 +151,11 @@
<if test=" null != parentTenantId and '' != parentTenantId"> <if test=" null != parentTenantId and '' != parentTenantId">
and wcuf.`parent_tenant_id` = #{parentTenantId} and wcuf.`parent_tenant_id` = #{parentTenantId}
</if> </if>
<if test=" null != startTime ">
and wcuf.`create_date` &gt;= #{startTime}
<if test=" null != startDate ">
and wcuf.`create_date` &gt;= #{startDate}
</if> </if>
<if test=" null != endTime">
and wcuf.`create_date` &lt;= #{endTime}
<if test=" null != endDate">
and wcuf.`create_date` &lt;= #{endDate}
</if> </if>
group by wcuf.from_id,wcuf.c_user_id group by wcuf.from_id,wcuf.c_user_id
) b on b.from_id = a.from_id ) b on b.from_id = a.from_id
@@ -171,11 +171,11 @@
<if test=" null != parentTenantId and '' != parentTenantId"> <if test=" null != parentTenantId and '' != parentTenantId">
and wcuf.`parent_tenant_id` = #{parentTenantId} and wcuf.`parent_tenant_id` = #{parentTenantId}
</if> </if>
<if test=" null != startTime ">
and wcuf.`create_date` &gt;= #{startTime}
<if test=" null != startDate ">
and wcuf.`create_date` &gt;= #{startDate}
</if> </if>
<if test=" null != endTime">
and wcuf.`create_date` &lt;= #{endTime}
<if test=" null != endDate">
and wcuf.`create_date` &lt;= #{endDate}
</if> </if>
group by wcuf.from_id,wcuf.c_user_id group by wcuf.from_id,wcuf.c_user_id
) c on c.from_id = a.from_id ) c on c.from_id = a.from_id


Ładowanie…
Anuluj
Zapisz