Beispiel #1
0
        /// <summary>
        /// 二楼退库单据,产生任务,任务明细,更新货位错误标志, 返回任务ID。
        /// </summary>
        ///  
        /// <returns>TaskID</returns>
        public string CreateCancelBillInTask(string TaskID,string BillNo)
        {
            using (PersistentManager pm = new PersistentManager())
            {
                BillDao dao = new BillDao();
                string strTaskID = dao.CreateCancelBillInTask(TaskID, BillNo);

                TaskDao tdao = new TaskDao();
                tdao.InsertTaskDetail(strTaskID);
                tdao.UpdateTaskState(strTaskID, "1");//更新任务开始执行
                return strTaskID;
            }
        }
Beispiel #2
0
 /// <summary>
 /// 插入明细Task_Detail。
 /// </summary>
 /// <param name="task_id"></param>
 /// <returns></returns>
 public string InsertTaskDetail(string task_id)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         TaskDao dao = new TaskDao();
         return dao.InsertTaskDetail(task_id);
     }
 }