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
61c6d44c
Commit
61c6d44c
authored
Dec 03, 2021
by
jianshuqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改功能:切换API: api.dcjava.bailuntec.com改为finance-balance-sheet.data-center-job:8080
parent
3402380f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
FinanceReportServices.cs
Bailun.DC.Services/FinanceReportServices.cs
+3
-2
FinanceController.cs
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
+0
-1
No files found.
Bailun.DC.Services/FinanceReportServices.cs
View file @
61c6d44c
...
@@ -6,6 +6,7 @@ using System.Data;
...
@@ -6,6 +6,7 @@ using System.Data;
using
System.Text
;
using
System.Text
;
using
Dapper
;
using
Dapper
;
using
System.Linq
;
using
System.Linq
;
using
Bailun.DC.Common
;
namespace
Bailun.DC.Services
namespace
Bailun.DC.Services
{
{
...
@@ -456,7 +457,7 @@ namespace Bailun.DC.Services
...
@@ -456,7 +457,7 @@ namespace Bailun.DC.Services
/// <returns></returns>
/// <returns></returns>
public
string
UpdateLogisticsEndAmount
(
DateTime
day
,
decimal
amount
)
public
string
UpdateLogisticsEndAmount
(
DateTime
day
,
decimal
amount
)
{
{
var
url
=
"http://api.dcjava.bailuntec.com
/updateSheetLogisticsSupplier?date="
+
day
.
ToString
(
"yyyy-MM-dd"
)+
"&logisticsPayableSum="
+
amount
;
var
url
=
$"
{
GlobalConfig
.
DcJavaUrl
}
/updateSheetLogisticsSupplier?date="
+
day
.
ToString
(
"yyyy-MM-dd"
)+
"&logisticsPayableSum="
+
amount
;
var
result
=
Common
.
HttpHelper
.
NetHelper
.
Request
(
url
);
var
result
=
Common
.
HttpHelper
.
NetHelper
.
Request
(
url
);
...
@@ -480,7 +481,7 @@ namespace Bailun.DC.Services
...
@@ -480,7 +481,7 @@ namespace Bailun.DC.Services
/// <returns></returns>
/// <returns></returns>
public
string
UpdateLogisticsEndAmount
(
DateTime
day
,
decimal
amount
,
string
paramname
)
public
string
UpdateLogisticsEndAmount
(
DateTime
day
,
decimal
amount
,
string
paramname
)
{
{
var
url
=
"http://api.dcjava.bailuntec.com
/updateSheetLogisticsSupplier?date="
+
day
.
ToString
(
"yyyy-MM-dd"
)
+
"&"
+
paramname
+
"="
+
amount
;
var
url
=
$"
{
GlobalConfig
.
DcJavaUrl
}
/updateSheetLogisticsSupplier?date="
+
day
.
ToString
(
"yyyy-MM-dd"
)
+
"&"
+
paramname
+
"="
+
amount
;
var
result
=
Common
.
HttpHelper
.
NetHelper
.
Request
(
url
);
var
result
=
Common
.
HttpHelper
.
NetHelper
.
Request
(
url
);
...
...
Bailun.DC.Web/Areas/Reports/Controllers/FinanceController.cs
View file @
61c6d44c
...
@@ -527,7 +527,6 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
...
@@ -527,7 +527,6 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
var
url
=
$"
{
GlobalConfig
.
DcJavaUrl
}
/reload?localDate=
{
day
.
ToString
(
"yyyy-MM-dd"
)}
"
;
var
url
=
$"
{
GlobalConfig
.
DcJavaUrl
}
/reload?localDate=
{
day
.
ToString
(
"yyyy-MM-dd"
)}
"
;
try
try
{
{
Console
.
WriteLine
(
url
);
return
Json
(
new
return
Json
(
new
{
{
success
=
true
,
success
=
true
,
...
...
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