Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
17f3776f
Commit
17f3776f
authored
Apr 08, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
521c2ac1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
5 deletions
+2
-5
xggsve-merchant/app/base/api/impl/op/action.js
+0
-3
xggsve-merchant/app/base/db/impl/merchant/saasmerchantaddrDao.js
+1
-1
xggsve-merchant/app/base/db/impl/merchant/saasmerchanttitleDao.js
+1
-1
xggsve-merchant/app/base/service/impl/merchant/saasmerchantSve.js
+0
-0
No files found.
xggsve-merchant/app/base/api/impl/op/action.js
View file @
17f3776f
...
@@ -110,9 +110,6 @@ class ActionAPI extends APIBase {
...
@@ -110,9 +110,6 @@ class ActionAPI extends APIBase {
case
"merchantTitleAddrPage"
:
//查询 title and addr list
case
"merchantTitleAddrPage"
:
//查询 title and addr list
opResult
=
await
this
.
saasmerchantSve
.
merchantTitleAddrPage
(
action_body
);
opResult
=
await
this
.
saasmerchantSve
.
merchantTitleAddrPage
(
action_body
);
break
;
break
;
case
"updateMerchantTitleAndAddr"
:
opResult
=
await
this
.
saasmerchantSve
.
updateMerchantTitleAndAddr
(
action_body
);
break
;
case
"queryInvoiceTitleAndAddr"
:
//查询商户title&addr
case
"queryInvoiceTitleAndAddr"
:
//查询商户title&addr
opResult
=
await
this
.
saasmerchantSve
.
queryInvoiceTitleAndAddr
(
action_body
);
opResult
=
await
this
.
saasmerchantSve
.
queryInvoiceTitleAndAddr
(
action_body
);
break
;
break
;
...
...
xggsve-merchant/app/base/db/impl/merchant/saasmerchantaddrDao.js
View file @
17f3776f
...
@@ -10,7 +10,7 @@ class SaasmerchantaddrDao extends Dao {
...
@@ -10,7 +10,7 @@ class SaasmerchantaddrDao extends Dao {
*/
*/
async
getAllByMerchantId
(
id
){
async
getAllByMerchantId
(
id
){
let
sql
=
`select * from saas_merchant_addr where saas_merchant_id = :saas_merchant_id`
;
let
sql
=
`select * from saas_merchant_addr where saas_merchant_id = :saas_merchant_id`
;
return
await
this
.
custom
Update
(
sql
.
join
(
" "
)
,
{
saas_merchant_id
:
id
});
return
await
this
.
custom
Query
(
sql
,
{
saas_merchant_id
:
id
});
}
}
...
...
xggsve-merchant/app/base/db/impl/merchant/saasmerchanttitleDao.js
View file @
17f3776f
...
@@ -7,7 +7,7 @@ class SaasmerchanttitleDao extends Dao {
...
@@ -7,7 +7,7 @@ class SaasmerchanttitleDao extends Dao {
async
getAllByMerchantId
(
id
){
async
getAllByMerchantId
(
id
){
let
sql
=
`select * from saas_merchant_title where saas_merchant_id = :saas_merchant_id`
;
let
sql
=
`select * from saas_merchant_title where saas_merchant_id = :saas_merchant_id`
;
return
await
this
.
custom
Update
(
sql
.
join
(
" "
)
,
{
saas_merchant_id
:
id
});
return
await
this
.
custom
Query
(
sql
,
{
saas_merchant_id
:
id
});
}
}
...
...
xggsve-merchant/app/base/service/impl/merchant/saasmerchantSve.js
View file @
17f3776f
This diff is collapsed.
Click to expand it.
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