修复按周分表实际不是当前周一而导致的无法创建当周表的bug,发布x.5.0.14
This commit is contained in:
parent
04842ea5b4
commit
3d8854cbe1
|
@ -1,9 +1,9 @@
|
|||
:start
|
||||
::定义版本
|
||||
set EFCORE2=2.5.0.13
|
||||
set EFCORE3=3.5.0.13
|
||||
set EFCORE5=5.5.0.13
|
||||
set EFCORE6=6.5.0.13
|
||||
set EFCORE2=2.5.0.14
|
||||
set EFCORE3=3.5.0.14
|
||||
set EFCORE5=5.5.0.14
|
||||
set EFCORE6=6.5.0.14
|
||||
|
||||
::删除所有bin与obj下的文件
|
||||
@echo off
|
||||
|
|
|
@ -18,7 +18,7 @@ namespace ShardingCore.VirtualRoutes.Weeks
|
|||
public abstract DateTime GetBeginTime();
|
||||
public override List<string> GetAllTails()
|
||||
{
|
||||
var beginTime = GetBeginTime().Date;
|
||||
var beginTime = ShardingCoreHelper.GetCurrentMonday(GetBeginTime()).Date;
|
||||
|
||||
var tails = new List<string>();
|
||||
//提前创建表
|
||||
|
|
|
@ -25,8 +25,8 @@ namespace ShardingCore.VirtualRoutes.Weeks
|
|||
public abstract DateTime GetBeginTime();
|
||||
public override List<string> GetAllTails()
|
||||
{
|
||||
var beginTime = GetBeginTime().Date;
|
||||
|
||||
var beginTime = ShardingCoreHelper.GetCurrentMonday(GetBeginTime()).Date;
|
||||
|
||||
var tails=new List<string>();
|
||||
//提前创建表
|
||||
var nowTimeStamp = DateTime.Now.Date;
|
||||
|
|
Loading…
Reference in New Issue