Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
doc
/
ht_project_doc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 768c57d0
authored
Apr 08, 2026
by
王璐琦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新测试环境脚本
1 parent
df519fe1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
05_v5.7.1_20260417/sql/DML/dj组dj_financial_dml.sql
05_v5.7.1_20260417/sql/DML/dj组dj_financial_dml.sql
View file @
768c57d
...
...
@@ -94,20 +94,20 @@ UPDATE nb_cb_batch_transfer SET sp_no = dj_serial_no,updated_by='wlq20260331',up
UPDATE
nb_cb_transfer
SET
sp_no
=
dj_serial_no
,
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_batch_transfer
SET
cust_id
=
'
0000112058
'
,
dj_serial_no
=
CONCAT
(
'44210895_'
,
dj_serial_no
),
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_batch_transfer
SET
cust_id
=
'
9000919969
'
,
dj_serial_no
=
CONCAT
(
'44210895_'
,
dj_serial_no
),
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_transfer
SET
cust_id
=
'
0000112058
'
,
dj_serial_no
=
CONCAT
(
'44210895_'
,
dj_serial_no
),
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_transfer
SET
cust_id
=
'
9000919969
'
,
dj_serial_no
=
CONCAT
(
'44210895_'
,
dj_serial_no
),
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_acc_detail
SET
cust_id
=
'
0000112058
'
,
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_acc_detail
SET
cust_id
=
'
9000919969
'
,
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_account
SET
cust_id
=
'
0000112058
'
,
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_account
SET
cust_id
=
'
9000919969
'
,
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_receipt
SET
cust_id
=
'
0000112058
'
,
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
UPDATE
nb_cb_receipt
SET
cust_id
=
'
9000919969
'
,
updated_by
=
'wlq20260331'
,
updated_date
=
now
()
WHERE
cust_id
IS
NULL
;
-- 优加模板
insert
into
approval_template_config
(
merchant_id
,
cust_type
,
template_id
,
template_name
,
push_check_point
,
pay_channel
,
created_at
,
updated_at
,
del_flag
)
values
(
'44210956'
,
2
,
'3WN789QgE1YpXBKPrhWPBHG3ABYvGABPu6TDiGVR'
,
'SaaS+商务付款(二手车业务)'
,
-
1
,
2
,
now
(),
now
(),
0
);
values
(
'44210956'
,
2
,
'3WN789QgE1YpXBKPrhWPBHG3ABYvGABPu6TDiGVR'
,
'SaaS+商务付款(二手车业务
|优加
)'
,
-
1
,
2
,
now
(),
now
(),
0
);
INSERT
INTO
`approval_template_detail`
(
`template_id`
,
`field_name`
,
`mapped_field`
,
`mapped_column`
,
`show_order`
,
`show_alias`
,
`show_suffix`
,
`created_at`
,
`updated_at`
)
SELECT
...
...
@@ -126,7 +126,7 @@ WHERE `template_id` = '3WN6affnfkZnroEPKYyw9HCb4JTaXwcBRfgEeP8G';
-- 优加企业主体账号信息
insert
into
enterprise_bank_account
(
enterprise_name
,
bank_account_number
,
created_at
,
updated_at
,
bank_name
)
values
(
'深圳市优加智汇科技有限公司'
,
'86041110001342705'
,
now
(),
now
(),
'宁波银行深圳分行'
);
INSERT
INTO
`dj_financial`
.
`nb_cb_cust_info`
(
`cust_type`
,
`cust_id`
,
`app_key`
,
`remark`
,
`created_date`
,
`created_by`
,
`updated_date`
,
`updated_by`
,
`deleted_flag`
)
VALUES
(
'1'
,
'
0000112058'
,
'54b3e05c-7983-4e6c-8920-f9ab8a0004a6
'
,
'广联主体信息'
,
'2026-04-03 10:34:33'
,
'system'
,
'2026-04-03 10:34:41'
,
'system'
,
'N'
);
INSERT
INTO
`dj_financial`
.
`nb_cb_cust_info`
(
`cust_type`
,
`cust_id`
,
`app_key`
,
`remark`
,
`created_date`
,
`created_by`
,
`updated_date`
,
`updated_by`
,
`deleted_flag`
)
VALUES
(
'1'
,
'
9000919969'
,
'9865fe2c-1ba3-4e9c-af8a-24d2a8e0eafc
'
,
'广联主体信息'
,
'2026-04-03 10:34:33'
,
'system'
,
'2026-04-03 10:34:41'
,
'system'
,
'N'
);
INSERT
INTO
`dj_financial`
.
`nb_cb_cust_info`
(
`cust_type`
,
`cust_id`
,
`app_key`
,
`remark`
,
`created_date`
,
`created_by`
,
`updated_date`
,
`updated_by`
,
`deleted_flag`
)
VALUES
(
'2'
,
'9002368118'
,
'3b37996d-cdad-4448-b595-74ac5c3c965d'
,
'优加主体信息'
,
'2026-04-03 10:35:35'
,
'system'
,
'2026-04-03 10:35:45'
,
'system'
,
'N'
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment