|
@@ -40,13 +40,13 @@ namespace OASystem.Infrastructure.Repositories.PersonnelModule
|
|
|
return _result;
|
|
|
}
|
|
|
|
|
|
- string sql = string.Format(@"Select sys_u1.CnName Name,sys_u2.CnName LastUpdateUserName,pm_ws.LastUpdateDt, pm_ws.Id,
|
|
|
- pm_ws.YearMonth,pm_ws.StartDate,pm_ws.EndDate,pm_ws.UserId,pm_ws.Should,
|
|
|
- pm_ws.TotalDeductions,pm_ws.Ex_ItemsRemark,TotalRealHair,pm_ws.WithholdingTax,pm_ws.AfterTax
|
|
|
+ string sql = string.Format(@"Select sys_u1.CnName Name,sys_u2.CnName LastUpdateUserName,pm_ws.LastUpdateDt, pm_ws.Id,pm_ws.YearMonth,pm_ws.StartDate,
|
|
|
+ pm_ws.EndDate,pm_ws.WorkDays,pm_ws.RegularDays,pm_ws.UserId,pm_ws.Should,pm_ws.TotalDeductions,
|
|
|
+ pm_ws.Ex_ItemsRemark,TotalRealHair,pm_ws.WithholdingTax,pm_ws.AfterTax
|
|
|
From Pm_WageSheet pm_ws
|
|
|
Left Join Sys_Users sys_u1 On pm_ws.UserId = sys_u1.Id
|
|
|
Left Join Sys_Users sys_u2 On pm_ws.LastUpdateUserId = sys_u2.Id
|
|
|
- Where pm_ws.IsDel = 0 And pm_ws.YearMonth = '{0}'", yearMonth);
|
|
|
+ Where pm_ws.IsDel = 0 And pm_ws.YearMonth = '{0}'", yearMonth);
|
|
|
var wageSheetList = await _sqlSugar.SqlQueryable<WageSheetItemInfoView>(sql).ToListAsync();
|
|
|
|
|
|
if (wageSheetList.Count <= 0 )
|