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
646abf40
Commit
646abf40
authored
Dec 30, 2019
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
2477cef2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
7 deletions
+12
-7
bpo-stat/app/base/controller/impl/all/invoiceCtl.js
+1
-0
bpo-stat/app/base/service/impl/all/electroniccontractSve.js
+5
-0
bpo-stat/app/base/service/impl/all/invoiceSve.js
+2
-0
bpo-stat/app/base/service/impl/all/taxinfoSve.js
+4
-7
No files found.
bpo-stat/app/base/controller/impl/all/invoiceCtl.js
View file @
646abf40
...
@@ -10,6 +10,7 @@ class InvoiceCtl extends CtlBase {
...
@@ -10,6 +10,7 @@ class InvoiceCtl extends CtlBase {
var
params
=
qobj
||
{};
var
params
=
qobj
||
{};
params
.
invoiceType
=
1
;
params
.
invoiceType
=
1
;
try
{
try
{
this
.
doTimeCondition
(
params
,
[
'signBegin'
,
'signEnd'
]);
var
page
=
await
this
.
service
.
pageByCondition
(
params
);
var
page
=
await
this
.
service
.
pageByCondition
(
params
);
return
system
.
getResult2
(
page
);
return
system
.
getResult2
(
page
);
}
catch
(
e
)
{
}
catch
(
e
)
{
...
...
bpo-stat/app/base/service/impl/all/electroniccontractSve.js
View file @
646abf40
...
@@ -50,6 +50,11 @@ class ElectronicContractService extends ServiceBase {
...
@@ -50,6 +50,11 @@ class ElectronicContractService extends ServiceBase {
if
(
params
.
sign_body
){
if
(
params
.
sign_body
){
where
.
sign_body
=
params
.
sign_body
;
where
.
sign_body
=
params
.
sign_body
;
}
}
var
id_no
=
this
.
trim
(
params
.
id_no
);
if
(
id_no
)
{
where
.
id_no
=
id_no
;
}
this
.
addWhereTime
(
where
,
'completed_date'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
this
.
addWhereTime
(
where
,
'completed_date'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
var
orderby
=
[
var
orderby
=
[
[
"id"
,
'desc'
]
[
"id"
,
'desc'
]
...
...
bpo-stat/app/base/service/impl/all/invoiceSve.js
View file @
646abf40
...
@@ -22,6 +22,8 @@ class InvoiceService extends ServiceBase {
...
@@ -22,6 +22,8 @@ class InvoiceService extends ServiceBase {
where
.
invoiceType
=
Number
(
params
.
invoiceType
);
where
.
invoiceType
=
Number
(
params
.
invoiceType
);
}
}
this
.
addWhereTime
(
where
,
'invoice_time'
,
params
.
signBegin
,
params
.
signEnd
);
var
orderby
=
[
var
orderby
=
[
[
"id"
,
'desc'
]
[
"id"
,
'desc'
]
];
];
...
...
bpo-stat/app/base/service/impl/all/taxinfoSve.js
View file @
646abf40
...
@@ -12,16 +12,13 @@ class TaxinfoService extends ServiceBase {
...
@@ -12,16 +12,13 @@ class TaxinfoService extends ServiceBase {
var
pageSize
=
Number
(
params
.
pageSize
||
10
);
var
pageSize
=
Number
(
params
.
pageSize
||
10
);
var
where
=
{};
var
where
=
{};
if
(
params
.
id_no
)
{
where
.
id_no
=
{
[
this
.
db
.
Op
.
like
]:
"%"
+
params
.
id_no
+
"%"
};
}
if
(
params
.
sign_body
){
if
(
params
.
sign_body
){
where
.
sign_body
=
params
.
sign_body
;
where
.
sign_body
=
params
.
sign_body
;
}
}
if
(
params
.
id_no
){
where
.
id_no
=
params
.
id_no
let
id_no
=
this
.
trim
(
params
.
id_no
);
if
(
id_no
){
where
.
id_no
=
id_no
;
}
}
this
.
addWhereTime
(
where
,
'tax_time'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
this
.
addWhereTime
(
where
,
'tax_time'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
var
orderby
=
[
var
orderby
=
[
...
...
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