Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
740a9b48
Commit
740a9b48
authored
Nov 22, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改函数
parent
61d6e442
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
CommandController.java
...boot/module/command/biz/controller/CommandController.java
+1
-0
wl-3.6.0.xml
...ot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
+24
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/controller/CommandController.java
View file @
740a9b48
...
@@ -1141,6 +1141,7 @@ public class CommandController extends BaseController {
...
@@ -1141,6 +1141,7 @@ public class CommandController extends BaseController {
response
.
setContentType
(
"multipart/form-data"
);
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"UTF-8"
);
response
.
setCharacterEncoding
(
"UTF-8"
);
response
.
setContentType
(
"text/html"
);
response
.
setContentType
(
"text/html"
);
response
.
setHeader
(
"X-Frame-Options"
,
"SAMEORIGIN"
);
ServletOutputStream
out
;
ServletOutputStream
out
;
out
=
response
.
getOutputStream
();
out
=
response
.
getOutputStream
();
int
b
=
0
;
int
b
=
0
;
...
...
amos-boot-system-equip/src/main/resources/changelog/wl-3.6.0.xml
View file @
740a9b48
...
@@ -222,7 +222,29 @@
...
@@ -222,7 +222,29 @@
</changeSet>
</changeSet>
<changeSet
author=
"tw"
id=
"20221121-01"
runAlways=
"true"
>
<comment>
`getBuildingParentIds`
</comment>
<sql
endDelimiter=
"#"
>
DROP FUNCTION IF EXISTS `getBuildingParentIds`#
CREATE DEFINER=`root`@`%` FUNCTION `getBuildingParentIds`(rootId bigint) RETURNS varchar(1000) CHARSET utf8mb4
DETERMINISTIC
BEGIN
DECLARE fid bigint default 0;
DECLARE str varchar(1000) default concat(rootId, '');
WHILE rootId != 0 do
SET fid =(SELECT parentid FROM get_building_tree WHERE instanceId = rootId);
IF fid != 0 THEN
SET str = concat(str, ',', fid);
SET rootId = fid;
ELSE
SET rootId = fid;
END IF;
END WHILE;
return str;
END#
</sql>
</changeSet>
</databaseChangeLog>
</databaseChangeLog>
\ No newline at end of file
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