| | |
| | | |
| | | foreach (var item in cabinOrders) |
| | | { |
| | | if (item.Order_type == InOrderTypeEnum.Allocat.ObjToInt().ToString()) |
| | | { |
| | | if (item.Details != null) |
| | | { |
| | | _cabinOrderDetailServices.Repository.DeleteAndMoveIntoHty(item.Details, OperateTypeEnum.浜哄伐瀹屾垚); |
| | | item.Details = null; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (item.Details != null) |
| | | _cabinOrderDetailServices.Repository.DeleteAndMoveIntoHty(item.Details, OperateTypeEnum.浜哄伐瀹屾垚); |
| | | item.Modifier = App.User.UserName; |
| | | item.ModifyDate = DateTime.Now; |
| | | item.Details = null; |
| | | } |
| | | |
| | | } |
| | | BaseDal.DeleteAndMoveIntoHty(cabinOrders, OperateTypeEnum.浜哄伐瀹屾垚); |
| | | |
| | | if (cabinOrder.Order_type == InOrderTypeEnum.Allocat.ObjToInt().ToString()) |
| | | _unitOfWorkManage.CommitTran(); |
| | | else |
| | | { |
| | | var url = "http://121.37.118.63:80/GYZ2/95fck/outOrderOk"; |
| | | var requestDate = new |
| | | { |
| | |
| | | if (response == null) throw new Exception("涓婃姤ERP鍏ュ簱鍗曞畬鎴愬け璐ワ紒"); |
| | | if (response.resultCode != "0") throw new Exception(response.resultMsg); |
| | | _unitOfWorkManage.CommitTran(); |
| | | } |
| | | content.OK(); |
| | | } |
| | | catch (Exception ex) |