From 248ce9b84376ebcdc8cc9852e38ddcd04fd304e9 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期五, 07 三月 2025 16:21:09 +0800 Subject: [PATCH] 物料:删除时 回滚报错问题解决 --- WebAPI/Controllers/数据同步/钉钉同步/DD_DataSynchronizationController.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git "a/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs" "b/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs" index d7adea1..ac770ab 100644 --- "a/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs" +++ "b/WebAPI/Controllers/\346\225\260\346\215\256\345\220\214\346\255\245/\351\222\211\351\222\211\345\220\214\346\255\245/DD_DataSynchronizationController.cs" @@ -2343,7 +2343,7 @@ HMouldID = ds.Tables[0].Rows[0]["HInterID"].ToString(); if (HMouldStaus != HStaus && DateTime.Parse(HUpdateDate) <= DateTime.Parse(oItem.HUpdateDate)) { //淇敼妯″叿鐨勭姸鎬佸拰鏃堕棿 - oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HMouldID); + oCN.RunProc("update Gy_MouldFileMain set HMouldUseStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HMouldID); } } } @@ -2370,7 +2370,7 @@ if (HMouldStaus != HStaus && DateTime.Parse(HUpdateDate) <= DateTime.Parse(oItem.HUpdateDate)) { //淇敼妯″叿鐨勭姸鎬佸拰鏃堕棿 - oCN.RunProc("update Gy_MouldFileMain set HMouldStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HMouldID); + oCN.RunProc("update Gy_MouldFileMain set HMouldUseStatus='" + HStaus + "',HCloseDate='" + oItem.HUpdateDate + "' WHERE HInterID =" + HMouldID); } } oItem.HMouldID = long.Parse(HMouldID); @@ -3587,14 +3587,14 @@ string msg = ""; try { - if (getData_ErrWorkTimesRequest(startTime,endTime,ref msg) == false) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "Exception锛�" + msg; - objJsonResult.data = null; - return objJsonResult; - } + //if (getData_ErrWorkTimesRequest(startTime,endTime,ref msg) == false) + //{ + // objJsonResult.code = "0"; + // objJsonResult.count = 0; + // objJsonResult.Message = "Exception锛�" + msg; + // objJsonResult.data = null; + // return objJsonResult; + //} objJsonResult.code = "1"; objJsonResult.count = 1; -- Gitblit v1.9.1