/// <summary> /// 新增承运单位档案 /// </summary> /// <param name="data"></param> /// <param name="listCar"></param> /// <param name="listDriver"></param> /// <param name="listExpression"></param> /// <param name="listTransportPrice"></param> /// <param name="nOpStaffId"></param> /// <param name="strOpStaffName"></param> /// <param name="strErrText"></param> /// <returns></returns> public long InsertCarrier(Carrier data, List<CarrierCar> listCar, List<CarrierDriver> listDriver, List<CarrierSettlementExpression> listExpression, List<CarrierTransportPrice> listTransportPrice, long nOpStaffId, string strOpStaffName, out string strErrText) { CarrierRule rule = new CarrierRule(); return rule.InsertCarrier(data, listCar, listDriver, listExpression, listTransportPrice, nOpStaffId, strOpStaffName, out strErrText); }
/// <summary> /// 删除承运单位档案 /// </summary> /// <param name="nId"></param> /// <param name="nOpStaffId"></param> /// <param name="strOpStaffName"></param> /// <param name="strErrText"></param> /// <returns></returns> public bool DeleteCarrier(long nId, long nOpStaffId, string strOpStaffName, out string strErrText) { CarrierRule rule = new CarrierRule(); return rule.DeleteCarrier(nId, nOpStaffId, strOpStaffName, out strErrText); }