Exemple #1
0
 /// <summary>
 /// 修改客户
 /// </summary>
 /// <param name="data"></param>
 /// <param name="listTransportPrice"></param>
 /// <param name="listForceFeePrice"></param>
 /// <param name="listStorageFeePrice"></param>
 /// <param name="nOpStaffId">操作员工编码</param>
 /// <param name="strOpStaffName">操作员工姓名</param>
 /// <param name="strErrText">出错信息</param>
 /// <returns>成功返回True,否则返回False</returns>
 public bool UpdateCustomer(Customer data, List<CustomerTransportPrice> listTransportPrice, List<CustomerForceFeePrice> listForceFeePrice, List<CustomerStorageFeePrice> listStorageFeePrice, long nOpStaffId, string strOpStaffName, out string strErrText)
 {
     CustomerRule rule = new CustomerRule();
     return rule.UpdateCustomer(data, listTransportPrice, listForceFeePrice, listStorageFeePrice, nOpStaffId, strOpStaffName, out strErrText);
 }
Exemple #2
0
 /// <summary>
 /// 删除客户
 /// </summary>
 /// <param name="nCustomerId"></param>
 /// <param name="nOpStaffId">操作员工编码</param>
 /// <param name="strOpStaffName">操作员工姓名</param>
 /// <param name="strErrText">出错信息</param>
 /// <returns>成功返回True,否则返回False</returns>
 public bool DeleteCustomer(long nCustomerId, long nOpStaffId, string strOpStaffName, out string strErrText)
 {
     CustomerRule rule = new CustomerRule();
     return rule.DeleteCustomer(nCustomerId, nOpStaffId, strOpStaffName, out strErrText);
 }