修复按周分表实际不是当前周一而导致的无法创建当周表的bug,发布x.5.0.14

This commit is contained in:
xuejiaming 2022-06-29 10:19:46 +08:00
parent 04842ea5b4
commit 3d8854cbe1
3 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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>();
//提前创建表

View File

@ -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;