Bläddra i källkod

新增宿舍晚归规则

西昌缴费二期
zhangli 2 år sedan
förälder
incheckning
ea98bdf9ad
5 ändrade filer med 10 tillägg och 21 borttagningar
  1. +0
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/Acc_DormitoryRuleController.cs
  2. +4
    -8
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_DormitoryRule/Form.cshtml
  3. +1
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_DormitoryRule/Index.js
  4. +0
    -5
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_DormitoryRule/Acc_DormitoryRuleEntity.cs
  5. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_DormitoryRule/Acc_DormitoryRuleService.cs

+ 0
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Controllers/Acc_DormitoryRuleController.cs Visa fil

@@ -114,11 +114,6 @@ namespace Learun.Application.Web.Areas.LogisticsManagement.Controllers
return Fail("晚归时间格式不正确!");
}

if (!(entity.PushHour >= 0 && entity.PushHour <= 23))
{
return Fail("推送时间点填写不正确!");
}

var model = acc_DormitoryRuleIBLL.GetEnableEntity();
if (entity.IsEnable == 1)
{


+ 4
- 8
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_DormitoryRule/Form.cshtml Visa fil

@@ -7,19 +7,15 @@
<div class="lr-form-item-title">晚归时间<font face="宋体">*</font></div>
<input id="LateReturnTime" type="text" class="form-control" isvalid="yes" checkexpession="NotNull" placeholder="请填写时分,例如:22:00" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Acc_DormitoryRule">
<div class="col-xs-12 lr-form-item" data-table="Acc_DormitoryRule" >
<div class="lr-form-item-title">推送人<font face="宋体">*</font></div>
<div id="PushUser" isvalid="yes" checkexpession="NotNull"></div>
<div id="PushUser" isvalid="yes" checkexpession="NotNull" ></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Acc_DormitoryRule">
<div class="col-xs-12 lr-form-item" data-table="Acc_DormitoryRule" >
<div class="lr-form-item-title">推送班主任<font face="宋体">*</font></div>
<div id="ClassDiredctor"></div>
</div>
<div class="col-xs-12 lr-form-item" data-table="Acc_DormitoryRule">
<div class="lr-form-item-title">推送时间点<font face="宋体">*</font></div>
<input id="PushHour" type="number" class="form-control" isvalid="yes" checkexpession="NotNull" placeholder="请填写0-23数字" />
</div>
<div class="col-xs-12 lr-form-item" data-table="Acc_DormitoryRule">
<div class="col-xs-12 lr-form-item" data-table="Acc_DormitoryRule" >
<div class="lr-form-item-title">启用<font face="宋体">*</font></div>
<div id="IsEnable"></div>
</div>


+ 1
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Acc_DormitoryRule/Index.js Visa fil

@@ -66,7 +66,7 @@ var bootstrap = function ($, learun) {
},
// 初始化列表
initGird: function () {
$('#gridtable').jfGrid({
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/LogisticsManagement/Acc_DormitoryRule/GetPageList',
headData: [
{ label: "晚归时间", name: "LateReturnTime", width: 100, align: "left" },
@@ -113,7 +113,6 @@ var bootstrap = function ($, learun) {
});
}
},
{ label: "推送时间点", name: "PushHour", width: 100, align: "left" },
{
label: "启用", name: "IsEnable", width: 100, align: "left",
formatter: function (cellvalue, rowObject) {


+ 0
- 5
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_DormitoryRule/Acc_DormitoryRuleEntity.cs Visa fil

@@ -35,11 +35,6 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
[Column("CLASSDIREDCTOR")]
public int? ClassDiredctor { get; set; }
/// <summary>
/// 推送时间点
/// </summary>
[Column("PUSHHOUR")]
public int? PushHour { get; set; }
/// <summary>
/// 是否启用
/// </summary>
[Column("ISENABLE")]


+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Acc_DormitoryRule/Acc_DormitoryRuleService.cs Visa fil

@@ -32,7 +32,11 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
var strSql = new StringBuilder();
strSql.Append("SELECT ");
strSql.Append(@"
t.*
t.Id,
t.LateReturnTime,
t.PushUser,
t.ClassDiredctor,
t.IsEnable
");
strSql.Append(" FROM Acc_DormitoryRule t ");
strSql.Append(" WHERE 1=1 ");


Laddar…
Avbryt
Spara