Commit 76ac0ea3 by guanzhenshan

1

parent 662d9081
......@@ -5969,7 +5969,7 @@ namespace Bailun.DC.Services
{
var sql = $@"select t1.bailun_sku,sum(t1.bailun_sku_quantity_refund) as refundcount,t1.website,t1.platform_type,t1.bailun_account_id from dc_base_crm_refund t1
where t1.refund_time>='{start.ToString("yyyy-MM-dd HH:mm:ss")}' and t1.refund_time<'{end.ToString("yyyy-MM-dd HH:mm:ss")}' and t1.is_deleted=0 and t1.is_freeze=0 and t1.company_id=1
group by t1.platform_type,t1.website,t1.platform_type,t1.bailun_account_id";
";
if (!string.IsNullOrEmpty(sku))
{
......@@ -5981,7 +5981,7 @@ namespace Bailun.DC.Services
sql += " and t1.platform_type='" + platform+"'";
}
sql += " group by t1.bailun_sku";
sql += " group by t1.platform_type,t1.website,t1.platform_type,t1.bailun_account_id";
using (var cn = new MySqlConnection(Common.GlobalConfig.ConnectionString))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment