Commit 40afc961 authored by wux's avatar wux

修改2.3版本sql脚本

parent b7615bb7
alter table ecw_channel add COLUMN `bubble_exempt_weight` decimal(15,2) DEFAULT NULL COMMENT '免泡重量';
SELECT @parentId := (SELECT id FROM system_menu WHERE name LIKE '订单');
INSERT INTO jiedao.system_menu
(id, name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES(2391, '重泡货操作权限', '', 1, 1, 1559, 'order pao buttons', '#', NULL, 0, '1', '2024-11-20 17:16:53', '1', '2024-11-20 17:16:53', 0, 0, 'Order PAO Buttons', 0, NULL, NULL);
(name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES('重泡货操作权限', '', 1, 1, @parentId, 'order pao buttons', '#', NULL, 0, '1', '2024-11-20 17:16:53', '1', '2024-11-20 17:16:53', 0, 0, 'Order PAO Buttons', 0, NULL, NULL);
SELECT @parentId := (SELECT id FROM system_menu WHERE name LIKE '重泡货操作权限');
INSERT INTO jiedao.system_menu
(id, name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES(2392, '设为半泡', 'ecw:weight_deal:half_throw', 3, 1, 2391, '', '', '', 0, '1', '2024-11-20 17:22:48', '1', '2024-11-20 17:34:50', 0, 1, 'semi Bubble', 0, NULL, NULL);
(name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES('设为半泡', 'ecw:weight_deal:half_throw', 3, 1, @parentId, '', '', '', 0, '1', '2024-11-20 17:22:48', '1', '2024-11-20 17:34:50', 0, 1, 'semi Bubble', 0, NULL, NULL);
INSERT INTO jiedao.system_menu
(id, name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES(2393, '设为全泡', 'ecw:weight_deal:process', 3, 1, 2391, '', '', '', 0, '1', '2024-11-20 17:25:46', '1', '2024-11-20 17:35:04', 0, 1, 'full Bubble', 0, NULL, NULL);
(name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES('设为全泡', 'ecw:weight_deal:process', 3, 1, @parentId, '', '', '', 0, '1', '2024-11-20 17:25:46', '1', '2024-11-20 17:35:04', 0, 1, 'full Bubble', 0, NULL, NULL);
INSERT INTO jiedao.system_menu
(id, name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES(2394, '设为普货', 'ecw:weight_deal:general_cargo', 3, 1, 2391, '', '', '', 0, '1', '2024-11-20 17:28:52', '1', '2024-11-20 17:35:26', 0, 1, 'normal Cargo', 0, NULL, NULL);
(name, permission, menu_type, sort, parent_id, `path`, icon, component, status, creator, create_time, updater, update_time, deleted, is_show_in_menu_bar, name_en, keepalive, redirect, badge_field)
VALUES('设为普货', 'ecw:weight_deal:general_cargo', 3, 1, @parentId, '', '', '', 0, '1', '2024-11-20 17:28:52', '1', '2024-11-20 17:35:26', 0, 1, 'normal Cargo', 0, NULL, NULL);
--数据库字段添加
-- 数据库字段添加
ALTER TABLE system_dict_data ADD COLUMN label_fr VARCHAR(100) COMMENT '字典标签法文';
ALTER TABLE ecw_region ADD COLUMN title_fr VARCHAR(255) COMMENT '地区法文';
ALTER TABLE ecw_warehouse ADD COLUMN title_fr VARCHAR(500) COMMENT '法文名称';
......@@ -24,10 +24,10 @@ alter table ecw_channel add COLUMN `internal_name_fr` varchar(64) DEFAULT NULL
alter table ecw_channel add COLUMN `remarks_fr` varchar(255) DEFAULT NULL COMMENT '备注-法文';
alter table ecw_order_time add COLUMN `title_fr` varchar(255) DEFAULT NULL COMMENT '名称-法文';
alter table ecw_order_time add COLUMN `remarks_fr` varchar(255) DEFAULT NULL COMMENT '法文备注';
alter table ecw_country add COLUMN `name_fr` varchar(50) DEFAULT NULL COMMENT '法文名称',
alter table ecw_country add COLUMN `name_fr` varchar(50) DEFAULT NULL COMMENT '法文名称';
ALTER table ecw_banner ADD COLUMN `title_fr` varchar(255) COMMENT '法文标题';
ALTER table ecw_banner ADD column `content_fr` text COMMENT '法文内容';
--渠道表法语内容添加
-- 渠道表法语内容添加
UPDATE ecw_channel SET name_fr ='Vols préférentiels' WHERE name_zh ='尼特惠';
UPDATE ecw_channel SET name_fr ='Marchandises spéciales (Hong Kong)' WHERE name_zh ='尼特货';
......@@ -62,7 +62,7 @@ UPDATE ecw_channel SET internal_name_fr ='transport aérien Kenya' WHERE name_zh
UPDATE ecw_channel SET internal_name_fr ='transport aérien Kenya' WHERE name_zh ='肯尼亚特货';
UPDATE ecw_channel SET internal_name_fr ='transport maritime & aérien' WHERE name_zh ='海空联运';
--品牌表法语内容添加
-- 品牌表法语内容添加
update ecw_product_brank set title_en ='Nokia',title_fr ='Nokia' where title_zh= '诺基亚';
update ecw_product_brank set title_en ='samsung',title_fr ='samsung' where title_zh= '三星';
update ecw_product_brank set title_en ='apple',title_fr ='apple' where title_zh= '苹果';
......@@ -164,7 +164,7 @@ update ecw_product_brank set title_en ='MOVADO',title_fr ='MOVADO' where title_
update ecw_product_brank set title_en ='BALL',title_fr ='BALL' where title_zh= '波尔';
update ecw_product_brank set title_en ='CONSTANT',title_fr ='CONSTANT' where title_zh= '康思登';
--字典表法语添加
-- 字典表法语添加
UPDATE jiedao.system_dict_data SET label_en='Groupage(LCL)', label_fr='Groupage (LCL)' WHERE label='海运拼柜' and dict_type='transport_type' and deleted !=1;
UPDATE jiedao.system_dict_data SET label_en='FCL', label_fr='Conteneur complet (FCL)' WHERE label='海运整柜' and dict_type='transport_type' and deleted !=1;
UPDATE jiedao.system_dict_data SET label_en='Air freight', label_fr='Fret aérien' WHERE label='专线空运' and dict_type='transport_type' and deleted !=1;
......
......@@ -3,7 +3,7 @@ INSERT INTO jiedao.system_dict_type (name, `type`, status, remark, creator, crea
INSERT INTO jiedao.system_dict_data (sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted, label_en, label_fr) VALUES(0, '是', '0', 'yes_or_no_or_all', 0, 'default', '', NULL, '1', '2024-12-06 10:51:10', '1', '2024-12-06 10:51:10', 0, 'YES', 'YES');
INSERT INTO jiedao.system_dict_data (sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted, label_en, label_fr) VALUES(1, '否', '1', 'yes_or_no_or_all', 0, 'default', '', NULL, '1', '2024-12-06 10:51:42', '1', '2024-12-06 10:51:42', 0, 'NO', 'NO');
INSERT INTO jiedao.system_dict_data (sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted, label_en, label_fr) VALUES(2, '不限', '2', 'yes_or_no_or_all', 0, 'default', '', NULL, '1', '2024-12-06 10:53:29', '1', '2024-12-06 10:53:29', 0, 'ALL', 'ALL');
--订单V值获取积分,客户方字典添加
-- 订单V值获取积分,客户方字典添加
INSERT INTO jiedao.system_dict_type (name, `type`, status, remark, creator, create_time, updater, update_time, deleted) VALUES('客户方', 'customer_side', 0, '客户方:1.发货人 2.收货人', '1', '2024-12-07 13:50:41', '1', '2024-12-07 13:50:41', 0);
INSERT INTO jiedao.system_dict_data (sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted, label_en, label_fr) VALUES(0, '发货人', '1', 'customer_side', 0, 'default', '', NULL, '1', '2024-12-09 15:53:27', '1', '2024-12-09 15:53:27', 0, 'shipper', 'shipper');
INSERT INTO jiedao.system_dict_data (sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted, label_en, label_fr) VALUES(0, '收货人', '2', 'customer_side', 0, 'default', '', NULL, '1', '2024-12-09 15:53:48', '1', '2024-12-09 15:53:48', 0, 'consignee', 'consignee');
\ No newline at end of file
INSERT INTO jiedao.system_dict_data (sort, label, value, dict_type, status, color_type, css_class, remark, creator, create_time, updater, update_time, deleted, label_en, label_fr) VALUES(0, '收货人', '2', 'customer_side', 0, 'default', '', NULL, '1', '2024-12-09 15:53:48', '1', '2024-12-09 15:53:48', 0, 'consignee', 'consignee');
--app站内信,添加英文、法文字段
-- app站内信,添加英文、法文字段
ALTER TABLE ecw_web_internal_message
ADD COLUMN title_en VARCHAR(255) COMMENT '标题英文',
ADD COLUMN title_fr VARCHAR(255) COMMENT '标题法文',
ADD COLUMN content_en LONGTEXT COMMENT '内容英文',
ADD COLUMN content_fr LONGTEXT COMMENT '内容法文';
--站内信为英法字段赋值
-- 站内信为英法字段赋值
UPDATE ecw_web_internal_message
SET title_en = title,
title_fr = title,
content_en = content,
content_fr = content;
\ No newline at end of file
content_fr = content;
--地区表添加法语
-- 地区表添加法语
UPDATE jiedao.ecw_region SET title_fr='Europe' where title_zh='欧洲(Europe)' and title_en='Europe';
UPDATE jiedao.ecw_region SET title_fr='Asie' where title_zh='亚洲(Asia)' and title_en='Asia';
UPDATE jiedao.ecw_region SET title_fr='Afrique' where title_zh='非洲(Africa)' and title_en='Africa';
......@@ -446,14 +446,14 @@ UPDATE jiedao.ecw_region SET title_fr='Tanzanie' where title_zh='坦桑尼亚(Ta
UPDATE jiedao.ecw_region SET title_fr='Dar es Salaam' where title_zh='达累斯萨拉姆(Dar es Salaam)' and title_en='Dar es Salaam';
UPDATE jiedao.ecw_region SET title_fr='Dar es Salaam' where title_zh='达累斯萨拉姆(Dar es Salaam)' and title_en='Dar es Salaam';
--计量单位表
-- 计量单位表
UPDATE jiedao.ecw_unit SET title_fr='une colis petie taille compression' , title_en='une colis petie taille compression' where title_zh='小压包';
UPDATE jiedao.ecw_unit SET title_fr='kilogramme' , title_en='kilogramme' where title_zh='千克';
UPDATE jiedao.ecw_unit SET title_fr='mètre cube' , title_en='mètre cube' where title_zh='立方米';
UPDATE jiedao.ecw_unit SET title_fr='une colis grande taille compression' , title_en='une colis grande taille compression' where title_zh='大压包';
UPDATE jiedao.ecw_unit SET title_fr='individuel' , title_en='individuel' where title_zh='个';
--区号表
-- 区号表
UPDATE jiedao.ecw_country SET name_fr='Émirats Arabes Unis' where name_zh='阿拉伯联合酋长国' and name_en='UnitedArabEmirates' and deleted !=1;
UPDATE jiedao.ecw_country SET name_fr='Nigeria' where name_zh='尼日利亚' and name_en='Nigeria' and deleted !=1;
UPDATE jiedao.ecw_country SET name_fr='Pakistan' where name_zh='巴基斯坦' and name_en='Pakistan' and deleted !=1;
......@@ -703,13 +703,13 @@ UPDATE jiedao.ecw_country SET name_fr='Îles Åland' where name_zh='奥兰群岛
UPDATE jiedao.ecw_country SET name_fr='Canada' where name_zh='加拿大' and name_en='Canada' and deleted !=1;
--修改币别表
-- 修改币别表
UPDATE jiedao.ecw_currency
SET title_fr = title_en
where deleted !=1;
--仓库表
-- 仓库表
update ecw_warehouse set title_fr='Foshan' where title_zh='佛山仓' and title_en='Foshan';
update ecw_warehouse set title_fr='Alaba' where title_zh='Alaba' and title_en='Alaba';
update ecw_warehouse set title_fr='Yiwu' where title_zh='义乌仓' and title_en='Yiwu';
......@@ -731,7 +731,7 @@ update ecw_warehouse set title_fr='Kano' where title_zh='Kano' and title_en='Kan
update ecw_warehouse set title_fr='Dar es Salaam' where title_zh='Dar es Salaam' and title_en='Dar es Salaam';
update ecw_warehouse set title_fr='Odunade' where title_zh='Odunade' and title_en='Odunade';
--产品属性表
-- 产品属性表
update ecw_product_attr set attr_name_fr='produit normal' where attr_name='普货' and attr_name_en='Common goods';
update ecw_product_attr set attr_name_fr='Électricité pure' where attr_name='纯电' and attr_name_en='Pure electricity';
update ecw_product_attr set attr_name_fr='produit non acceptés' where attr_name='不接受货物' and attr_name_en='Goods not accepted';
......@@ -745,7 +745,7 @@ update ecw_product_attr set attr_name_fr='Produits chimiques quotidiens' where a
update ecw_product_attr set attr_name_fr='Marchandises Dangereuses' where attr_name='危险品' and attr_name_en='Dangerous Goods';
--产品表
-- 产品表
update ecw_product set title_fr ='Ensemble d''écouteurs' where title_zh='耳机套装' and title_en='earphone set';
update ecw_product set title_fr ='étui en cuir pour portable' where title_zh='手机皮套' and title_en='phone leather cover';
update ecw_product set title_fr ='Coque de téléphone' where title_zh='手机壳' and title_en='phone case';
......@@ -3789,7 +3789,7 @@ update ecw_product set title_fr ='Exception de demande de prix' where title_zh='
update ecw_product set title_fr ='单询异常测试' where title_zh='单询异常测试' and title_en='单询异常测试';
--广告banner
-- 广告banner
UPDATE jiedao.ecw_banner SET title_fr='Kumasi, Ghana branche', content_fr='<p>Le point de vente de Kumasi, au Ghana, a été ouvert le 1er août pour recevoir des marchandises maritimes et aériennes.</p>' WHERE title_zh='库马西网点开通';
UPDATE jiedao.ecw_banner SET title_fr='KANO branche', content_fr='<p>La branche de Kano a été ouverte pour recevoir des marchandises maritimes et aériens.</p>' WHERE title_zh='卡诺网点开通';
UPDATE jiedao.ecw_banner SET title_fr='Odunade branche(Coker)', content_fr='<p>Odunade branche(Coker)</p>' WHERE title_zh='尼日利亚新网点:Odunade(Coker) Branch';
\ No newline at end of file
UPDATE jiedao.ecw_banner SET title_fr='Odunade branche(Coker)', content_fr='<p>Odunade branche(Coker)</p>' WHERE title_zh='尼日利亚新网点:Odunade(Coker) Branch';
This source diff could not be displayed because it is too large. You can view the blob instead.
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