yl
2022-11-01 f0c3d69b6d97faef544eafc841ecb6d995ca7be6
VueWebApi/Controllers/AppDeviceManageController.cs
@@ -14,7 +14,7 @@
{
    [RoutePrefix(prefix: "api/AppDeviceManage")]
    [ControllerGroup("App设备管理", "在线接口")]
    [ChannelActionFilterAttributeApp]
    //[ChannelActionFilterAttributeApp]
    public class AppDeviceManageController : ApiController
    {
        //定义全局信息返回变量
@@ -175,7 +175,7 @@
        [HttpPost]
        public HttpResponseMessage RepairScanDeviceSave()
        {
            string docu_code= HttpContext.Current.Request["docu_code"].ToString();//维修申请单号
            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(); //车间编码
@@ -184,7 +184,7 @@
            string repaircontent = HttpContext.Current.Request["repaircontent"].ToString(); //维修内容
            string replaceparts = HttpContext.Current.Request["replaceparts"].ToString(); //更换备件
            HttpFileCollection files = HttpContext.Current.Request.Files;
            mes = AppDeviceManageBLL.RepairScanDeviceSave(docu_code,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
@@ -214,9 +214,9 @@
        /// <returns></returns>
        [Route(template: "RepairVerificationScanDeviceDataSub")]
        [HttpGet]
        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode,string wkshpcode)
        public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode, string wkshpcode)
        {
            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code,eqpcode, wkshpcode);
            mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code, eqpcode, wkshpcode);
            return TJson.toJson(mes);
        }
        #endregion