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
c6372040
Commit
c6372040
authored
Jan 17, 2020
by
赵庆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
cd2a07c2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
bpo-web/app/base/api/impl/econtractApi.js
+1
-4
bpo-web/app/base/service/impl/esettleSve.js
+1
-1
bpo-web/app/base/service/impl/etemplatebusiSve.js
+2
-2
No files found.
bpo-web/app/base/api/impl/econtractApi.js
View file @
c6372040
...
...
@@ -743,8 +743,7 @@ class EcontractApi {
return
this
.
returnjson
(
-
1
,
"身份证格式不正确"
);
}
// TODO 赵庆测试
let
busiIds
=
await
etemplatebusiSve
.
busiIdsByTemplateId
(
param
.
ecid
);
let
busiIds
=
await
this
.
etemplatebusiSve
.
busiIdsByTemplateId
(
param
.
ecid
);
let
num
=
await
this
.
esettleSve
.
isValidAge
(
busiIds
);
if
(
num
)
{
let
card
=
await
this
.
idcardClient
.
cardInfo
(
param
.
idNo
);
...
...
@@ -762,8 +761,6 @@ class EcontractApi {
}
}
}
// TODO END
if
(
!
param
.
bankno
)
{
return
this
.
returnjson
(
-
1
,
"请提供该用户银行卡号"
)
...
...
bpo-web/app/base/service/impl/esettleSve.js
View file @
c6372040
...
...
@@ -856,7 +856,7 @@ class EsettleService extends ServiceBase {
return
0
;
}
let
sql
=
"SELECT COUNT(1) AS num FROM tbl_busi WHERE id IN (:ids) AND age_flag = 1 "
;
let
list
=
await
this
.
settledb
.
query
(
sql
.
join
(
" "
)
,
{
replacements
:
{
ids
:
ids
}});
let
list
=
await
this
.
settledb
.
query
(
sql
,
{
replacements
:
{
ids
:
ids
}});
if
(
list
&&
list
.
length
>
0
)
{
list
=
list
[
0
,
0
]
||
[];
if
(
!
list
||
list
.
length
==
0
)
{
...
...
bpo-web/app/base/service/impl/etemplatebusiSve.js
View file @
c6372040
...
...
@@ -6,8 +6,8 @@ class EtemplatebusiService extends ServiceBase {
}
async
getlist
(
id
)
{
var
sql
=
"SELECT * FROM c_etemplate_busi WHERE template_id =
"
+
id
;
var
page
=
await
this
.
customQuery
(
sql
);
var
sql
=
"SELECT * FROM c_etemplate_busi WHERE template_id =
:template_id"
;
var
page
=
await
this
.
customQuery
(
sql
,{
template_id
:
id
}
);
return
page
;
}
async
busiIdsByTemplateId
(
template_id
)
{
...
...
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