1
llj
2026-01-28 ff30b95575c97a67dab7654dde69181b75935ac3
WebAPI/Controllers/CJGL/Sc_ProcExchSendWorkBillController.cs
@@ -19,7 +19,7 @@
        public DAL.ClsSc_ICMOBill BillOld = new DAL.ClsSc_ICMOBill();
        DataSet ds;
        #region 工序派工单列表
        #region 工序流转卡派工单列表
        [Route("Sc_ProcExchSendWorkBill/Sc_ProcExchSendWorkBillList")]
        [HttpGet]
        public object Sc_ProcExchSendWorkBillList(string sWhere, string user)
@@ -59,7 +59,7 @@
        }
        #endregion
        #region 工序派工单列表(职员查看自己任务)
        #region 工序流转卡派工单列表(职员查看自己任务)
        [Route("Sc_ProcExchSendWorkBill/Sc_ProcExchSendWorkBillListByEmp")]
        [HttpGet]
        public object Sc_ProcExchSendWorkBillListByEmp(string sWhere, string user,int HEmpID)
@@ -98,23 +98,14 @@
        }
        #endregion
        #region 工序派工 删除(子表)用于取消派单
        #region 工序流转卡派工 删除(子表)用于取消派单
        [Route("Sc_ProcExchSendWorkBill/DelProcessSendWork_Sec")]
        [HttpGet]
        public object DelProcessSendWork_Sec(string HInterID, string HEntryID, string User)
        {
            try
            {
                //删除权限
                //if (!DBUtility.ClsPub.Security_Log_second("Cg_PODemandPlanConfigBill_Drop", 1, false, User))
                //{
                //    objJsonResult.code = "0";
                //    objJsonResult.count = 0;
                //    objJsonResult.Message = "无权限删除!";
                //    objJsonResult.data = null;
                //    return objJsonResult;
                //}
                ds = oCN.RunProcReturn("select a.* from Sc_ProcExchSendWorkBillMain a left join Sc_ProcExchSendWorkBillSub b on b.HInterID= a.HInterID where 1=1 and a.HInterID=" + HInterID, "Sc_ProcExchSendWorkBillMain");
                if (ds.Tables[0].Rows.Count > 0)
@@ -279,9 +270,9 @@
        }
        #endregion
        #region 工序派工单 保存/编辑
        #region 工序流转卡派工单 保存/编辑
        /// <summary>
        /// 工序派工单 保存
        /// 工序流转卡派工单 保存
        /// </summary>
        /// <param name="msg"></param>
        /// <returns></returns>
@@ -393,7 +384,7 @@
        }
        #endregion
        #region 工序派工单 删除
        #region 工序流转卡派工单 删除
        [Route("Sc_ProcExchSendWorkBill/DelProcessSendWork")]
        [HttpGet]
        public object DelProcessSendWork(string HInterID, string user)
@@ -483,7 +474,7 @@
        }
        #endregion
        #region 工序派工单审核/反审核功能
        #region 工序流转卡派工单审核/反审核功能
        [Route("Sc_ProcExchSendWorkBill/CheckSc_ProcExchSendWorkBill")]
        [HttpGet]
        public object CheckSc_ProcExchSendWorkBill(string HInterID, int Type, string user)
@@ -648,7 +639,7 @@
        }
        #endregion
        #region 工序派工单关闭/反关闭功能
        #region 工序流转卡派工单关闭/反关闭功能
        [Route("Sc_ProcExchSendWorkBill/CloseSc_ProcExchSendWorkBill")]
        [HttpGet]
        public object CloseSc_ProcExchSendWorkBill(string HInterID, int Type, string user)