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
e1a7d1d0
Commit
e1a7d1d0
authored
Aug 21, 2021
by
zhouminghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7d48dd07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
FinanceController.cs
Bailun.DC.WebApi/Controllers/FinanceController.cs
+13
-4
No files found.
Bailun.DC.WebApi/Controllers/FinanceController.cs
View file @
e1a7d1d0
...
...
@@ -541,17 +541,26 @@ namespace Bailun.DC.WebApi.Controllers
ms
.
Position
=
0
;
return
File
(
ms
,
"text/csv"
,
$"
{
input
.
Month
}
_月销售费用合计》费用利润表明细.csv"
);
}
/// <summary>
/// 同步月利润销售报告
/// </summary>
/// <param name="time"></param>
/// <returns></returns>
[
HttpGet
(
"syncMonthSalesProfit"
)]
public
object
GetReFundTes
t
(
DateTime
?
time
)
public
bool
SyncMonthSalesProfi
t
(
DateTime
?
time
)
{
return
new
FinanceService
().
SyncMonthSalesProfit
(
time
);
//var sql = "select * from dc_month_sales_profit_orderdetail limit 1";
//var data = Dapper.SimpleCRUD.Query<dc_month_sales_profit_orderdetail>(sql, null, Common.GlobalConfig.ConnectionString).FirstOrDefault();
//return data;
}
/// <summary>
/// 同步月销售利润报告销售额明细汇总
/// </summary>
/// <param name="date"></param>
/// <returns></returns>
[
HttpGet
(
"syncMonthSalesProfiOrderDetail"
)]
public
object
SyncMonthSalesProfiOrderDetail
(
DateTime
?
date
)
public
bool
SyncMonthSalesProfiOrderDetail
(
DateTime
?
date
)
=>
new
FinanceService
().
SyncMonthSalesProfiOrderDetail
(
date
);
[
HttpGet
(
"testRedis"
)]
public
object
TestRedis
()
...
...
@@ -563,7 +572,7 @@ namespace Bailun.DC.WebApi.Controllers
}
catch
(
Exception
e
)
{
return
e
.
Message
;
return
e
;
}
}
#
endregion
...
...
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