| | |
| | | } |
| | | |
| | | /// <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; |
| | |
| | | double HMoney = list[0].HMoney;//金额 |
| | | string HRemark = list[0].HRemark;//备注 |
| | | double HTaxRate = list[0].HTaxRate;//税率 |
| | | string HProcNo = list[0].HProcNo;//流水号 |
| | | long HProcNo = list[0].HProcNo;//流水号 |
| | | string HOrderProcNO = list[0].HOrderProcNO;//订单跟踪号 |
| | | int HWWWorkOrderInterID = 0;//委外工单号子内码 |
| | | int HWWWorkOrderEntryID = 0;//委外工单号主内吗 |
| | |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exception!" + e.ToString(); |
| | | objJsonResult.Message = "Exception!" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |