修改服务加载增加日志

optimize
jianghaiqing 1 year ago
parent 1d9ba5bf3b
commit 1f53972307

@ -1830,9 +1830,16 @@ namespace Myshipping.Application
}
};
DateTime bDate = DateTime.Now;
//在获取运行表已有的记录
var runList = InnerGetRunListBySingleBusiness(messageInfo);
DateTime eDate = DateTime.Now;
TimeSpan ts = eDate.Subtract(bDate);
var timeDiff = ts.TotalMilliseconds;
_logger.LogInformation("测试读取服务状态-读取数据库记录 耗时:{timeDiff}ms. ", timeDiff);
int lastWFSortNo = 0;
int calcNum = 1;

Loading…
Cancel
Save