yl
2022-10-18 bc91272547462e667f12efb62fe1f058da227c61
VueWebApi/Controllers/AppDeviceManageController.cs
@@ -174,6 +174,7 @@
        [HttpPost]
        public HttpResponseMessage RepairScanDeviceSave()
        {
            string docu_code= HttpContext.Current.Request["docu_code"].ToString();//维修申请单号
            string username = HttpContext.Current.Request["username"].ToString();//操作人员
            string eqpcode = HttpContext.Current.Request["eqpcode"].ToString();//设备编码
            string wkshpcode = HttpContext.Current.Request["wkshpcode"].ToString(); //车间编码
@@ -182,7 +183,7 @@
            string repaircontent = HttpContext.Current.Request["repaircontent"].ToString(); //维修内容
            string replaceparts = HttpContext.Current.Request["replaceparts"].ToString(); //更换备件
            HttpFileCollection files = HttpContext.Current.Request.Files;
            mes = AppDeviceManageBLL.RepairScanDeviceSave(username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
            mes = AppDeviceManageBLL.RepairScanDeviceSave(docu_code,username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
            return TJson.toJson(mes);
        }
        #endregion
@@ -206,14 +207,15 @@
        /// <summary>
        /// 维修验证详情信息
        /// </summary>
        /// <param name="repair_code">维修单号</param>
        /// <param name="eqpcode">设备编码</param>
        /// <param name="wkshpcode">车间编码</param>
        /// <returns></returns>
        [Route(template: "RepairVerificationScanDeviceDataSub")]
        [HttpGet]
        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string eqpcode,string wkshpcode)
        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode,string wkshpcode)
        {
            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(eqpcode,wkshpcode);
            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code,eqpcode, wkshpcode);
            return TJson.toJson(mes);
        }
        #endregion
@@ -286,7 +288,6 @@
            return TJson.toJson(mes);
        }
        #endregion