Example #1
0
 /// <summary>
 /// 修改定量指标设置表单
 /// </summary>
 /// <param name="zbbh">指标编号</param>
 /// <param name="jxbm">绩效年度编码</param>
 /// <param name="entity">定量指标设置实体</param>
 /// <returns></returns>
 public void ModifyQuantitativeIndicatorsForm(string zbbh, string jxbm, BpeTA001Entity entity)
 {
     try
     {
         bpeTA001Service.SaveForm(zbbh, jxbm, entity);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #2
0
 /// <summary>
 /// 新增定量指标设置表单
 /// </summary>
 /// <param name="entity">定量指标设置实体</param>
 /// <returns></returns>
 public void CreateQuantitativeIndicatorsForm(BpeTA001Entity entity)
 {
     try
     {
         bpeTA001Service.SaveForm(null, null, entity);
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #3
0
 public ActionResult SaveQuan(BpeTA001Entity quan)
 {
     if (string.IsNullOrEmpty(quan.CREATOR))
     {
         bll.CreateQuantitativeIndicatorsForm(quan);
     }
     else
     {
         bll.ModifyQuantitativeIndicatorsForm(quan.ZBBH, quan.JXBM, quan);
     }
     return(Success("操作成功"));
 }