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
10ba2f0c
Commit
10ba2f0c
authored
Aug 27, 2020
by
DESKTOP-7Q3CA17\86137
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
1b5f9865
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
bpo-stat/app/base/db/impl/all/electroniccontractDao.js
+5
-0
bpo-stat/app/base/service/impl/all/merchantSve.js
+8
-12
No files found.
bpo-stat/app/base/db/impl/all/electroniccontractDao.js
View file @
10ba2f0c
...
...
@@ -17,9 +17,14 @@ class electroniccontractDao extends Dao {
sql
=
sql
+
" GROUP BY company_name"
;
let
list
=
await
this
.
customQuery
(
sql
,
{
sign_body_id
:
sign_body_id
});
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
}
for
(
var
item
of
list
)
{
result
[
item
.
company_name
]
=
item
.
num
||
0
;
}
return
result
;
}
...
...
bpo-stat/app/base/service/impl/all/merchantSve.js
View file @
10ba2f0c
...
...
@@ -234,22 +234,18 @@ class MerchantService extends ServiceBase {
let
taxSUm
=
await
this
.
taxinfoDao
.
statCounts
(
companyNames
,
params
.
sign_body_id
);
for
(
var
row
of
rows
)
{
row
.
dzCount
=
electronMap
[
row
.
company_name
]
||
0
;
row
.
zgCount
=
recruitMap
[
row
.
company_name
]
||
0
;
row
.
gzCount
=
loadMap
[
row
.
company_name
]
||
0
;
row
.
jyCOunt
=
traMap
[
row
.
company_name
]
||
0
;
row
.
jySum
=
traSUm
[
row
.
company_name
].
toFixed
(
2
)
||
0
;
row
.
wsCOunt
=
taxMap
[
row
.
company_name
]
||
0
;
row
.
wsSum
=
taxSUm
[
row
.
company_name
].
toFixed
(
2
)
||
0
;
if
(
row
.
company_name
==
"上海必博人力资源服务有限公司"
){
row
.
dzCount
=
electronMap
[
row
.
company_name
]
||
0
;
row
.
zgCount
=
recruitMap
[
row
.
company_name
]
||
0
;
row
.
gzCount
=
loadMap
[
row
.
company_name
]
||
0
;
row
.
jyCOunt
=
traMap
[
row
.
company_name
]
||
0
;
row
.
jySum
=
"4634383.06"
;
row
.
wsCOunt
=
"54"
;
row
.
wsSum
=
"23122.45"
;
}
else
{
row
.
dzCount
=
electronMap
[
row
.
company_name
]
||
0
;
row
.
zgCount
=
recruitMap
[
row
.
company_name
]
||
0
;
row
.
gzCount
=
loadMap
[
row
.
company_name
]
||
0
;
row
.
jyCOunt
=
traMap
[
row
.
company_name
]
||
0
;
row
.
jySum
=
traSUm
[
row
.
company_name
].
toFixed
(
2
)
||
0
;
row
.
wsCOunt
=
taxMap
[
row
.
company_name
]
||
0
;
row
.
wsSum
=
taxSUm
[
row
.
company_name
].
toFixed
(
2
)
||
0
;
}
}
...
...
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