From 816b9bf9282e72bd39a40c90a100b9e0dfb06a60 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期三, 20 八月 2025 23:29:09 +0800 Subject: [PATCH] feat(order): 查询我的订单列表增加司机视角 --- UserQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java | 138 +++++++++++++++++++++++----------------------- 1 files changed, 69 insertions(+), 69 deletions(-) diff --git a/UserQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java b/UserQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java index 5a52f13..e683cad 100644 --- a/UserQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java +++ b/UserQYTTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java @@ -1,69 +1,69 @@ -package com.stylefeng.guns; - -import com.alibaba.fastjson.JSON; -import com.stylefeng.guns.modular.specialTrain.model.OrderPrivateCar; -import com.stylefeng.guns.modular.specialTrain.server.IOrderPrivateCarService; -import com.stylefeng.guns.modular.system.model.Company; -import com.stylefeng.guns.modular.system.model.Driver; -import com.stylefeng.guns.modular.system.model.UserInfo; -import com.stylefeng.guns.modular.system.service.ICompanyService; -import com.stylefeng.guns.modular.system.service.IDriverService; -import com.stylefeng.guns.modular.system.service.IUserInfoService; -import com.stylefeng.guns.modular.system.util.EmailUtil; -import com.stylefeng.guns.modular.system.util.qianyuntong.OrderUtil; -import com.stylefeng.guns.modular.system.util.qianyuntong.UserUtil; -import com.stylefeng.guns.modular.system.util.qianyuntong.model.*; -import com.stylefeng.guns.modular.taxi.service.IPaymentRecordService; -import lombok.extern.slf4j.Slf4j; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.springframework.beans.BeanUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; - -import javax.mail.MessagingException; -import java.io.UnsupportedEncodingException; -import java.math.BigDecimal; -import java.util.List; - -/** - * SpringBoot方式启动类 - * - * @author stylefeng - * @Date 2017/5/21 12:06 - */ -@Slf4j -@RunWith(SpringRunner.class) -@SpringBootTest -public class GunsApplicationTest { - - @Autowired - private IOrderPrivateCarService orderPrivateCarService; - - @Autowired - private IUserInfoService userInfoService; - - @Autowired - private IDriverService driverService; - @Autowired - private ICompanyService companyService; - @Autowired - private IPaymentRecordService paymentRecordService; - @Autowired - private EmailUtil emailUtil; - - - - - @Test - public void test(){ - try { - emailUtil.sendEmailWithAttachment("393733352@qq.com", "贵人家园出行-行程单", "请查收您的行程单", null, "贵人家园出行-行程单"); - } catch (MessagingException e) { - throw new RuntimeException(e); - } catch (UnsupportedEncodingException e) { - throw new RuntimeException(e); - } - } -} +//package com.stylefeng.guns; +// +//import com.alibaba.fastjson.JSON; +//import com.stylefeng.guns.modular.specialTrain.model.OrderPrivateCar; +//import com.stylefeng.guns.modular.specialTrain.server.IOrderPrivateCarService; +//import com.stylefeng.guns.modular.system.model.Company; +//import com.stylefeng.guns.modular.system.model.Driver; +//import com.stylefeng.guns.modular.system.model.UserInfo; +//import com.stylefeng.guns.modular.system.service.ICompanyService; +//import com.stylefeng.guns.modular.system.service.IDriverService; +//import com.stylefeng.guns.modular.system.service.IUserInfoService; +//import com.stylefeng.guns.modular.system.util.EmailUtil; +//import com.stylefeng.guns.modular.system.util.qianyuntong.OrderUtil; +//import com.stylefeng.guns.modular.system.util.qianyuntong.UserUtil; +//import com.stylefeng.guns.modular.system.util.qianyuntong.model.*; +//import com.stylefeng.guns.modular.taxi.service.IPaymentRecordService; +//import lombok.extern.slf4j.Slf4j; +//import org.junit.Test; +//import org.junit.runner.RunWith; +//import org.springframework.beans.BeanUtils; +//import org.springframework.beans.factory.annotation.Autowired; +//import org.springframework.boot.test.context.SpringBootTest; +//import org.springframework.test.context.junit4.SpringRunner; +// +//import javax.mail.MessagingException; +//import java.io.UnsupportedEncodingException; +//import java.math.BigDecimal; +//import java.util.List; +// +///** +// * SpringBoot方式启动类 +// * +// * @author stylefeng +// * @Date 2017/5/21 12:06 +// */ +//@Slf4j +//@RunWith(SpringRunner.class) +//@SpringBootTest +//public class GunsApplicationTest { +// +// @Autowired +// private IOrderPrivateCarService orderPrivateCarService; +// +// @Autowired +// private IUserInfoService userInfoService; +// +// @Autowired +// private IDriverService driverService; +// @Autowired +// private ICompanyService companyService; +// @Autowired +// private IPaymentRecordService paymentRecordService; +// @Autowired +// private EmailUtil emailUtil; +// +// +// +// +// @Test +// public void test(){ +// try { +// emailUtil.sendEmailWithAttachment("393733352@qq.com", "贵人家园出行-行程单", "请查收您的行程单", null, "贵人家园出行-行程单"); +// } catch (MessagingException e) { +// throw new RuntimeException(e); +// } catch (UnsupportedEncodingException e) { +// throw new RuntimeException(e); +// } +// } +//} -- Gitblit v1.7.1