Commit 9ea457de authored by xixinzhao's avatar xixinzhao

修改执行报错

parent ba59d2f1
...@@ -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
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