Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
9ea457de
Commit
9ea457de
authored
May 23, 2023
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改执行报错
parent
ba59d2f1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
fas-sql-task.xml
...SysStart/src/main/resources/db/changelog/fas-sql-task.xml
+11
-10
No files found.
YeeAmosFireAutoSysStart/src/main/resources/db/changelog/fas-sql-task.xml
View file @
9ea457de
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
>
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
>
<changeSet
author=
"suhg"
id=
"1561454393001-
1
"
runAlways=
"true"
>
<changeSet
author=
"suhg"
id=
"1561454393001-
2
"
runAlways=
"true"
>
<comment>
update f_fmea_equipment_point 更新触发器创建
</comment>
<comment>
update f_fmea_equipment_point 更新触发器创建
</comment>
<sql
endDelimiter=
"#"
>
<sql
endDelimiter=
"#"
>
DROP TRIGGER IF EXISTS `trigger_fmea_equipment_point_update`
;
DROP TRIGGER IF EXISTS `trigger_fmea_equipment_point_update`
#
CREATE TRIGGER trigger_fmea_equipment_point_update AFTER UPDATE on f_fmea_equipment_point FOR EACH ROW
CREATE TRIGGER trigger_fmea_equipment_point_update AFTER UPDATE on f_fmea_equipment_point FOR EACH ROW
BEGIN
BEGIN
DECLARE riskSourceId BIGINT (20);
DECLARE riskSourceId BIGINT (20);
...
@@ -56,10 +56,10 @@
...
@@ -56,10 +56,10 @@
<!-- END#-->
<!-- END#-->
<!-- </sql>-->
<!-- </sql>-->
<!-- </changeSet>-->
<!-- </changeSet>-->
<changeSet
author=
"shanqiyun"
id=
"1588901126339-
1
"
runAlways=
"true"
>
<changeSet
author=
"shanqiyun"
id=
"1588901126339-
2
"
runAlways=
"true"
>
<comment>
f_risk_source 查询所有子节点id
</comment>
<comment>
f_risk_source 查询所有子节点id
</comment>
<sql
endDelimiter=
"#"
>
<sql
endDelimiter=
"#"
>
DROP FUNCTION IF EXISTS queryRiskSourceChildrenIds
;
DROP FUNCTION IF EXISTS queryRiskSourceChildrenIds
#
CREATE FUNCTION queryRiskSourceChildrenIds(id INT)
CREATE FUNCTION queryRiskSourceChildrenIds(id INT)
RETURNS VARCHAR(4000)
RETURNS VARCHAR(4000)
BEGIN
BEGIN
...
@@ -78,10 +78,10 @@
...
@@ -78,10 +78,10 @@
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"maoying"
id=
"1589954524001-
1
"
runAlways=
"true"
>
<changeSet
author=
"maoying"
id=
"1589954524001-
2
"
runAlways=
"true"
>
<comment>
updatePointConfig 触发器创建
</comment>
<comment>
updatePointConfig 触发器创建
</comment>
<sql
endDelimiter=
"#"
>
<sql
endDelimiter=
"#"
>
DROP TRIGGER IF EXISTS `updatePointConfig`
;
DROP TRIGGER IF EXISTS `updatePointConfig`
#
CREATE TRIGGER `updatePointConfig` AFTER UPDATE ON `p_point` FOR EACH ROW
CREATE TRIGGER `updatePointConfig` AFTER UPDATE ON `p_point` FOR EACH ROW
BEGIN
BEGIN
IF (new.name != old.name)
IF (new.name != old.name)
...
@@ -92,10 +92,10 @@
...
@@ -92,10 +92,10 @@
END#
END#
</sql>
</sql>
</changeSet>
</changeSet>
<changeSet
author=
"shanqiyun"
id=
"1597831211781-
1
"
runAlways=
"true"
>
<changeSet
author=
"shanqiyun"
id=
"1597831211781-
2
"
runAlways=
"true"
>
<comment>
create view toip_biz_message
</comment>
<comment>
create view toip_biz_message
</comment>
<sql>
<sql
endDelimiter=
"#"
>
DROP VIEW IF EXISTS toip_biz_message
;
DROP VIEW IF EXISTS toip_biz_message
#
CREATE ALGORITHM = UNDEFINED DEFINER = `root` @`%` SQL SECURITY DEFINER VIEW `toip_biz_message` AS SELECT
CREATE ALGORITHM = UNDEFINED DEFINER = `root` @`%` SQL SECURITY DEFINER VIEW `toip_biz_message` AS SELECT
`m`.`id` AS `id`,
`m`.`id` AS `id`,
`m`.`id` AS `originId`,
`m`.`id` AS `originId`,
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
FROM
FROM
( `toip_sys_message` `m` JOIN `f_risk_source` `n` )
( `toip_sys_message` `m` JOIN `f_risk_source` `n` )
WHERE
WHERE
( ( `n`.`id` = `m`.`biz_id` ) AND ( `m`.`bizclass_name` = 'class com.yeejoin.amos.fas.business.service.model.RiskSourceRuleRo' ) )
;
( ( `n`.`id` = `m`.`biz_id` ) AND ( `m`.`bizclass_name` = 'class com.yeejoin.amos.fas.business.service.model.RiskSourceRuleRo' ) )
#
</sql>
</sql>
</changeSet>
</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