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
db109566
Commit
db109566
authored
Jul 03, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
ce725373
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
esign-sve-order/app/base/db/impl/eorder/eorderauthlogDao.js
+3
-0
esign-sve-order/app/base/db/impl/eorder/eordersignlogDao.js
+6
-0
No files found.
esign-sve-order/app/base/db/impl/eorder/eorderauthlogDao.js
View file @
db109566
...
@@ -31,6 +31,9 @@ class EorderauthlogDao extends Dao{
...
@@ -31,6 +31,9 @@ class EorderauthlogDao extends Dao{
if
(
params
.
order_id
){
if
(
params
.
order_id
){
sql
.
push
(
'and order_id=:order_id'
);
sql
.
push
(
'and order_id=:order_id'
);
}
}
if
(
params
.
product_id
){
sql
.
push
(
'and product_id=:product_id'
);
}
if
(
params
.
spendedBegin
)
{
if
(
params
.
spendedBegin
)
{
sql
.
push
(
"AND spended_at >= :spendedBegin"
);
sql
.
push
(
"AND spended_at >= :spendedBegin"
);
}
}
...
...
esign-sve-order/app/base/db/impl/eorder/eordersignlogDao.js
View file @
db109566
...
@@ -35,6 +35,9 @@ class EordersignlogDao extends Dao{
...
@@ -35,6 +35,9 @@ class EordersignlogDao extends Dao{
if
(
params
.
spendedEnd
)
{
if
(
params
.
spendedEnd
)
{
sql
.
push
(
"AND spended_at <= :spendedEnd"
);
sql
.
push
(
"AND spended_at <= :spendedEnd"
);
}
}
if
(
params
.
product_id
)
{
sql
.
push
(
"AND product_id = :product_id"
);
}
}
}
/**
/**
...
@@ -106,6 +109,9 @@ class EordersignlogDao extends Dao{
...
@@ -106,6 +109,9 @@ class EordersignlogDao extends Dao{
if
(
params
.
order_id
){
if
(
params
.
order_id
){
sql
.
push
(
'and t1.order_id=:order_id'
);
sql
.
push
(
'and t1.order_id=:order_id'
);
}
}
if
(
params
.
product_id
){
sql
.
push
(
'and t1.product_id=:product_id'
);
}
}
}
async
PageeordersignlogContract
(
params
){
async
PageeordersignlogContract
(
params
){
...
...
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