Beispiel #1
0
 public void SaveFormApi(string keyValue, Base_FlowEntity entity)
 {
     try
     {
         service.SaveFormApi(keyValue, entity);
     }
     catch (Exception)
     {
         throw;
     }
 }
Beispiel #2
0
        public string SaveFlowForm([FromBody] FlowModelClass flowclass)
        {
            string          keyValue = flowclass.keyValue;
            string          userid   = flowclass.userid;
            string          username = flowclass.username;
            Base_FlowEntity entity   = flowclass.flowJson.ToObject <Base_FlowEntity>();

            keyValue = "";
            if (string.IsNullOrEmpty(keyValue))
            {
                entity.CreateUserId   = userid;
                entity.CreateUserName = username;
            }
            else
            {
                entity.ModifyUserId   = userid;
                entity.ModifyUserName = username;
            }
            entity.FlowCount = "1";
            base_flowbll.SaveFormApi(keyValue, entity);
            return(entity.FlowId);
        }
Beispiel #3
0
 public ActionResult SaveForm(string keyValue, Base_FlowEntity entity)
 {
     base_flowbll.SaveForm(keyValue, entity);
     entity.FlowCount = "1";
     return(Success("操作成功。"));
 }