Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
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
data-center-auto
Commits
6e00d159
Commit
6e00d159
authored
Aug 01, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
利润 释放头程费用 释放销售成本 的现金流支付周期,自动去销售金额的
parent
f862e078
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
0 deletions
+43
-0
report_cash_flow_dao.cs
AutoTurnOver.DB/report_cash_flow_dao.cs
+9
-0
dc_report_cash_flow_log.cs
AutoTurnOver.Models/dc_report_cash_flow_log.cs
+34
-0
No files found.
AutoTurnOver.DB/report_cash_flow_dao.cs
View file @
6e00d159
...
...
@@ -980,6 +980,15 @@ where t1.create_time>=@btime and t1.create_time<=@etime ";
/// </summary>
public
static
DateTime
CalculationPayTime
(
List
<
dc_report_cash_flow_config
>
configs
,
DateTime
occur_time
,
int
data_type
,
string
platform_type
,
string
web_stite
)
{
if
(
data_type
==
(
int
)
dc_report_cash_flow_log_data_type_enum
.
利润
||
data_type
==
(
int
)
dc_report_cash_flow_log_data_type_enum
.
释放头程费用
||
data_type
==
(
int
)
dc_report_cash_flow_log_data_type_enum
.
释放销售成本
)
{
data_type
=
(
int
)
dc_report_cash_flow_log_data_type_enum
.
销售金额
;
}
var
item_configs
=
configs
.
Where
(
s
=>
s
.
data_type
==
data_type
&&
(
s
.
platform_type
==
""
||
s
.
platform_type
.
Equals
(
platform_type
))
&&
(
s
.
web_stite
==
""
||
s
.
web_stite
.
Equals
(
web_stite
))
...
...
AutoTurnOver.Models/dc_report_cash_flow_log.cs
View file @
6e00d159
...
...
@@ -71,6 +71,40 @@ namespace AutoTurnOver.Models
public
class
dc_report_cash_flow_log_dto
:
dc_report_cash_flow_log
{
public
string
sys_url
{
get
{
if
(
(
int
)
dc_report_cash_flow_log_data_type_enum
.
FBA
费
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
PayPal
费
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
利润
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
尾程费用
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
平台费用
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
释放头程费用
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
释放销售成本
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
销售数量
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
销售金额
==
data_type
)
{
return
"http://oms.bailuntec.com/#/bailun-order/all-orders?baseQueryKey=BailunOrderNo&baseQueryValue="
+
no
;
}
else
if
((
int
)
dc_report_cash_flow_log_data_type_enum
.
新增头程费用
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
新增头程费用
_
首单
==
data_type
)
{
return
"http://trans.bailuntec.com/#/allot-manage/ordinaryAllotOrderList?ordercode="
+
no
;
}
else
if
((
int
)
dc_report_cash_flow_log_data_type_enum
.
新增采购费用
==
data_type
||
(
int
)
dc_report_cash_flow_log_data_type_enum
.
新增采购费用
_
首单
==
data_type
)
{
return
"http://api.purchase.bailuntec.com/Purchase/Home/ApiDetail2?buyno="
+
no
;
}
else
if
((
int
)
dc_report_cash_flow_log_data_type_enum
.
退款
==
data_type
)
{
return
"http://crm.bailuntec.com/CustomerService/Detail?id="
+
item_no
;
}
else
{
return
null
;
}
}
}
public
string
data_type_str
{
get
...
...
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