| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 委外工序发出单流水号回车获取流转卡信息 |
| | | /// 委外工序发出单流水号回车获取流转卡信息(委外工序接收、工序进站接收通用) |
| | | ///参数:string sql。 |
| | | ///返回值:object。 |
| | | /// </summary> |
| | |
| | | { |
| | | //委外工序发出反序列化 |
| | | msg1 = "[" + msg1.ToString() + "]"; |
| | | List<StationEntrustInBill> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<StationEntrustInBill>>(msg1); |
| | | List<StationBill> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<StationBill>>(msg1); |
| | | |
| | | long HInterID = list[0].HInterID;//递入type得到的单据ID |
| | | int HYear = 2021; |
| | |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exception!" + e.ToString(); |
| | | objJsonResult.Message = "Exception!" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |