public JsonResult MergeDispatchBills(string ids) { //保存数据 string strMessage = string.Empty; bool bShipmentBillMerged = false; bool bDeliverBillMerged = false; DispatchSystem dispatch = new DispatchSystem(); long nNewDispatchBillId = dispatch.MergeDispatchBills(ids, LoginAccountId, LoginStaffName, out bShipmentBillMerged, out bDeliverBillMerged, out strMessage); var ret = new { DispatchBillId = nNewDispatchBillId, ShipmentBillMerged = bShipmentBillMerged, DeliverBillMerged = bDeliverBillMerged, Message = strMessage }; return Json(ret); }