示例#1
0
        /// <summary>
        /// 查询当前财务账状态
        /// </summary>
        /// <param name="propertyId"></param>
        /// <returns></returns>
        public bool GetCurrentStatus(string propertyId)
        {
            FeeCloseEntity entity = service.GetCurrentStatus(propertyId);

            if (entity != null)
            {
                return(Convert.ToInt32(entity.fstatus) > 0 ? true : false);
            }

            return(true);
        }
示例#2
0
 /// <summary>
 /// 保存表单(新增、修改)
 /// </summary>
 /// <param name="keyValue">主键值</param>
 /// <param name="entity">实体对象</param>
 /// <returns></returns>
 public void SaveForm(string keyValue, FeeCloseEntity entity)
 {
     try
     {
         service.SaveForm(keyValue, entity);
     }
     catch (Exception)
     {
         throw;
     }
 }
示例#3
0
 public ActionResult SaveForm(string keyValue, FeeCloseEntity entity)
 {
     feeclosebll.SaveForm(keyValue, entity);
     return(Success("操作成功。"));
 }