Commit 446fc5a9 by Licx

修改调节系数

parent da2c6e49
......@@ -69,6 +69,11 @@ public class HospitalRequest
/// 行政后勤是否显示管理绩效按钮 1 是 2 否
/// </summary>
public Nullable<int> IsShowManageButton { get; set; }
/// <summary>
/// 是否显示调节系数 1 显示 2 不显示
/// </summary>
public Nullable<int> IsShowAdjust { get; set; }
}
public class HospitalRequestValidator : AbstractValidator<HospitalRequest>
......
......@@ -142,6 +142,7 @@ public HospitalResponse Update(HospitalRequest request)
//hospital.IsOpenLogisticsSecondAllot = request.IsOpenLogisticsSecondAllot;
//hospital.IsOpenIncome = request.IsOpenIncome;
hospital.IsShowManageButton = request.IsShowManageButton;
hospital.IsShowAdjust = request.IsShowAdjust;
if (!_hospitalRepository.Update(hospital))
throw new PerformanceException("保存失败");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment