Browse Source

文件

中职版本
edy 3 years ago
parent
commit
ed3bddba67
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ScholarshipController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarship/Index.cshtml
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarship/IndexZxj.cshtml
  4. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Scholarship/ScholarshipService.cs

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ScholarshipController.cs View File

@@ -137,7 +137,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
}
else
{
if (Lists.Id.Contains(keyValue))
if (!Lists.Id.Contains(keyValue))
{
return Fail("添加失败!名称或编码已存在");
}


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarship/Index.cshtml View File

@@ -20,7 +20,7 @@
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">状态</div>
<div id="IsVaild"></div>
<div id="IsValid"></div>
</div>
</div>
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Scholarship/IndexZxj.cshtml View File

@@ -20,7 +20,7 @@
</div>
<div class="col-xs-12 lr-form-item">
<div class="lr-form-item-title">状态</div>
<div id="IsVaild"></div>
<div id="IsValid"></div>
</div>
</div>
</div>


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Scholarship/ScholarshipService.cs View File

@@ -46,7 +46,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration

if (!queryParam["ItemCode"].IsEmpty())
{
dp.Add("ItemCode", "%" + queryParam["ItemCode"].ToString() + "%", DbType.String);
dp.Add("ItemCode", "%" + queryParam["ItemCode"].ToString().ToUpperInvariant() + "%", DbType.String);
strSql.Append(" AND t.ItemCode Like @ItemCode ");
}



Loading…
Cancel
Save