Ver código fonte

分润记录,直推和团队交换

lcl 1 ano atrás
pai
commit
08e1e9a210
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      AppStart/Helper/SycnProfitServiceV3.cs

+ 2 - 2
AppStart/Helper/SycnProfitServiceV3.cs

@@ -136,7 +136,7 @@ namespace MySystem
             string start = date.Substring(0, 4) + "-" + date.Substring(4) + "-01 00:00:00";
             string end = DateTime.Parse(start).AddMonths(1).ToString("yyyy-MM-dd HH:mm:ss");
             string sql = "";
-            DataTable dt = CustomerSqlConn.dtable("select UserId,301 ChangeType,ProfitAmount,(case when DirectFlag=1 then '直拓商户分润' else '品牌推广服务费' end) Remark from ProfitRecord where SeoTitle='" + date + "' and Version=0 and UserId>0 order by Id", MysqlConn.connstr);
+            DataTable dt = CustomerSqlConn.dtable("select UserId,301 ChangeType,ProfitAmount,(case when DirectFlag=0 then '直拓商户分润' else '品牌推广服务费' end) Remark from ProfitRecord where SeoTitle='" + date + "' and Version=0 and UserId>0 order by Id", MysqlConn.connstr);
             int num = 0;
             foreach(DataRow dr in dt.Rows)
             {
@@ -171,7 +171,7 @@ namespace MySystem
             string start = date.Substring(0, 4) + "-" + date.Substring(4) + "-01 00:00:00";
             string end = DateTime.Parse(start).AddMonths(1).ToString("yyyy-MM-dd HH:mm:ss");
             string sql = "";
-            DataTable dt = CustomerSqlConn.dtable("select UserId,301 ChangeType,ProfitAmount,(case when DirectFlag=1 then '直拓商户分润(银联)' else '品牌推广服务费(银联)' end) Remark from ProfitRecord where SeoTitle='" + date + "' and Version=0 and UserId>0 order by Id", MysqlConn.connstr2);
+            DataTable dt = CustomerSqlConn.dtable("select UserId,301 ChangeType,ProfitAmount,(case when DirectFlag=0 then '直拓商户分润(银联)' else '品牌推广服务费(银联)' end) Remark from ProfitRecord where SeoTitle='" + date + "' and Version=0 and UserId>0 order by Id", MysqlConn.connstr2);
             int num = 0;
             foreach(DataRow dr in dt.Rows)
             {