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
cbeb7d2c
Commit
cbeb7d2c
authored
Nov 06, 2019
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
5ef5c246
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
WareHouseServices.cs
Bailun.DC.Services/WareHouseServices.cs
+2
-2
WarehouseController.cs
...n.DC.Web/Areas/Reports/Controllers/WarehouseController.cs
+3
-0
No files found.
Bailun.DC.Services/WareHouseServices.cs
View file @
cbeb7d2c
...
...
@@ -1060,7 +1060,7 @@ namespace Bailun.DC.Services
where t1.isfinish=0 and warehouse_code>0 and t1.day>='
{
start
.
ToString
(
"yyyy-MM-dd"
)}
' and t1.day<'
{
end
.
AddDays
(
1
).
ToString
()}
'
"
;
sql
+=
" group by t1.warehouse_
cod
e"
;
sql
+=
" group by t1.warehouse_
nam
e"
;
using
(
var
cn
=
new
MySqlConnection
(
Common
.
GlobalConfig
.
ConnectionString
))
{
if
(
cn
.
State
==
System
.
Data
.
ConnectionState
.
Closed
)
...
...
@@ -1068,7 +1068,7 @@ namespace Bailun.DC.Services
cn
.
Open
();
}
var
obj
=
cn
.
Query
<
dc_daily_purchase_sales
>(
sql
,
sqlparam
,
null
,
true
,
2
*
60
).
As
List
();
var
obj
=
cn
.
Query
<
dc_daily_purchase_sales
>(
sql
,
sqlparam
,
null
,
true
,
2
*
60
).
To
List
();
return
obj
;
}
}
...
...
Bailun.DC.Web/Areas/Reports/Controllers/WarehouseController.cs
View file @
cbeb7d2c
...
...
@@ -754,6 +754,9 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
#
region
采购和发货情况
Add
by
Allan
at
20191104
Console
.
WriteLine
(
objSemiCategory
.
Count
);
var
listSubCount1
=
new
List
<
Tuple
<
string
,
decimal
,
decimal
,
decimal
,
decimal
,
decimal
,
decimal
>>();
var
listSubCount2
=
new
List
<
Tuple
<
string
,
decimal
,
decimal
,
decimal
,
decimal
,
decimal
,
decimal
>>();
var
semi_E_Oil
=
objSemiCategory
.
Where
(
a
=>
a
.
category_simple_name
==
"精油灌装车间"
||
a
.
category_simple_name
==
"精油灌装车间"
).
ToList
();
//精油原料
...
...
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