Commit 9ea457de authored by xixinzhao's avatar xixinzhao

修改执行报错

parent ba59d2f1
......@@ -5,10 +5,10 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
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>
<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
BEGIN
DECLARE riskSourceId BIGINT (20);
......@@ -56,10 +56,10 @@
<!-- END#-->
<!-- </sql>-->
<!-- </changeSet>-->
<changeSet author="shanqiyun" id="1588901126339-1" runAlways="true">
<changeSet author="shanqiyun" id="1588901126339-2" runAlways="true">
<comment>f_risk_source 查询所有子节点id</comment>
<sql endDelimiter="#">
DROP FUNCTION IF EXISTS queryRiskSourceChildrenIds;
DROP FUNCTION IF EXISTS queryRiskSourceChildrenIds #
CREATE FUNCTION queryRiskSourceChildrenIds(id INT)
RETURNS VARCHAR(4000)
BEGIN
......@@ -78,10 +78,10 @@
</sql>
</changeSet>
<changeSet author="maoying" id="1589954524001-1" runAlways="true">
<changeSet author="maoying" id="1589954524001-2" runAlways="true">
<comment>updatePointConfig 触发器创建</comment>
<sql endDelimiter="#">
DROP TRIGGER IF EXISTS `updatePointConfig`;
DROP TRIGGER IF EXISTS `updatePointConfig`#
CREATE TRIGGER `updatePointConfig` AFTER UPDATE ON `p_point` FOR EACH ROW
BEGIN
IF (new.name != old.name)
......@@ -92,10 +92,10 @@
END#
</sql>
</changeSet>
<changeSet author="shanqiyun" id="1597831211781-1" runAlways="true">
<changeSet author="shanqiyun" id="1597831211781-2" runAlways="true">
<comment>create view toip_biz_message</comment>
<sql>
DROP VIEW IF EXISTS toip_biz_message;
<sql endDelimiter="#">
DROP VIEW IF EXISTS toip_biz_message #
CREATE ALGORITHM = UNDEFINED DEFINER = `root` @`%` SQL SECURITY DEFINER VIEW `toip_biz_message` AS SELECT
`m`.`id` AS `id`,
`m`.`id` AS `originId`,
......@@ -146,7 +146,7 @@
FROM
( `toip_sys_message` `m` JOIN `f_risk_source` `n` )
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>
</changeSet>
</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