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
390488a0
Commit
390488a0
authored
Dec 16, 2019
by
赵庆
Browse files
Options
Browse Files
Download
Plain Diff
gsb
parents
3b747df3
9f353155
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
bpo-stat/app/base/db/impl/all/electroniccontractDao.js
+1
-1
bpo-stat/app/base/db/impl/all/loadDao.js
+1
-1
bpo-stat/app/base/db/impl/all/taxinfoDao.js
+3
-3
bpo-stat/app/base/db/impl/all/transactioninDao.js
+4
-4
bpo-stat/app/base/service/impl/all/merchantSve.js
+6
-6
No files found.
bpo-stat/app/base/db/impl/all/electroniccontractDao.js
View file @
390488a0
...
@@ -34,7 +34,7 @@ class electroniccontractDao extends Dao {
...
@@ -34,7 +34,7 @@ class electroniccontractDao extends Dao {
let
list
=
await
this
.
customQuery
(
sql
,
{
inno
:
inno
});
let
list
=
await
this
.
customQuery
(
sql
,
{
inno
:
inno
});
if
(
list
||
list
.
length
==
0
)
{
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
return
result
;
}
}
...
...
bpo-stat/app/base/db/impl/all/loadDao.js
View file @
390488a0
...
@@ -34,7 +34,7 @@ class LoadDao extends Dao {
...
@@ -34,7 +34,7 @@ class LoadDao extends Dao {
let
list
=
await
this
.
customQuery
(
sql
,
{
inno
:
inno
});
let
list
=
await
this
.
customQuery
(
sql
,
{
inno
:
inno
});
if
(
list
||
list
.
length
==
0
)
{
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
return
result
;
}
}
...
...
bpo-stat/app/base/db/impl/all/taxinfoDao.js
View file @
390488a0
...
@@ -51,7 +51,7 @@ class TaxinfoDao extends Dao {
...
@@ -51,7 +51,7 @@ class TaxinfoDao extends Dao {
let
list
=
await
this
.
customQuery
(
sql
,
{
idno
:
idno
});
let
list
=
await
this
.
customQuery
(
sql
,
{
idno
:
idno
});
if
(
list
||
list
.
length
==
0
)
{
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
return
result
;
}
}
...
@@ -70,12 +70,12 @@ class TaxinfoDao extends Dao {
...
@@ -70,12 +70,12 @@ class TaxinfoDao extends Dao {
let
list
=
await
this
.
customQuery
(
sql
,
{
inno
:
inno
});
let
list
=
await
this
.
customQuery
(
sql
,
{
inno
:
inno
});
if
(
list
||
list
.
length
==
0
)
{
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
return
result
;
}
}
for
(
var
item
of
list
)
{
for
(
var
item
of
list
)
{
result
[
item
.
id_no
]
=
item
.
num
||
0
;
result
[
item
.
id_no
]
=
parseFloat
((
item
.
num
||
0
).
toFixed
(
2
))
;
}
}
return
result
;
return
result
;
}
}
...
...
bpo-stat/app/base/db/impl/all/transactioninDao.js
View file @
390488a0
...
@@ -53,11 +53,11 @@ class TransactioninDao extends Dao {
...
@@ -53,11 +53,11 @@ class TransactioninDao extends Dao {
let
list
=
await
this
.
customQuery
(
sql
,
{
idno
:
idno
});
let
list
=
await
this
.
customQuery
(
sql
,
{
idno
:
idno
});
if
(
list
||
list
.
length
==
0
)
{
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
return
result
;
}
}
for
(
var
item
of
list
)
{
for
(
var
item
of
list
)
{
result
[
item
.
num
]
=
item
.
amount
||
0
;
result
[
item
.
id_no
]
=
item
.
num
||
0
;
}
}
return
result
;
return
result
;
}
}
...
@@ -72,11 +72,11 @@ class TransactioninDao extends Dao {
...
@@ -72,11 +72,11 @@ class TransactioninDao extends Dao {
let
list
=
await
this
.
customQuery
(
sql
,
{
idno
:
idno
});
let
list
=
await
this
.
customQuery
(
sql
,
{
idno
:
idno
});
if
(
list
||
list
.
length
==
0
)
{
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
return
result
;
}
}
for
(
var
item
of
list
)
{
for
(
var
item
of
list
)
{
result
[
item
.
amount
]
=
item
.
amount
||
0
;
result
[
item
.
id_no
]
=
parseFloat
((
item
.
amount
||
0
).
toFixed
(
2
))
;
}
}
return
result
;
return
result
;
}
}
...
...
bpo-stat/app/base/service/impl/all/merchantSve.js
View file @
390488a0
...
@@ -304,12 +304,12 @@ class MerchantService extends ServiceBase {
...
@@ -304,12 +304,12 @@ class MerchantService extends ServiceBase {
let
taxSUm
=
await
this
.
taxinfoDao
.
statCounts
(
companyNames
);
let
taxSUm
=
await
this
.
taxinfoDao
.
statCounts
(
companyNames
);
for
(
var
row
of
rows
)
{
for
(
var
row
of
rows
)
{
row
.
dzCount
=
electronMap
[
row
.
company_name
]
||
0
;
row
.
dzCount
=
electronMap
[
row
.
id_no
]
||
0
;
row
.
gzCount
=
loadMap
[
row
.
company_name
]
||
0
;
row
.
gzCount
=
loadMap
[
row
.
id_no
]
||
0
;
row
.
jyCOunt
=
traMap
[
row
.
company_name
]
||
0
;
row
.
jyCOunt
=
traMap
[
row
.
id_no
]
||
0
;
row
.
jySum
=
traSUm
[
row
.
company_name
]
||
0
;
row
.
jySum
=
traSUm
[
row
.
id_no
]
||
0
;
row
.
wsCOunt
=
taxMap
[
row
.
company_name
]
||
0
;
row
.
wsCOunt
=
taxMap
[
row
.
id_no
]
||
0
;
row
.
wsSum
=
taxSUm
[
row
.
company_name
]
||
0
;
row
.
wsSum
=
taxSUm
[
row
.
id_no
]
||
0
;
}
}
page
.
rows
=
rows
;
page
.
rows
=
rows
;
return
page
;
return
page
;
...
...
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