Browse Source

!25 fix typo in SplitTableService.cs

Merge pull request !25 from Ikko Ashimine/N/A
pull/26/head
sunkaixuan 2 years ago
committed by Gitee
parent
commit
bf469c3256
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
  1. 4
      Src/Asp.Net/SqlSugar/IntegrationServices/SplitTableService.cs

4
Src/Asp.Net/SqlSugar/IntegrationServices/SplitTableService.cs

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
@ -223,7 +223,7 @@ namespace SqlSugar
case SplitType.Year: case SplitType.Year:
return Convert.ToDateTime(time.ToString("yyyy-01-01")); return Convert.ToDateTime(time.ToString("yyyy-01-01"));
default: default:
throw new Exception($"SplitType paramter error "); throw new Exception($"SplitType parameter error ");
} }
} }
private DateTime GetMondayDate() private DateTime GetMondayDate()

Loading…
Cancel
Save