| | |
| | | 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); |
| | | } |
| | | } |
| | | } |
| | |
| | | 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); |
| | |
| | | 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; |