@Override
 public void createLogisticsPrintInfo(LogisticsPrintInfo logisticsPrintInfo) {
   if (queryLogisticsPrintInfoByNameAndCustomerId(
           logisticsPrintInfo.getName(), logisticsPrintInfo.getCustomerId())
       != null) {
     throw new RuntimeException("添加过这个物流公司, 不需要重复添加");
   }
   logisticsPrintInfoRepository.createLogisticsPrintInfo(logisticsPrintInfo);
 }
 @Override
 public void deleteLogisticsPrintInfoById(int logisticsPrintInfoId) {
   logisticsPrintInfoRepository.deleteLogisticsPrintInfoById(logisticsPrintInfoId);
 }
 @Override
 public void updateLogisticsPrintInfo(LogisticsPrintInfo logisticsPrintInfo) {
   logisticsPrintInfoRepository.updateLogisticsPrintInfo(logisticsPrintInfo);
 }
 @Override
 public LogisticsPrintInfo queryLogisticsPrintInfoById(int id) {
   return logisticsPrintInfoRepository.queryLogisticsPrintInfoById(id);
 }
 @Override
 public LogisticsPrintInfo queryLogisticsPrintInfoByNameAndCustomerId(
     DeliveryInfo.DeliveryType name, int customerId) {
   return logisticsPrintInfoRepository.queryLogisticsPrintInfoByNameAndCustomerId(
       name, customerId);
 }
 @Override
 public List<LogisticsPrintInfo> queryAllLogisticsPrintInfoByCustomerId(int customerId) {
   return logisticsPrintInfoRepository.queryAllLogisticsPrintInfoByCustomerId(customerId);
 }