Pārlūkot izejas kodu

请假统计sql修改、教师用户页日期1970处理、h5框架集成验证代码

临城职教中职
坤 梁 pirms 2 gadiem
vecāks
revīzija
57b5f687d9
3 mainītis faili ar 10 papildinājumiem un 7 dzēšanām
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/scripts/lrmui.js
  2. +8
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LeaveSchool/LeaveSchoolService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/scripts/lrmui.js
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


+ 8
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Parādīt failu

@@ -496,12 +496,15 @@

},
date: function (value) {
var date = new Date(value);
if (date instanceof Date && !isNaN(date.getTime())) {
return date.toLocaleDateString();
} else {
if (!!value) {
var date = new Date(value);
if (date instanceof Date && !isNaN(date.getTime())) {
return date.toLocaleDateString();
} else {
return '';
}
} else
return '';
}
},
company: function (value) {
var result;


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LeaveSchool/LeaveSchoolService.cs Parādīt failu

@@ -31,7 +31,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@" t.f_itemname, t.pcum ");
strSql.Append(@" FROM (select F_ItemName,count(id) as pcum from LeaveSchool aa left join (select a.F_ItemName,a.F_ItemValue from LR_Base_DataItemDetail a left join LR_Base_DataItem b on a.F_ItemId=b.F_ItemId where b.F_ItemCode='LeaveType' ) bb on F_leixing=F_ItemValue group by F_ItemName)t ");
strSql.Append(@" FROM (select F_ItemName,count(slid) as pcum from studentleave aa left join (select a.F_ItemName,a.F_ItemValue from LR_Base_DataItemDetail a left join LR_Base_DataItem b on a.F_ItemId=b.F_ItemId where b.F_ItemCode='LeaveType' ) bb on F_qjtype=F_ItemValue group by F_ItemName)t ");
strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject();
// 虚拟参数


Notiek ielāde…
Atcelt
Saglabāt