Commit 9aa95c16 authored by 赵啸非's avatar 赵啸非

添加站点事项过滤

parent 1347829d
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
mortals_sys_matter AS a mortals_sys_matter AS a
LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter WHERE siteId = #{condition.siteId} ) AS b ON a.matterNo = b.matterCode LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter WHERE siteId = #{condition.siteId} ) AS b ON a.matterNo = b.matterCode
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where b.matterCode IS NULL where b.matterCode IS NULL and
<trim prefixOverrides="and" prefix=""> <trim prefixOverrides="and" prefix="">
<if test="condition.areaCode!=null and condition.areaCode!=''"> <if test="condition.areaCode!=null and condition.areaCode!=''">
and a.areaCode = #{condition.areaCode,jdbcType=VARCHAR} and a.areaCode = #{condition.areaCode,jdbcType=VARCHAR}
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
mortals_sys_matter AS a mortals_sys_matter AS a
LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter WHERE siteId = #{condition.siteId} ) AS b ON a.matterNo = b.matterCode LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter WHERE siteId = #{condition.siteId} ) AS b ON a.matterNo = b.matterCode
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where b.matterCode IS NULL where b.matterCode IS NULL and
<trim prefixOverrides="and" prefix=""> <trim prefixOverrides="and" prefix="">
<if test="condition.areaCode!=null and condition.areaCode!=''"> <if test="condition.areaCode!=null and condition.areaCode!=''">
and a.areaCode = #{condition.areaCode,jdbcType=VARCHAR} and a.areaCode = #{condition.areaCode,jdbcType=VARCHAR}
......
...@@ -30,7 +30,6 @@ POST {{baseUrl}}/matter/sublist ...@@ -30,7 +30,6 @@ POST {{baseUrl}}/matter/sublist
Content-Type: application/json Content-Type: application/json
{ {
"areaCode": "513426000000",
"siteId": 35, "siteId": 35,
"page": 1, "page": 1,
"size": 10 "size": 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment