|
@@ -52,8 +52,6 @@ namespace wispro.sp.api.Controllers
|
|
{
|
|
{
|
|
foreach (var item in itemList.ToList())
|
|
foreach (var item in itemList.ToList())
|
|
{
|
|
{
|
|
-
|
|
|
|
-
|
|
|
|
if (item != null)
|
|
if (item != null)
|
|
{
|
|
{
|
|
Context.ItemStaffs.RemoveRange(item.ItemStaffs);
|
|
Context.ItemStaffs.RemoveRange(item.ItemStaffs);
|
|
@@ -914,6 +912,8 @@ namespace wispro.sp.api.Controllers
|
|
var calMonth = spDb.CalMonths.FirstOrDefault(c => c.Status == 0);
|
|
var calMonth = spDb.CalMonths.FirstOrDefault(c => c.Status == 0);
|
|
_RefreshBasePoint(calMonth, spDb);
|
|
_RefreshBasePoint(calMonth, spDb);
|
|
|
|
|
|
|
|
+ StatisticsLevelCount(calMonth.Year, calMonth.Month);
|
|
|
|
+
|
|
}
|
|
}
|
|
|
|
|
|
private void _RefreshBasePoint(CalMonth calMonth, spDbContext spDb)
|
|
private void _RefreshBasePoint(CalMonth calMonth, spDbContext spDb)
|
|
@@ -1059,7 +1059,6 @@ namespace wispro.sp.api.Controllers
|
|
|
|
|
|
public FileProcessTask CurrentData2Excel()
|
|
public FileProcessTask CurrentData2Excel()
|
|
{
|
|
{
|
|
-
|
|
|
|
CalMonth calMonth = Context.CalMonths.FirstOrDefault(c => c.Status == 0);
|
|
CalMonth calMonth = Context.CalMonths.FirstOrDefault(c => c.Status == 0);
|
|
if (calMonth != null)
|
|
if (calMonth != null)
|
|
{
|
|
{
|