Exemplo n.º 1
0
        public string InsertProjInfo(MY_ProjInfo myEntity)
        {
            myEntity.FEndDate = DateTime.Parse("2030-12-31 23:59:59");
            myEntity.FEndFlag = 0;
            string strInfo = myService.InsertLog(myEntity);

            return(strInfo);
        }
Exemplo n.º 2
0
 public void SubmitForm(MY_ProjInfo userEntity, UserLogOnEntity userLogOnEntity, string keyValue)
 {
     userEntity.FEndDate = DateTime.Parse("2030-12-31 23:59:59");
     userEntity.FEndFlag = 0;
     if (!string.IsNullOrEmpty(keyValue))
     {
         userEntity.Modify(keyValue);
     }
     else
     {
         userEntity.Create();
     }
     myService.SubmitForm(userEntity, userLogOnEntity, keyValue);
 }
Exemplo n.º 3
0
 public ActionResult SubmitForm(MY_ProjInfo userEntity, UserLogOnEntity userLogOnEntity, string keyValue)
 {
     projApp.SubmitForm(userEntity, userLogOnEntity, keyValue);
     return(Success("操作成功。"));
 }