Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
55bcc857
Commit
55bcc857
authored
Jun 13, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加根据部门id 查询所属大厅
parent
80aae2fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
base-manager/src/main/resources/sqlmap/module/window/WindowMapperExt.xml
...c/main/resources/sqlmap/module/window/WindowMapperExt.xml
+4
-4
base-manager/src/test/java/com/mortals/httpclient/window/WindowController.http
.../java/com/mortals/httpclient/window/WindowController.http
+2
-4
No files found.
base-manager/src/main/resources/sqlmap/module/window/WindowMapperExt.xml
View file @
55bcc857
...
...
@@ -44,13 +44,13 @@
where w.id = wh.windowId
<trim
prefixOverrides=
"and"
prefix=
""
>
<if
test=
"condition.siteId!=null and condition.siteId!=''"
>
and
a
.siteId = #{condition.siteId}
and
w
.siteId = #{condition.siteId}
</if>
<if
test=
"condition.deptId!=null and condition.deptId!=''"
>
and
a
.deptId = #{condition.deptId}
and
w
.deptId = #{condition.deptId}
</if>
<if
test=
"condition.containsKey('deptIdList')"
>
deptId in
w.
deptId in
<foreach
collection=
"condition.deptIdList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
#{item}
...
...
@@ -58,7 +58,7 @@
</if>
</trim>
GROUP BY
hallId
wh.
hallId
</trim>
</select>
...
...
base-manager/src/test/java/com/mortals/httpclient/window/WindowController.http
View file @
55bcc857
...
...
@@ -23,13 +23,11 @@ Content-Type: application/json
###站点部门窗口列表
POST {{baseUrl}}/window/
subHalllis
t
POST {{baseUrl}}/window/
getHallByDep
t
Content-Type: application/json
{
"deptId":1,
"page":1,
"size":10
"deptId":1
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment