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
512d36ae
Commit
512d36ae
authored
Jun 13, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加根据部门id 查询所属大厅
parent
55bcc857
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
base-manager/src/main/java/com/mortals/xhx/module/window/web/WindowController.java
...a/com/mortals/xhx/module/window/web/WindowController.java
+0
-2
base-manager/src/main/resources/sqlmap/module/window/WindowMapperExt.xml
...c/main/resources/sqlmap/module/window/WindowMapperExt.xml
+2
-2
base-manager/src/test/java/com/mortals/httpclient/window/WindowController.http
.../java/com/mortals/httpclient/window/WindowController.http
+1
-1
No files found.
base-manager/src/main/java/com/mortals/xhx/module/window/web/WindowController.java
View file @
512d36ae
...
@@ -42,8 +42,6 @@ public class WindowController extends BaseCRUDJsonBodyMappingController<WindowSe
...
@@ -42,8 +42,6 @@ public class WindowController extends BaseCRUDJsonBodyMappingController<WindowSe
@Autowired
@Autowired
private
ParamService
paramService
;
private
ParamService
paramService
;
@Autowired
private
WindowBusinessService
windowBusinessService
;
public
WindowController
()
{
public
WindowController
()
{
...
...
base-manager/src/main/resources/sqlmap/module/window/WindowMapperExt.xml
View file @
512d36ae
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
mortals_sys_window w,
mortals_sys_window w,
mortals_sys_window_hall wh
mortals_sys_window_hall wh
<trim
suffixOverrides=
"where"
suffix=
""
>
<trim
suffixOverrides=
"where"
suffix=
""
>
where w.id = wh.windowId
where w.id = wh.windowId
and
<trim
prefixOverrides=
"and"
prefix=
""
>
<trim
prefixOverrides=
"and"
prefix=
""
>
<if
test=
"condition.siteId!=null and condition.siteId!=''"
>
<if
test=
"condition.siteId!=null and condition.siteId!=''"
>
and w.siteId = #{condition.siteId}
and w.siteId = #{condition.siteId}
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
and w.deptId = #{condition.deptId}
and w.deptId = #{condition.deptId}
</if>
</if>
<if
test=
"condition.containsKey('deptIdList')"
>
<if
test=
"condition.containsKey('deptIdList')"
>
w.deptId in
and
w.deptId in
<foreach
collection=
"condition.deptIdList"
open=
"("
close=
")"
index=
"index"
<foreach
collection=
"condition.deptIdList"
open=
"("
close=
")"
index=
"index"
item=
"item"
separator=
","
>
item=
"item"
separator=
","
>
#{item}
#{item}
...
...
base-manager/src/test/java/com/mortals/httpclient/window/WindowController.http
View file @
512d36ae
...
@@ -27,7 +27,7 @@ POST {{baseUrl}}/window/getHallByDept
...
@@ -27,7 +27,7 @@ POST {{baseUrl}}/window/getHallByDept
Content-Type: application/json
Content-Type: application/json
{
{
"deptId":
1
"deptId":
426
}
}
...
...
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