通信地址*
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
index 481635b8f..c53eb1050 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Form.js
@@ -55,6 +55,7 @@ var bootstrap = function ($, learun) {
}
},
bind: function () {
+ $('#DepositBank').lrDataItemSelect({ code: 'DepositBank' });
$('#F_ProvinceId').lrDataSourceSelect({
code: 'DIC_PROVINCE', value: 'pcode', text: 'pname',
select: function (item) {
@@ -168,6 +169,7 @@ var bootstrap = function ($, learun) {
learun.alert.error('请先选择系和专业');
}
});
+
},
initData: function () {
if (!!keyValue) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
index 9efee1a5e..dbcec20ae 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/FormOfDC.js
@@ -198,7 +198,6 @@ var bootstrap = function ($, learun) {
-
},
initData: function () {
if (!!keyValue) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
index 367bc0204..d5913cd4f 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoBasic/Index.js
@@ -351,7 +351,10 @@ var bootstrap = function ($, learun) {
formatter: function (cellvalue) {
return cellvalue == "1" ? "
已审核" : "
未审核";
}
- }
+ },
+ { label: '开户银行', name: 'DepositBank', width: 100, align: "left" },
+ { label: '银行卡账号', name: 'BankCard', width: 150, align: "left" },
+ { label: '开户银行位置', name: 'BankLocation', width: 200, align: "left" },
],
mainId: 'StuId',
isPage: true,
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml
index 9cfc81e3f..ede79a9a1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.cshtml
@@ -129,7 +129,18 @@
精准贫困户
-
+
拍照
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js
index 8b8387548..a7e80130d 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Form.js
@@ -15,6 +15,7 @@ var bootstrap = function ($, learun) {
page.initData();
},
bind: function () {
+ $('#DepositBank').lrDataItemSelect({ code: 'DepositBank' });
$("#GenderNo").lrDataItemSelect({ code: 'usersex' });
$('#PartyFaceNo').lrDataSourceSelect({ code: 'BCdPartyFace', value: 'partyfaceno', text: 'partyface' });
$("#FamilyOriginNo").lrDataItemSelect({ code: 'ExamineeCategory' });
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js
index 296d47d15..d1efe7215 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoFresh/Index.js
@@ -321,6 +321,9 @@ var bootstrap = function ($, learun) {
{ label: '数学', name: 'MathScore', width: 100, align: "left" },
{ label: '英语', name: 'ForeignLangScore', width: 100, align: "left" },
{ label: '综合', name: 'ComprehensiveScore', width: 100, align: "left" },
+ { label: '开户银行', name: 'DepositBank', width: 100, align: "left" },
+ { label: '银行卡账号', name: 'BankCard', width: 150, align: "left" },
+ { label: '开户银行位置', name: 'BankLocation', width: 200, align: "left" },
],
mainId: 'ID',
isPage: true,
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
index 46a2b34c6..1b9f03207 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
@@ -7172,6 +7172,8 @@
+
+
@@ -7253,6 +7255,10 @@
+
+
+
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Properties/PublishProfiles/FolderProfile4.pubxml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Properties/PublishProfiles/FolderProfile4.pubxml
new file mode 100644
index 000000000..3dd3b0238
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Properties/PublishProfiles/FolderProfile4.pubxml
@@ -0,0 +1,18 @@
+
+
+
+
+ FileSystem
+ FileSystem
+ Release
+ Any CPU
+
+ True
+ False
+ bin\Release\Publish
+ False
+
+
\ No newline at end of file
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js
index cf0f792a8..dcac566ad 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-validator-helper.js
@@ -38,9 +38,19 @@
}
return res;
},
+ isBankCard: function (obj) {//验证银行卡的长度
+ var res = { code: true, msg: '' };
+ obj = $.trim(obj);
+ if (obj.length >= 20 || obj.length < 16) {
+ res.code = false;
+ res.msg = '输入错误,请核对银行卡账号';
+ }
+ return res;
+ },
isNum: function (obj) {// 验证数字
return learun.validator.validReg(obj, /^[-+]?\d+$/, '必须为数字');
},
+
isPositiveInteger: function (obj) {// 正整数
return learun.validator.validReg(obj, /^[1-9]\d*$/, '必须为正整数');
},
@@ -201,7 +211,7 @@
res.msg = '必须小于等于' + n + '位字符或空';
}
return res;
- }
+ },
};
})(window.jQuery, top.learun);
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs
index f090e2650..14f76a828 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuInfoFreshApi.cs
@@ -171,6 +171,10 @@ namespace Learun.Application.WebApi.Modules
entity.RegionNo = model.RegionNo;
entity.FamilyAddress = model.FamilyAddress;
entity.telephone = model.telephone;
+ entity.BankCard = model.BankCard;
+ entity.BankLocation = model.BankLocation;
+ entity.DepositBank = model.DepositBank;
+
if (!string.IsNullOrEmpty(model.Photo))
{
entity.IsPhoto = true;
@@ -330,7 +334,6 @@ namespace Learun.Application.WebApi.Modules
{
ReqFormEntity parameter = this.GetReqData();
StuInfoFreshEntity entity = parameter.strEntity.ToObject();
-
stuInfoFreshIBLL.SaveEntity(parameter.keyValue, entity);
return Success("保存成功!");
}
@@ -388,6 +391,18 @@ namespace Learun.Application.WebApi.Modules
/// 紧急联系人
///
public List StuInfoFreshEmergePeopleEntities { get; set; }
+ ///
+ /// 开户行
+ ///
+ public string DepositBank { get; set; }
+ ///
+ /// 银行卡号
+ ///
+ public string BankCard { get; set; }
+ ///
+ /// 开户行位置
+ ///
+ public string BankLocation { get; set; }
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config
index 9f5e1c6ec..0fac6f538 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config
+++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config
@@ -92,6 +92,10 @@
+
+
+
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
index 88606a2b6..2e14c2089 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoBasic/StuInfoBasicEntity.cs
@@ -708,7 +708,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
///
[Column("TWOPOSITION")]
public string TwoPosition { get; set; }
-
+ ///
+ /// 开户银行
+ ///
+ [Column("DEPOSITBANK")]
+ public string DepositBank { get; set; }
+ ///
+ /// 银行卡账号
+ ///
+ [Column("BANKCARD")]
+ public string BankCard { get; set; }
+ ///
+ /// 开户银行位置
+ ///
+ [Column("BANKLOCATION")]
+ public string BankLocation { get; set; }
#endregion
#region 扩展操作
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs
index bb33a915d..9deaa0983 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StuInfoFresh/StuInfoFreshEntity.cs
@@ -597,6 +597,21 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
///
[Column("ISINBASIC")]
public bool? IsInBasic { get; set; }
+ ///
+ /// 开户银行
+ ///
+ [Column("DEPOSITBANK")]
+ public string DepositBank { get; set; }
+ ///
+ /// 银行卡账号
+ ///
+ [Column("BANKCARD")]
+ public string BankCard { get; set; }
+ ///
+ /// 开户银行位置
+ ///
+ [Column("BANKLOCATION")]
+ public string BankLocation { get; set; }
#endregion
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 563b85c12..5e27b1f7c 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
@@ -861,6 +861,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
entity.Modify(keyValue);
db.Update(entity);
db.Delete(t => t.StuInfoFreshId == stuInfoFreshEntityTmp.ID);
+
if (null != stuInfoFreshEmergePeopleList && null != stuInfoFreshFamilyList)
{
foreach (StuInfoFreshEmergePeopleEntity item in stuInfoFreshEmergePeopleList)
@@ -899,10 +900,11 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}
}
- db.Commit();
-
//家长生成账号
GenerateAccoutForStuFamily(entity, stuInfoFreshFamilyList);
+ db.Commit();
+
+
}
catch (Exception ex)
{