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
f4d34d48
Commit
f4d34d48
authored
Dec 31, 2019
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
f6e0ba54
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
bpo-stat/app/base/service/impl/all/invoiceSve.js
+3
-3
bpo-stat/app/base/service/impl/all/transactioninSve.js
+1
-1
bpo-stat/app/config/localsettings.js
+10
-10
No files found.
bpo-stat/app/base/service/impl/all/invoiceSve.js
View file @
f4d34d48
...
@@ -21,9 +21,9 @@ class InvoiceService extends ServiceBase {
...
@@ -21,9 +21,9 @@ class InvoiceService extends ServiceBase {
};
};
}
}
if
(
params
.
id_no
){
//
if(params.id_no){
where
.
id_no
=
this
.
trim
(
params
.
id_no
);
//
where.id_no = this.trim(params.id_no);
}
//
}
if
(
params
.
invoiceType
)
{
if
(
params
.
invoiceType
)
{
where
.
invoiceType
=
Number
(
params
.
invoiceType
);
where
.
invoiceType
=
Number
(
params
.
invoiceType
);
...
...
bpo-stat/app/base/service/impl/all/transactioninSve.js
View file @
f4d34d48
...
@@ -38,7 +38,7 @@ class TransactioninService extends ServiceBase {
...
@@ -38,7 +38,7 @@ class TransactioninService extends ServiceBase {
[
"id"
,
'desc'
]
[
"id"
,
'desc'
]
];
];
var
attributes
=
[
`id`
,
`company_name`
,
`id_name`
,
`id_no`
,
`bank_no`
,
`actual_amoun
t`
,
`transaction_time`
,
`sign_body`
,
`order_item_id`
,
`channel_rsp_no`
];
var
attributes
=
[
`id`
,
`company_name`
,
`id_name`
,
`id_no`
,
`bank_no`
,
`invoiceId`
,
`actual_amount`
,
`deduct_am
t`
,
`transaction_time`
,
`sign_body`
,
`order_item_id`
,
`channel_rsp_no`
];
var
page
=
await
this
.
getPageList
(
currentPage
,
pageSize
,
where
,
orderby
,
attributes
);
var
page
=
await
this
.
getPageList
(
currentPage
,
pageSize
,
where
,
orderby
,
attributes
);
if
(
page
&&
page
.
rows
)
{
if
(
page
&&
page
.
rows
)
{
for
(
var
row
of
page
.
rows
)
{
for
(
var
row
of
page
.
rows
)
{
...
...
bpo-stat/app/config/localsettings.js
View file @
f4d34d48
...
@@ -6,19 +6,19 @@ var settings={
...
@@ -6,19 +6,19 @@ var settings={
db
:
10
,
db
:
10
,
},
},
database
:{
database
:{
dbname
:
"stat"
,
// dbname : "stat",
user
:
"root"
,
// user: "root",
password
:
"!@#Qaz741"
,
// password: "!@#Qaz741",
config
:
{
host
:
'rm-2ze5muw8tb37i3ig4lo.mysql.rds.aliyuncs.com'
,
// dbname : "bpo_stat",
// user: "write",
// password: "write",
// config: {
// config: {
// host: '192.168.18.237',
// host: 'rm-2ze5muw8tb37i3ig4lo.mysql.rds.aliyuncs.com',
dbname
:
"bpo_stat"
,
user
:
"write"
,
password
:
"write"
,
config
:
{
host
:
'192.168.18.237'
,
port
:
3306
,
port
:
3306
,
// host: '43.247.184.35',
// host: '43.247.184.35',
// port: 8899,
s
// port: 8899,
dialect
:
'mysql'
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
operatorsAliases
:
false
,
pool
:
{
pool
:
{
...
...
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