Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DataCenter_Core2.1_20190520
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bltdc
DataCenter_Core2.1_20190520
Commits
72d052cf
Commit
72d052cf
authored
Jul 18, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同上
parent
b95ca4f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HomeController.cs
Bailun.DC.Web/Areas/Logistics/Controllers/HomeController.cs
+2
-2
No files found.
Bailun.DC.Web/Areas/Logistics/Controllers/HomeController.cs
View file @
72d052cf
...
...
@@ -166,7 +166,7 @@ namespace Bailun.DC.Web.Areas.Logistics.Controllers
m
.
lettercount
=
item
.
Where
(
a
=>
listconfig
.
Where
(
b
=>
b
.
type
==
6
).
Select
(
c
=>
c
.
config_value
).
Contains
(
a
.
logistics_order_id
)).
Count
();
//letter
m
.
percenl
=
m
.
lettercount
>
0
?
m
.
hpackagecount
/
m
.
lettercount
:
0
;
m
.
percenl
=
m
.
lettercount
>
0
?
decimal
.
Parse
(((
decimal
)
m
.
hpackagecount
/
(
decimal
)
m
.
lettercount
).
ToString
(
"#0.00"
)):
0
;
//需新增包裹数=1.2*信封transactionid数-包裹transactionid订单数
var
need
=
((
m
.
lettercount
*
1.2
-
m
.
hpackagecount
)
>
0
?
(
m
.
lettercount
*
1.2
-
m
.
hpackagecount
)
:
0
);
...
...
@@ -195,7 +195,7 @@ namespace Bailun.DC.Web.Areas.Logistics.Controllers
};
countM
.
percenl
=
countM
.
lettercount
>
0
?
countM
.
hpackagecount
/
countM
.
lettercount
:
0
;
countM
.
percenl
=
countM
.
lettercount
>
0
?
decimal
.
Parse
(((
decimal
)
countM
.
hpackagecount
/
(
decimal
)
countM
.
lettercount
).
ToString
(
"#0.00"
))
:
0
;
var
need1
=
((
countM
.
lettercount
*
1.2
-
countM
.
hpackagecount
)
>
0
?
(
countM
.
lettercount
*
1.2
-
countM
.
hpackagecount
)
:
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