From 71ef7d63ba3a779549b7e15cbb2415c4dfe5b559 Mon Sep 17 00:00:00 2001 From: liangkun Date: Wed, 8 Sep 2021 15:08:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=BC=B4=E8=B4=B9=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StuInfoFresh/StuInfoFreshService.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs index c331e13b9..eb243e1fb 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshService.cs @@ -128,12 +128,23 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration for (int i = 0; i < Model.Count(); i++) { - var IspayList = this.BaseRepository("IsPay").ExecuteBySql($" select * from View_JFdd WHERE XH ='{Model[i].StuNo}' ").ToString().ToList(); - if (IspayList.Count > 0) + //var IspayList = this.BaseRepository("IsPay").ExecuteBySql($" select * from View_JFdd WHERE XH ='{Model[i].StuNo}' ").ToString().ToList(); + //if (IspayList.Count > 0) + //{ + // Model[i].PayFeeStatus = "1"; + // ListStuInfo.Add(Model[i]); + //} + var IspayList = this.BaseRepository("IsPay").FindTable($" select * from View_JFdd WHERE XH ='{Model[i].StuNo}' "); + if (IspayList.Rows.Count > 0) { Model[i].PayFeeStatus = "1"; ListStuInfo.Add(Model[i]); } + else + { + Model[i].PayFeeStatus = "0"; + ListStuInfo.Add(Model[i]); + } } this.BaseRepository("CollegeMIS").Update(ListStuInfo); } From 51e0a67644b6d9fa8a8f71ee2b86c37c563c71d2 Mon Sep 17 00:00:00 2001 From: liangkun Date: Wed, 8 Sep 2021 16:31:38 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E7=94=9F=E6=8A=A5=E9=81=93?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=BE=85=E5=AF=BC=E5=91=98=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StuInfoFresh/RegisterQRCode/RegisterQRCode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js index 9f396dc54..78bd195f3 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/EducationalAdministration/StuInfoFresh/RegisterQRCode/RegisterQRCode.js @@ -13,8 +13,8 @@ learun.httpget(config.webapi + "StuInfoFresh/stuInfoFreshEntity", userinfo.baseinfo.account, (data) => { if (data) { //辅导员 - $('.sQrText span').eq(2).html(data.StuInfoFreshEntity.ClassDiredctorName != null ? data.StuInfoFreshEntity.ClassDiredctorName.slice(0, 1) + "老师" : ""); - $('.sQrText span').eq(3).html(data.StuInfoFreshEntity.ClassDiredctorMobile); + $('.sQrText span').eq(0).html(data.StuInfoFreshEntity.ClassTutorName != null ? data.StuInfoFreshEntity.ClassTutorName.slice(0, 1) + "老师" : ""); + $('.sQrText span').eq(1).html(data.StuInfoFreshEntity.ClassTutorMobile); //判断是否显示报到二维码:未确认报到,且已完善信息,且缴费三有一; var entity = data["StuInfoFreshEntity"];