Kaynağa Gözat

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

临城职教中职
坤 梁 2 yıl önce
ebeveyn
işleme
57b5f687d9
3 değiştirilmiş dosya ile 10 ekleme ve 7 silme
  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
Dosya farkı çok büyük olduğundan ihmal edildi
Dosyayı Görüntüle


+ 8
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/UserCenter/IndexInTeacher.cshtml Dosyayı Görüntüle

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


}, },
date: function (value) { 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 ''; return '';
}
}, },
company: function (value) { company: function (value) {
var result; var result;


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/LeaveSchool/LeaveSchoolService.cs Dosyayı Görüntüle

@@ -31,7 +31,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
var strSql = new StringBuilder(); var strSql = new StringBuilder();
strSql.Append("SELECT "); strSql.Append("SELECT ");
strSql.Append(@" t.f_itemname, t.pcum "); 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 "); strSql.Append(" WHERE 1=1 ");
var queryParam = queryJson.ToJObject(); var queryParam = queryJson.ToJObject();
// 虚拟参数 // 虚拟参数


Yükleniyor…
İptal
Kaydet