yusijie
2025-02-20 5fccb067ad7dc2dbcdacf8db642aa471488cd8f0
WebAPI/Controllers/CJGL/Mes_OrderProcFlowAllReportController.cs
@@ -20,6 +20,32 @@
        DataSet ds;
        Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter();
        #region 生产订单全程跟踪报表 查询全部销售订单号根据生产订单的销售订单号
        [Route("Mes_OrderProcFlowAllReport/getHSeOrderBillNo")]
        [HttpGet]
        public object getHSeOrderBillNo()
        {
            try
            {
                ds = oCN.RunProcReturn($"select DISTINCT HSeOrderBillNo from Sc_ICMOBillSub ", "Sc_ICMOBillSub");
                objJsonResult.code = "1";
                objJsonResult.count = 1;
                objJsonResult.Message = "Sucess!";
                objJsonResult.data = ds.Tables[0];
                return objJsonResult;
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region 生产订单全程跟踪报表 查询
        [Route("Mes_OrderProcFlowAllReport/OrderProcFlowAllReportICMOList")]
        [HttpGet]