Exemplo n.º 1
0
 public void SubmitForm(My_ProjNeedInfo userEntity, UserLogOnEntity userLogOnEntity, string keyValue)
 {
     userEntity.FActDate    = DateTime.Parse("2030-12-31 23:59:59");
     userEntity.FIsFinished = 0;
     if (!string.IsNullOrEmpty(keyValue))
     {
         userEntity.Modify(keyValue);
     }
     else
     {
         userEntity.Create();
     }
     myService.SubmitForm(userEntity, userLogOnEntity, keyValue);
 }
Exemplo n.º 2
0
        /// <summary>
        /// 验证单据是否已经审核
        /// </summary>
        /// <param name="strBill"></param>
        /// <returns></returns>
        public string BillIsChecked(string strBill)
        {
            string          strInfo   = "";
            My_ProjNeedInfo mppEntity = myService.FindEntity(t => t.FID == strBill && t.FCheckFlag == 1);

            if (mppEntity == null || string.IsNullOrWhiteSpace(mppEntity.FID) == true)
            {
                strInfo = "0";
            }
            else
            {
                strInfo = "1";
            }
            return(strInfo);
        }
Exemplo n.º 3
0
 public ActionResult SubmitForm(My_ProjNeedInfo userEntity, UserLogOnEntity userLogOnEntity, string keyValue)
 {
     projApp.SubmitForm(userEntity, userLogOnEntity, keyValue);
     return(Success("操作成功。"));
 }
Exemplo n.º 4
0
        public string InsertProjInfo(My_ProjNeedInfo myEntity)
        {
            string strInfo = myService.InsertLog(myEntity);

            return(strInfo);
        }