This commit is contained in:
linfso 2024-07-25 19:00:27 +08:00
parent ba1724184c
commit f680402e0f
2 changed files with 8 additions and 1 deletions

View File

@ -78,6 +78,13 @@
<if test="createSite != null and createSite != ''"> and create_site = #{createSite}</if>
<if test="updateSite != null and updateSite != ''"> and update_site = #{updateSite}</if>
<if test="params.beginSendDate != null and params.beginSendDate != ''">
and create_time <![CDATA[ >= ]]> #{params.beginCreateTime}
</if>
<if test="params.endSendDate != null and params.endSendDate != ''">
and create_time <![CDATA[ <= ]]> #{params.endCreateTime}
</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != ''">
and create_time <![CDATA[ >= ]]> #{params.beginCreateTime}
</if>

View File

@ -141,7 +141,7 @@
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
and (
a.dispatch_underling_site_code in (
b.dispatch_underling_site_code in (
SELECT t1.site_code FROM (
SELECT * FROM emis_site WHERE parent_site_code IS NOT NULL ) t1,( SELECT @pid :=
#{params.privSiteCode} ) pd