|
|
@@ -38,7 +38,7 @@ namespace MySystem
|
|
|
{
|
|
|
try
|
|
|
{
|
|
|
- DoProfit();
|
|
|
+ DoProfit(" and Id>=628901");
|
|
|
}
|
|
|
catch (Exception ex)
|
|
|
{
|
|
|
@@ -89,15 +89,15 @@ namespace MySystem
|
|
|
public void DoProfit(string otherCondi = "", string TradeMonth = "")
|
|
|
{
|
|
|
if(string.IsNullOrEmpty(TradeMonth)) TradeMonth = DateTime.Now.AddMonths(-1).ToString("yyyyMM");
|
|
|
- if(string.IsNullOrEmpty(otherCondi))
|
|
|
- {
|
|
|
+ // if(string.IsNullOrEmpty(otherCondi))
|
|
|
+ // {
|
|
|
string check = function.ReadInstance("/ProfitFlag/" + TradeMonth + "-before-new.txt");
|
|
|
if (!string.IsNullOrEmpty(check))
|
|
|
{
|
|
|
return;
|
|
|
}
|
|
|
function.WritePage("/ProfitFlag/", TradeMonth + "-before-new.txt", DateTime.Now.ToString());
|
|
|
- }
|
|
|
+ // }
|
|
|
Models.KxsMain.WebCMSEntities kxsdb = new Models.KxsMain.WebCMSEntities();
|
|
|
WebCMSEntities dbnew = new WebCMSEntities();
|
|
|
KxsUserModels.WebCMSEntities udb = new KxsUserModels.WebCMSEntities();
|