fix 联合索引,年份
This commit is contained in:
@@ -23,9 +23,12 @@ public class CostUploadJob : BaseJob
|
||||
var jipApi = serviceProvider.GetService<IJinkoJipApi>();
|
||||
|
||||
var now = DateTime.Now;
|
||||
|
||||
var year = now.Month == 1 ? now.Year - 1 : now.Year;
|
||||
var month = now.Month == 1 ? 12 : now.Month - 1;
|
||||
var s = new DateTime(2025, month, 1);
|
||||
var e = new DateTime(2025, month + 1, 1);
|
||||
|
||||
var s = new DateTime(year, month, 1);
|
||||
var e = new DateTime(year, month + 1, 1);
|
||||
var endDayOfMonth = e.AddDays(-1);
|
||||
|
||||
//从余额找人
|
||||
|
||||
Reference in New Issue
Block a user