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
2729e82f
Commit
2729e82f
authored
Jul 31, 2020
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
5cf8c725
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
bpo-web/app/base/api/impl/dkcontractApi.js
+1
-1
bpo-web/app/base/service/impl/etemplatebusiSve.js
+5
-0
No files found.
bpo-web/app/base/api/impl/dkcontractApi.js
View file @
2729e82f
...
@@ -52,7 +52,7 @@ class DKcontractApi {
...
@@ -52,7 +52,7 @@ class DKcontractApi {
if
(
!
await
this
.
idcardClient
.
checkIDCard
(
param
.
idNo
))
{
if
(
!
await
this
.
idcardClient
.
checkIDCard
(
param
.
idNo
))
{
return
this
.
returnjson
(
-
1
,
"身份证格式不正确"
);
return
this
.
returnjson
(
-
1
,
"身份证格式不正确"
);
}
}
let
busi
=
await
this
.
etemplatebusiSve
.
busiByTemplate
(
param
.
ecid
);
let
busi
=
await
this
.
etemplatebusiSve
.
busiByTemplate
2
(
pobj
.
appId
,
param
.
ecid
,
2
);
let
num
=
await
this
.
esettleSve
.
isValidAge
(
busi
[
0
].
busi_id
);
let
num
=
await
this
.
esettleSve
.
isValidAge
(
busi
[
0
].
busi_id
);
if
(
num
)
{
if
(
num
)
{
...
...
bpo-web/app/base/service/impl/etemplatebusiSve.js
View file @
2729e82f
...
@@ -42,6 +42,11 @@ class EtemplatebusiService extends ServiceBase {
...
@@ -42,6 +42,11 @@ class EtemplatebusiService extends ServiceBase {
return
await
this
.
customQuery
(
sql
,
{
template_id
:
template_id
});
return
await
this
.
customQuery
(
sql
,
{
template_id
:
template_id
});
}
}
async
busiByTemplate2
(
app_id
,
template_id
,
template_type
)
{
var
sql
=
"SELECT * FROM c_etemplate_busi WHERE template_type = :template_type AND template_id = :template_id AND app_id = :app_id"
;
return
await
this
.
customQuery
(
sql
,
{
template_id
:
template_id
,
app_id
:
app_id
,
template_type
:
template_type
});
}
async
getinfo
(
qobj
)
{
async
getinfo
(
qobj
)
{
var
sql
=
"SELECT * FROM c_etemplate_busi WHERE template_id = "
+
qobj
.
template_id
+
" AND busi_id = "
+
qobj
.
company_id
;
var
sql
=
"SELECT * FROM c_etemplate_busi WHERE template_id = "
+
qobj
.
template_id
+
" AND busi_id = "
+
qobj
.
company_id
;
var
page
=
await
this
.
customQuery
(
sql
);
var
page
=
await
this
.
customQuery
(
sql
);
...
...
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