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

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

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

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

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


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