记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
527f5461
Commit
527f5461
authored
Jun 15, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
42850630
456ea54b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
873 additions
and
1036 deletions
+873
-1036
db_liquidnet_admin_data.sql
...quidnet-client-admin-web/docu/db_liquidnet_admin_data.sql
+109
-0
db_liquidnet_admin_structure.sql
...et-client-admin-web/docu/db_liquidnet_admin_structure.sql
+712
-1010
MQConst.java
...c/main/java/com/liquidnet/common/mq/constant/MQConst.java
+3
-3
liquidnet-service-adam-test.yml
...s-config/liquidnet-config/liquidnet-service-adam-test.yml
+1
-1
liquidnet-service-kylin-test.yml
...-config/liquidnet-config/liquidnet-service-kylin-test.yml
+1
-1
ConsumerProcessor.java
...service/consumer/service/processor/ConsumerProcessor.java
+39
-16
KylinOrderTicketEntitiesServiceImpl.java
...lin/service/impl/KylinOrderTicketEntitiesServiceImpl.java
+4
-5
DataUtils.java
...ain/java/com/liquidnet/service/kylin/utils/DataUtils.java
+4
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/docu/db_liquidnet_admin_data.sql
0 → 100644
View file @
527f5461
-- sys_menu
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2000
,
'正在映画'
,
0
,
0
,
'#'
,
'menuItem'
,
'M'
,
'0'
,
'1'
,
null
,
'#'
,
'admin'
,
'2021-05-28 17:17:22'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2001
,
'演出管理'
,
2000
,
0
,
'#'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:performances:view'
,
'#'
,
'admin'
,
'2021-05-28 17:18:31'
,
'admin'
,
'2021-05-28 17:19:47'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2002
,
'演出列表'
,
2001
,
0
,
'/kylin/performances'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:performances:list'
,
'#'
,
'admin'
,
'2021-05-28 17:19:02'
,
'admin'
,
'2021-05-28 17:23:56'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2005
,
'演出日历'
,
2001
,
1
,
'/kylin/performanceCalendar'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:performanceCalendar:list'
,
'#'
,
'admin'
,
'2021-05-31 15:31:59'
,
'admin'
,
'2021-06-10 11:33:04'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2006
,
'退款管理'
,
2000
,
1
,
'#'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:refund:view'
,
'#'
,
'admin'
,
'2021-06-01 11:02:21'
,
'admin'
,
'2021-06-01 11:03:59'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2007
,
'订单退款列表'
,
2006
,
0
,
'/kylin/refund'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:refund:list'
,
'#'
,
'admin'
,
'2021-06-01 11:05:54'
,
'admin'
,
'2021-06-04 11:01:38'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2008
,
'演出退款管理'
,
2006
,
1
,
'/kylin/refundBatch'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:refundBatch:list'
,
'#'
,
'admin'
,
'2021-06-01 11:07:19'
,
'admin'
,
'2021-06-04 11:03:21'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2009
,
'详情'
,
2007
,
0
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refund:detail'
,
'#'
,
'admin'
,
'2021-06-01 15:59:09'
,
'admin'
,
'2021-06-04 11:01:50'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2010
,
'推荐演出'
,
2001
,
1
,
'/kylin/performances/recommend'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:performances:recommend:list'
,
'#'
,
'admin'
,
'2021-06-01 19:29:03'
,
'admin'
,
'2021-06-01 19:52:34'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2011
,
'巡演管理'
,
2001
,
2
,
'/kylin/performances/roadShow'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:performances:roadShow:list'
,
'#'
,
'admin'
,
'2021-06-01 19:29:29'
,
'admin'
,
'2021-06-01 19:52:42'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2012
,
'取消'
,
2007
,
1
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refund:cancel'
,
'#'
,
'admin'
,
'2021-06-02 16:48:35'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2013
,
'拒绝后重新发起审核'
,
2007
,
2
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refund:reapple'
,
'#'
,
'admin'
,
'2021-06-02 16:49:18'
,
'admin'
,
'2021-06-04 11:02:15'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2014
,
'一审'
,
2007
,
3
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refund:review'
,
'#'
,
'admin'
,
'2021-06-02 16:50:17'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2015
,
'二审'
,
2007
,
4
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refund:execute'
,
'#'
,
'admin'
,
'2021-06-02 16:50:44'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2016
,
'...删除不了'
,
2007
,
5
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refund:completed'
,
'#'
,
'admin'
,
'2021-06-02 16:53:42'
,
'admin'
,
'2021-06-04 11:03:07'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2017
,
'会员待审核信息'
,
2001
,
3
,
'kylin/performances/memberAudit'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:performances:recommendAudit'
,
'#'
,
'admin'
,
'2021-06-03 15:04:46'
,
'admin'
,
'2021-06-03 15:15:14'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2018
,
'详情'
,
2008
,
0
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refundBatch:detail'
,
'#'
,
'admin'
,
'2021-06-03 19:21:53'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2019
,
'取消'
,
2008
,
1
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refundBatch:cancel'
,
'#'
,
'admin'
,
'2021-06-03 19:22:25'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2020
,
'拒绝后重新发起审核'
,
2008
,
2
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refundBatch:reapply'
,
'#'
,
'admin'
,
'2021-06-03 19:22:55'
,
'admin'
,
'2021-06-04 11:03:38'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2021
,
'一审'
,
2008
,
3
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refundBatch:review'
,
'#'
,
'admin'
,
'2021-06-03 19:23:27'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2022
,
'二审'
,
2008
,
4
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:refundBatch:execute'
,
'#'
,
'admin'
,
'2021-06-03 19:23:52'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2023
,
'会员管理'
,
2000
,
3
,
'#'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
''
,
'#'
,
'admin'
,
'2021-06-06 17:24:23'
,
'admin'
,
'2021-06-07 20:02:44'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2024
,
'会员订单'
,
2023
,
1
,
'/adam/order/orderList'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
null
,
'#'
,
'admin'
,
'2021-06-06 17:26:44'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2025
,
'演出订单'
,
2001
,
1
,
'/kylin/order/orderList'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
null
,
'#'
,
'admin'
,
'2021-06-06 17:34:04'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2026
,
'Banners'
,
2000
,
2
,
'#'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:banners:view'
,
'#'
,
'admin'
,
'2021-06-07 20:01:36'
,
'admin'
,
'2021-06-07 20:02:33'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2027
,
'Banner列表'
,
2026
,
0
,
'/kylin/banners'
,
'menuItem'
,
'C'
,
'0'
,
'1'
,
'kylin:banners:list'
,
'#'
,
'admin'
,
'2021-06-07 20:03:59'
,
'admin'
,
'2021-06-07 20:04:51'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2028
,
'添加'
,
2027
,
0
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:banners:create'
,
'#'
,
'admin'
,
'2021-06-07 20:05:33'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2029
,
'编辑'
,
2027
,
1
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:banners:update'
,
'#'
,
'admin'
,
'2021-06-07 20:05:58'
,
''
,
null
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2030
,
'查看-删除不用了'
,
2027
,
2
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:banners:detail'
,
'#'
,
'admin'
,
'2021-06-07 20:06:32'
,
'admin'
,
'2021-06-08 10:32:17'
,
''
);
INSERT
INTO
test_ln_scene
.
sys_menu
(
menu_id
,
menu_name
,
parent_id
,
order_num
,
url
,
target
,
menu_type
,
visible
,
is_refresh
,
perms
,
icon
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
2031
,
'删除'
,
2027
,
3
,
'#'
,
'menuItem'
,
'F'
,
'0'
,
'1'
,
'kylin:banners:delete'
,
'#'
,
'admin'
,
'2021-06-07 20:07:07'
,
''
,
null
,
''
);
-- sys_role_menu
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2000
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2001
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2002
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2005
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2006
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2007
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2008
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2009
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2010
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2011
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2012
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2013
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2014
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2015
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2016
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2017
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2018
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2019
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2020
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2021
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2022
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2023
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2024
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2025
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2026
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2027
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2028
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2029
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2030
);
INSERT
INTO
test_ln_scene
.
sys_role_menu
(
role_id
,
menu_id
)
VALUES
(
2
,
2031
);
-- sys_dict_type
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
100
,
'支付方式'
,
'zhengzai_pay_type'
,
'0'
,
'admin'
,
'2021-06-07 10:33:50'
,
'admin'
,
'2021-06-07 10:46:03'
,
'支付方式'
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
101
,
'订单状态'
,
'zhengzai_order_status'
,
'0'
,
'admin'
,
'2021-06-07 10:49:10'
,
''
,
null
,
'订单状态'
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
102
,
'客户端'
,
'zhengzai_order_source'
,
'0'
,
'admin'
,
'2021-06-07 10:55:14'
,
''
,
null
,
'客户端'
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
103
,
'取票方式'
,
'zhengzai_get_ticket_type'
,
'0'
,
'admin'
,
'2021-06-08 12:21:00'
,
''
,
null
,
'取票方式'
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
104
,
'快递状态'
,
'zhengzai_express_status'
,
'0'
,
'admin'
,
'2021-06-08 12:28:11'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
105
,
'搭售商品'
,
'zhengzai_tied_type'
,
'0'
,
'admin'
,
'2021-06-08 12:31:46'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
106
,
'购买方式'
,
'zhengzai_buy_mode'
,
'0'
,
'admin'
,
'2021-06-08 14:03:35'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
107
,
'支付状态'
,
'zhengzai_payment_type'
,
'0'
,
'admin'
,
'2021-06-11 16:01:37'
,
''
,
null
,
'票务状态'
);
INSERT
INTO
test_ln_scene
.
sys_dict_type
(
dict_id
,
dict_name
,
dict_type
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
108
,
'出票状态'
,
'zhengzai_ticket_status'
,
'0'
,
'admin'
,
'2021-06-11 16:03:36'
,
''
,
null
,
'订单出票状态'
);
-- sys_dict_data
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
100
,
2
,
'支付宝'
,
'alipay'
,
'zhengzai_pay_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:39:11'
,
''
,
null
,
'支付宝'
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
102
,
2
,
'微信'
,
'wepay'
,
'zhengzai_pay_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:43:23'
,
''
,
null
,
'微信'
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
103
,
1
,
'待付款'
,
'0'
,
'zhengzai_order_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:49:48'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
104
,
2
,
'已付款'
,
'1'
,
'zhengzai_order_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:50:05'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
105
,
3
,
'已关闭'
,
'2'
,
'zhengzai_order_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:50:30'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
106
,
4
,
'正在退款'
,
'3'
,
'zhengzai_order_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:50:52'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
107
,
5
,
'已退款'
,
'4'
,
'zhengzai_order_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:51:11'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
108
,
6
,
'待关闭'
,
'5'
,
'zhengzai_order_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:51:25'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
109
,
7
,
'部分退款'
,
'6'
,
'zhengzai_order_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:51:41'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
110
,
1
,
'H5'
,
'H5'
,
'zhengzai_order_source'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:55:51'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
111
,
1
,
'IOS'
,
'IOS'
,
'zhengzai_order_source'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:57:44'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
112
,
3
,
'Android'
,
'Android'
,
'zhengzai_order_source'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-07 10:58:16'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
113
,
1
,
'电子'
,
'electronic'
,
'zhengzai_get_ticket_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:22:30'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
114
,
2
,
'快递'
,
'express'
,
'zhengzai_get_ticket_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:22:48'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
115
,
3
,
'自取'
,
'invite'
,
'zhengzai_get_ticket_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:23:10'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
116
,
4
,
'渠道'
,
'channel'
,
'zhengzai_get_ticket_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:23:27'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
117
,
1
,
'全部'
,
'-1'
,
'zhengzai_express_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:28:31'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
118
,
2
,
'已发货'
,
'1'
,
'zhengzai_express_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:28:46'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
119
,
3
,
'未发货'
,
'0'
,
'zhengzai_express_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:29:04'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
120
,
1
,
'全部'
,
'-1'
,
'zhengzai_tied_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:32:04'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
121
,
1
,
'包含'
,
'1'
,
'zhengzai_tied_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:32:19'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
122
,
3
,
'不含'
,
'0'
,
'zhengzai_tied_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 12:32:33'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
123
,
1
,
'全部'
,
'null'
,
'zhengzai_buy_mode'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 14:04:13'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
124
,
2
,
'购买会员'
,
'0'
,
'zhengzai_buy_mode'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 14:04:43'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
125
,
2
,
'购买会员码'
,
'1'
,
'zhengzai_buy_mode'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 14:05:10'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
126
,
3
,
'使用购买的会员码'
,
'2'
,
'zhengzai_buy_mode'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 14:05:34'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
127
,
4
,
'使用赠送的会员码'
,
'3'
,
'zhengzai_buy_mode'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-08 14:05:59'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
128
,
1
,
'未支付'
,
'0'
,
'zhengzai_payment_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-11 16:04:29'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
129
,
2
,
'已支付'
,
'1'
,
'zhengzai_payment_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-11 16:04:44'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
130
,
3
,
'退票中'
,
'2'
,
'zhengzai_payment_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-11 16:06:35'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
131
,
4
,
'已退款'
,
'3'
,
'zhengzai_payment_type'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-11 16:06:52'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
132
,
1
,
'未出票'
,
'0'
,
'zhengzai_ticket_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-11 16:07:27'
,
''
,
null
,
null
);
INSERT
INTO
test_ln_scene
.
sys_dict_data
(
dict_code
,
dict_sort
,
dict_label
,
dict_value
,
dict_type
,
css_class
,
list_class
,
is_default
,
status
,
create_by
,
create_time
,
update_by
,
update_time
,
remark
)
VALUES
(
133
,
2
,
'已出票'
,
'1'
,
'zhengzai_ticket_status'
,
null
,
null
,
'Y'
,
'0'
,
'admin'
,
'2021-06-11 16:07:41'
,
''
,
null
,
null
);
\ No newline at end of file
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/docu/db_liquidnet_admin_structure.sql
View file @
527f5461
This source diff could not be displayed because it is too large. You can
view the blob
instead.
liquidnet-bus-common/liquidnet-common-mq/src/main/java/com/liquidnet/common/mq/constant/MQConst.java
View file @
527f5461
...
@@ -3,12 +3,12 @@ package com.liquidnet.common.mq.constant;
...
@@ -3,12 +3,12 @@ package com.liquidnet.common.mq.constant;
public
class
MQConst
{
public
class
MQConst
{
public
static
final
String
EXCHANGES_LIQUIDNET_SQL
=
"liquidnet.sql"
;
public
static
final
String
EXCHANGES_LIQUIDNET_SQL
=
"liquidnet.sql"
;
public
static
final
String
ROUTING_KEY_SQL
=
"sql"
;
public
static
final
String
ROUTING_KEY_SQL
=
"sql"
;
public
static
final
String
QUEUES_SQL_MAIN
=
"queue.sql.main"
;
public
static
final
String
QUEUES_SQL_MAIN
=
"queue.sql.main"
;
public
static
final
String
ROUTING_KEY_SQL_KYLIN_STATION
=
"sql.kylin.station"
;
public
static
final
String
QUEUES_SQL_KYLIN_STATION
=
"queue.sql.kylin.station"
;
//缺票登记
//缺票登记
public
static
final
String
EXCHANGES_LIQUIDNET_SQL_PERFORMANCE_LACK
=
"liquidnet.sql.performance.lack"
;
public
static
final
String
EXCHANGES_LIQUIDNET_SQL_PERFORMANCE_LACK
=
"liquidnet.sql.performance.lack"
;
public
static
final
String
ROUTING_KEY_SQL_PERFORMANCE_LACK
=
"performance.lack"
;
public
static
final
String
ROUTING_KEY_SQL_PERFORMANCE_LACK
=
"performance.lack"
;
...
...
liquidnet-bus-config/liquidnet-config/liquidnet-service-adam-test.yml
View file @
527f5461
...
@@ -3,7 +3,7 @@ liquidnet:
...
@@ -3,7 +3,7 @@ liquidnet:
updating
:
updating
:
switch
:
false
switch
:
false
info
:
info
:
port
:
80
port
:
9001
context
:
context
:
name
:
liquidnet-service-adam
name
:
liquidnet-service-adam
logfile
:
logfile
:
...
...
liquidnet-bus-config/liquidnet-config/liquidnet-service-kylin-test.yml
View file @
527f5461
...
@@ -3,7 +3,7 @@ liquidnet:
...
@@ -3,7 +3,7 @@ liquidnet:
updating
:
updating
:
switch
:
false
switch
:
false
info
:
info
:
port
:
80
port
:
9002
context
:
context
:
name
:
liquidnet-service-kylin
name
:
liquidnet-service-kylin
logfile
:
logfile
:
...
...
liquidnet-bus-service/liquidnet-service-consumer/src/main/java/com/liquidnet/service/consumer/service/processor/ConsumerProcessor.java
View file @
527f5461
...
@@ -6,6 +6,9 @@ import com.liquidnet.service.base.SqlMapping;
...
@@ -6,6 +6,9 @@ import com.liquidnet.service.base.SqlMapping;
import
com.liquidnet.service.consumer.service.IBaseDao
;
import
com.liquidnet.service.consumer.service.IBaseDao
;
import
com.rabbitmq.client.Channel
;
import
com.rabbitmq.client.Channel
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.amqp.rabbit.annotation.Exchange
;
import
org.springframework.amqp.rabbit.annotation.Queue
;
import
org.springframework.amqp.rabbit.annotation.QueueBinding
;
import
org.springframework.amqp.rabbit.annotation.RabbitListener
;
import
org.springframework.amqp.rabbit.annotation.RabbitListener
;
import
org.springframework.stereotype.Component
;
import
org.springframework.stereotype.Component
;
import
org.springframework.amqp.core.Message
;
import
org.springframework.amqp.core.Message
;
...
@@ -25,17 +28,12 @@ public class ConsumerProcessor {
...
@@ -25,17 +28,12 @@ public class ConsumerProcessor {
@Resource
@Resource
IBaseDao
baseDao
;
IBaseDao
baseDao
;
// @RabbitListener(bindings = @QueueBinding(
@RabbitListener
(
bindings
=
@QueueBinding
(
// exchange = @Exchange("queue.sql"),
exchange
=
@Exchange
(
MQConst
.
EXCHANGES_LIQUIDNET_SQL
),
// key = "rk",
key
=
MQConst
.
ROUTING_KEY_SQL
,
// value = @Queue("queue.sql.main")
value
=
@Queue
(
MQConst
.
QUEUES_SQL_MAIN
)
// ))
))
// @RabbitHandler
// @RabbitListener(queues = MQConst.QUEUES_SQL_MAIN)
// public void consumerSql(Message message) {
// log.info("consumer sql:{}", message);
// }
@RabbitListener
(
queues
=
MQConst
.
QUEUES_SQL_MAIN
)
public
void
consumerSql
(
Message
msg
,
Channel
channel
)
{
public
void
consumerSql
(
Message
msg
,
Channel
channel
)
{
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
log
.
debug
(
"consumer sql ==> Preparing:{}"
,
JsonUtils
.
toJson
(
sqlMessage
.
getSqls
()));
log
.
debug
(
"consumer sql ==> Preparing:{}"
,
JsonUtils
.
toJson
(
sqlMessage
.
getSqls
()));
...
@@ -60,7 +58,12 @@ public class ConsumerProcessor {
...
@@ -60,7 +58,12 @@ public class ConsumerProcessor {
}
}
// 订单创建
// 订单创建
@RabbitListener
(
queues
=
MQConst
.
QUEUES_SQL_ORDER_CREATE
)
// @RabbitListener(queues = MQConst.QUEUES_SQL_ORDER_CREATE)
@RabbitListener
(
bindings
=
@QueueBinding
(
exchange
=
@Exchange
(
MQConst
.
EXCHANGES_LIQUIDNET_SQL_ORDER_CREADE
),
key
=
MQConst
.
ROUTING_KEY_SQL_ORDER_CREATE
,
value
=
@Queue
(
MQConst
.
QUEUES_SQL_ORDER_CREATE
)
))
public
void
consumerOrderCreate
(
Message
msg
,
Channel
channel
)
{
public
void
consumerOrderCreate
(
Message
msg
,
Channel
channel
)
{
log
.
info
(
"=== CONSUMER_ORDER_CREATE ==="
);
log
.
info
(
"=== CONSUMER_ORDER_CREATE ==="
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
...
@@ -86,7 +89,12 @@ public class ConsumerProcessor {
...
@@ -86,7 +89,12 @@ public class ConsumerProcessor {
}
}
//订单再次支付
//订单再次支付
@RabbitListener
(
queues
=
MQConst
.
QUEUES_SQL_ORDER_AGAIN
)
// @RabbitListener(queues = MQConst.QUEUES_SQL_ORDER_AGAIN)
@RabbitListener
(
bindings
=
@QueueBinding
(
exchange
=
@Exchange
(
MQConst
.
EXCHANGES_LIQUIDNET_SQL_ORDER_AGAIN
),
key
=
MQConst
.
ROUTING_KEY_SQL_ORDER_AGAIN
,
value
=
@Queue
(
MQConst
.
QUEUES_SQL_ORDER_AGAIN
)
))
public
void
consumerOrderPayAgain
(
Message
msg
,
Channel
channel
)
{
public
void
consumerOrderPayAgain
(
Message
msg
,
Channel
channel
)
{
log
.
info
(
"=== CONSUMER_ORDER_PAY_AGAIN ==="
);
log
.
info
(
"=== CONSUMER_ORDER_PAY_AGAIN ==="
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
...
@@ -112,7 +120,12 @@ public class ConsumerProcessor {
...
@@ -112,7 +120,12 @@ public class ConsumerProcessor {
}
}
//订单关闭
//订单关闭
@RabbitListener
(
queues
=
MQConst
.
QUEUES_SQL_ORDER_CLOSE
)
// @RabbitListener(queues = MQConst.QUEUES_SQL_ORDER_CLOSE)
@RabbitListener
(
bindings
=
@QueueBinding
(
exchange
=
@Exchange
(
MQConst
.
EXCHANGES_LIQUIDNET_SQL_ORDER_CLOSE
),
key
=
MQConst
.
ROUTING_KEY_SQL_ORDER_CLOSE
,
value
=
@Queue
(
MQConst
.
QUEUES_SQL_ORDER_CLOSE
)
))
public
void
consumerOrderClose
(
Message
msg
,
Channel
channel
)
{
public
void
consumerOrderClose
(
Message
msg
,
Channel
channel
)
{
log
.
info
(
"=== CONSUMER_ORDER_CLOSE ==="
);
log
.
info
(
"=== CONSUMER_ORDER_CLOSE ==="
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
...
@@ -138,7 +151,12 @@ public class ConsumerProcessor {
...
@@ -138,7 +151,12 @@ public class ConsumerProcessor {
}
}
//订单支付
//订单支付
@RabbitListener
(
queues
=
MQConst
.
QUEUES_SQL_ORDER_PAY
)
// @RabbitListener(queues = MQConst.QUEUES_SQL_ORDER_PAY)
@RabbitListener
(
bindings
=
@QueueBinding
(
exchange
=
@Exchange
(
MQConst
.
EXCHANGES_LIQUIDNET_SQL_ORDER_PAY
),
key
=
MQConst
.
ROUTING_KEY_SQL_ORDER_PAY
,
value
=
@Queue
(
MQConst
.
QUEUES_SQL_ORDER_PAY
)
))
public
void
consumerOrderPay
(
Message
msg
,
Channel
channel
)
{
public
void
consumerOrderPay
(
Message
msg
,
Channel
channel
)
{
log
.
info
(
"=== CONSUMER_ORDER_PAY ==="
);
log
.
info
(
"=== CONSUMER_ORDER_PAY ==="
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
...
@@ -164,7 +182,12 @@ public class ConsumerProcessor {
...
@@ -164,7 +182,12 @@ public class ConsumerProcessor {
}
}
//缺票登记
//缺票登记
@RabbitListener
(
queues
=
MQConst
.
QUEUES_SQL_PERFORMANCE_LACK
)
// @RabbitListener(queues = MQConst.QUEUES_SQL_PERFORMANCE_LACK)
@RabbitListener
(
bindings
=
@QueueBinding
(
exchange
=
@Exchange
(
MQConst
.
EXCHANGES_LIQUIDNET_SQL_PERFORMANCE_LACK
),
key
=
MQConst
.
ROUTING_KEY_SQL_PERFORMANCE_LACK
,
value
=
@Queue
(
MQConst
.
QUEUES_SQL_PERFORMANCE_LACK
)
))
public
void
consumerPerformanceLack
(
Message
msg
,
Channel
channel
)
{
public
void
consumerPerformanceLack
(
Message
msg
,
Channel
channel
)
{
log
.
info
(
"=== CONSUMER_PERFORMANCE_LACK ==="
);
log
.
info
(
"=== CONSUMER_PERFORMANCE_LACK ==="
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
SqlMapping
.
SqlMessage
sqlMessage
=
JsonUtils
.
fromJson
(
new
String
(
msg
.
getBody
()),
SqlMapping
.
SqlMessage
.
class
);
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketEntitiesServiceImpl.java
View file @
527f5461
package
com
.
liquidnet
.
service
.
kylin
.
service
.
impl
;
package
com
.
liquidnet
.
service
.
kylin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.liquidnet.common.mq.constant.MQConst
;
import
com.liquidnet.commons.lang.util.DateUtil
;
import
com.liquidnet.commons.lang.util.DateUtil
;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
com.liquidnet.service.base.SqlMapping
;
import
com.liquidnet.service.kylin.dto.param.KylinStationCheckOrderParam
;
import
com.liquidnet.service.kylin.dto.param.KylinStationCheckOrderParam
;
import
com.liquidnet.service.kylin.dto.vo.mongo.KylinOrderTicketEntitiesVo
;
import
com.liquidnet.service.kylin.dto.vo.mongo.KylinOrderTicketEntitiesVo
;
import
com.liquidnet.service.kylin.entity.KylinOrderTicketEntities
;
import
com.liquidnet.service.kylin.entity.KylinOrderTicketEntities
;
...
@@ -83,10 +85,7 @@ public class KylinOrderTicketEntitiesServiceImpl extends ServiceImpl<KylinOrderT
...
@@ -83,10 +85,7 @@ public class KylinOrderTicketEntitiesServiceImpl extends ServiceImpl<KylinOrderT
BulkWriteResult
bulkWriteResult
=
mongoTemplate
.
getCollection
(
KylinOrderTicketEntitiesVo
.
class
.
getSimpleName
()).
bulkWrite
(
list
);
BulkWriteResult
bulkWriteResult
=
mongoTemplate
.
getCollection
(
KylinOrderTicketEntitiesVo
.
class
.
getSimpleName
()).
bulkWrite
(
list
);
log
.
info
(
"bulkWriteResult:{}"
,
JsonUtils
.
toJson
(
bulkWriteResult
));
log
.
info
(
"bulkWriteResult:{}"
,
JsonUtils
.
toJson
(
bulkWriteResult
));
rabbitTemplate
.
convertSendAndReceive
(
MQConst
.
EXCHANGES_LIQUIDNET_SQL
,
MQConst
.
ROUTING_KEY_SQL_KYLIN_STATION
,
SqlMapping
.
get
(
"kylin_order_ticket_entities.updateStatusByStation"
,
paramsList
));
// TODO: 2021/6/1 sql to mq
// rabbitTemplate.convertSendAndReceive(MQConst.EXCHANGES_LIQUIDNET_SQL, MQConst.ROUTING_KEY_SQL,
// SqlMapping.get("kylin_order_ticket_entities.updateStatusByStation", paramsList));
}
}
}
}
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/utils/DataUtils.java
View file @
527f5461
...
@@ -326,6 +326,10 @@ public class DataUtils {
...
@@ -326,6 +326,10 @@ public class DataUtils {
try
{
try
{
//删除redis
//删除redis
redisUtil
.
del
(
KylinRedisConst
.
PERFORMANCES
+
performanceIds
);
redisUtil
.
del
(
KylinRedisConst
.
PERFORMANCES
+
performanceIds
);
// 大龙相关 演出列表
redisUtil
.
del
(
KylinRedisConst
.
PERFORMANCES_LIST_CITYNAME
+
vo
.
getCityName
());
redisUtil
.
del
(
KylinRedisConst
.
PERFORMANCES_LIST_RECOMMEND
);
redisUtil
.
del
(
KylinRedisConst
.
PERFORMANCES_ROADLIST
+
vo
.
getRoadShowId
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
...
...
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