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
e2bb6d31
Commit
e2bb6d31
authored
Dec 08, 2020
by
guanzhenshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dac0f4ab
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
GlobalConfig.cs
Bailun.DC.Common/GlobalConfig.cs
+1
-1
Services.cs
Bailun.DC.MonthSaleProfit/Services.cs
+1
-1
No files found.
Bailun.DC.Common/GlobalConfig.cs
View file @
e2bb6d31
...
@@ -11,7 +11,7 @@ namespace Bailun.DC.Common
...
@@ -11,7 +11,7 @@ namespace Bailun.DC.Common
#if DEBUG
#if DEBUG
public
static
string
ConnectionString
=
"server=gz-cdb-kp7s5i79.sql.tencentcdb.com;port=61691;database=bailun_datacenter;uid=root;password=#7kfnymAM$Y9-Ntf;"
;
public
static
string
ConnectionString
=
"server=gz-cdb-kp7s5i79.sql.tencentcdb.com;port=61691;database=bailun_datacenter;uid=root;password=#7kfnymAM$Y9-Ntf;"
;
//public static string ConnectionString_read = "server=gz-cdbrg-qdyec2j3.sql.tencentcdb.com;port=59667;database=bailun_datacenter;uid=root;password=#7kfnymAM$Y9-Ntf;";
//public static string ConnectionString_read = "server=gz-cdbrg-qdyec2j3.sql.tencentcdb.com;port=59667;database=bailun_datacenter;uid=root;password=#7kfnymAM$Y9-Ntf;";
public
static
string
ConnectionString_read
=
"server=gz-cdb
-kp7s5i79.sql.tencentcdb.com;port=61691
;database=bailun_datacenter;uid=root;password=#7kfnymAM$Y9-Ntf;"
;
public
static
string
ConnectionString_read
=
"server=gz-cdb
rg-qdyec2j3.sql.tencentcdb.com;port=59667
;database=bailun_datacenter;uid=root;password=#7kfnymAM$Y9-Ntf;"
;
/// <summary>
/// <summary>
/// sku分类url
/// sku分类url
/// </summary>
/// </summary>
...
...
Bailun.DC.MonthSaleProfit/Services.cs
View file @
e2bb6d31
...
@@ -677,7 +677,7 @@ join dc_base_warehouse t3 on t1.warehouse_code=t3.warehouse_code
...
@@ -677,7 +677,7 @@ join dc_base_warehouse t3 on t1.warehouse_code=t3.warehouse_code
cn
.
Open
();
cn
.
Open
();
}
}
cn
.
Execute
(
"delete from dc_month_sales_profit where month='"
+
m
.
month
+
"'"
);
cn
.
Execute
(
"delete from dc_month_sales_profit where
isedit=0 and
month='"
+
m
.
month
+
"'"
);
sql
=
$@"insert dc_month_sales_profit (month,amount_sales,amount_sales_jingyou,amount_sales_dianzi,amount_sales_jiaju,amount_sales_meirongmj,amount_sales_fuzhuang,amount_sales_other,cost,cost_jingyou,cost_dianzi,cost_jiaju,cost_meirongmj,cost_fuzhuang,cost_other,fee_platform_and_refund,fee_platform,fee_fba,fee_refund,amount_withdraw,fee_logistics_storage,fee_logistics_first,fee_logistics_direct,fee_logistics_tail,fee_storage,fee_paycash_sales,fee_sales_count,profit_sales,rate_profit_sales,managecost_bl_xg,managecost_bl_gz,managecost_meijia,managercost_yangshan,managercost_chengpincang,managercost_xinhuilan,managercost_count,fee_finance,profit,rate_profit,incoming_other,incoming_non_operating,pay_non_operating,actual_profit,dividend,profit_balance,rate_profit_actual,createtime,lastupdateuserid,lastupdateusername,lastupdatetime,isedit,managercost_dizhi,managercost_meijiashengchan) values
sql
=
$@"insert dc_month_sales_profit (month,amount_sales,amount_sales_jingyou,amount_sales_dianzi,amount_sales_jiaju,amount_sales_meirongmj,amount_sales_fuzhuang,amount_sales_other,cost,cost_jingyou,cost_dianzi,cost_jiaju,cost_meirongmj,cost_fuzhuang,cost_other,fee_platform_and_refund,fee_platform,fee_fba,fee_refund,amount_withdraw,fee_logistics_storage,fee_logistics_first,fee_logistics_direct,fee_logistics_tail,fee_storage,fee_paycash_sales,fee_sales_count,profit_sales,rate_profit_sales,managecost_bl_xg,managecost_bl_gz,managecost_meijia,managercost_yangshan,managercost_chengpincang,managercost_xinhuilan,managercost_count,fee_finance,profit,rate_profit,incoming_other,incoming_non_operating,pay_non_operating,actual_profit,dividend,profit_balance,rate_profit_actual,createtime,lastupdateuserid,lastupdateusername,lastupdatetime,isedit,managercost_dizhi,managercost_meijiashengchan) values
('
{
m
.
month
}
',
{
m
.
amount_sales
}
,
{
m
.
amount_sales_jingyou
}
,
{
m
.
amount_sales_dianzi
}
,
{
m
.
amount_sales_jiaju
}
,
{
m
.
amount_sales_meirongmj
}
,
{
m
.
amount_sales_fuzhuang
}
,
{
m
.
amount_sales_other
}
,
{
m
.
cost
}
,
{
m
.
cost_jingyou
}
,
{
m
.
cost_dianzi
}
,
{
m
.
cost_jiaju
}
,
{
m
.
cost_meirongmj
}
,
{
m
.
cost_fuzhuang
}
,
{
m
.
cost_other
}
,
{
m
.
fee_platform_and_refund
}
,
{
m
.
fee_platform
}
,
{
m
.
fee_fba
}
,
{
m
.
fee_refund
}
,
{
m
.
amount_withdraw
}
,
{
m
.
fee_logistics_storage
}
,
{
m
.
fee_logistics_first
}
,
{
m
.
fee_logistics_direct
}
,
{
m
.
fee_logistics_tail
}
,
{
m
.
fee_storage
}
,
{
m
.
fee_paycash_sales
}
,
{
m
.
fee_sales_count
}
,
{
m
.
profit_sales
}
,
{
m
.
rate_profit_sales
}
,
{
m
.
managecost_bl_xg
}
,
{
m
.
managecost_bl_gz
}
,
{
m
.
managecost_meijia
}
,
{
m
.
managercost_yangshan
}
,
{
m
.
managercost_chengpincang
}
,
{
m
.
managercost_xinhuilan
}
,
{
m
.
managercost_count
}
,
{
m
.
fee_finance
}
,
{
m
.
profit
}
,
{
m
.
rate_profit
}
,
{
m
.
incoming_other
}
,
{
m
.
incoming_non_operating
}
,
{
m
.
pay_non_operating
}
,
{
m
.
actual_profit
}
,
{
m
.
dividend
}
,
{
m
.
profit_balance
}
,
{
m
.
rate_profit_actual
}
,'
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
',
{
m
.
lastupdateuserid
}
,'
{
m
.
lastupdateusername
}
','
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
',0,
{
m
.
managercost_dizhi
}
,
{
m
.
managercost_meijiashengchan
}
)"
;
('
{
m
.
month
}
',
{
m
.
amount_sales
}
,
{
m
.
amount_sales_jingyou
}
,
{
m
.
amount_sales_dianzi
}
,
{
m
.
amount_sales_jiaju
}
,
{
m
.
amount_sales_meirongmj
}
,
{
m
.
amount_sales_fuzhuang
}
,
{
m
.
amount_sales_other
}
,
{
m
.
cost
}
,
{
m
.
cost_jingyou
}
,
{
m
.
cost_dianzi
}
,
{
m
.
cost_jiaju
}
,
{
m
.
cost_meirongmj
}
,
{
m
.
cost_fuzhuang
}
,
{
m
.
cost_other
}
,
{
m
.
fee_platform_and_refund
}
,
{
m
.
fee_platform
}
,
{
m
.
fee_fba
}
,
{
m
.
fee_refund
}
,
{
m
.
amount_withdraw
}
,
{
m
.
fee_logistics_storage
}
,
{
m
.
fee_logistics_first
}
,
{
m
.
fee_logistics_direct
}
,
{
m
.
fee_logistics_tail
}
,
{
m
.
fee_storage
}
,
{
m
.
fee_paycash_sales
}
,
{
m
.
fee_sales_count
}
,
{
m
.
profit_sales
}
,
{
m
.
rate_profit_sales
}
,
{
m
.
managecost_bl_xg
}
,
{
m
.
managecost_bl_gz
}
,
{
m
.
managecost_meijia
}
,
{
m
.
managercost_yangshan
}
,
{
m
.
managercost_chengpincang
}
,
{
m
.
managercost_xinhuilan
}
,
{
m
.
managercost_count
}
,
{
m
.
fee_finance
}
,
{
m
.
profit
}
,
{
m
.
rate_profit
}
,
{
m
.
incoming_other
}
,
{
m
.
incoming_non_operating
}
,
{
m
.
pay_non_operating
}
,
{
m
.
actual_profit
}
,
{
m
.
dividend
}
,
{
m
.
profit_balance
}
,
{
m
.
rate_profit_actual
}
,'
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
',
{
m
.
lastupdateuserid
}
,'
{
m
.
lastupdateusername
}
','
{
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd HH:mm:ss"
)}
',0,
{
m
.
managercost_dizhi
}
,
{
m
.
managercost_meijiashengchan
}
)"
;
...
...
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