WebAPI/Controllers/»ù´¡×ÊÁÏ/»ù´¡×ÊÁÏ/Gy_WorkStationBillController.cs
@@ -471,6 +471,57 @@
        #endregion
        #region æ ¹æ®åŸºç¡€èµ„æ–™ ID æˆ– æ¡ç  æŸ¥æ‰¾è®°å½•
        [Route("Gy_WorkStationBill/cx1")]
        [HttpGet]
        public object cx(long HInterID = -1, string HBarCode = "-1")
        {
            try
            {
                if(HInterID != -1)
                {
                    return cx(HInterID);
                }
                if(HBarCode != "-1")
                {
                    ds = oCN.RunProcReturn($"select * from h_v_Gy_WorkStationEdit where å·¥ä½ä»£ç ='{HBarCode}'", "h_v_Gy_WorkStationList");
                    if (ds == null || ds.Tables[0].Rows.Count == 0)
                    {
                        objJsonResult.code = "0";
                        objJsonResult.count = 0;
                        objJsonResult.Message = "false!";
                        objJsonResult.data = null;
                        return objJsonResult;
                    }
                    else
                    {
                        objJsonResult.code = "1";
                        objJsonResult.count = 1;
                        objJsonResult.Message = "Sucess!";
                        objJsonResult.data = ds.Tables[0];
                        return objJsonResult;
                    }
                }else
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "false!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region æ ¹æ®åŸºç¡€èµ„æ–™ID æŸ¥æ‰¾è®°å½•
        [Route("Gy_WorkStationBill/cx")]
        [HttpGet]