From 7477b1e8cbe8d656452c5a79cc1b46b2285ff4ed Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期四, 16 十月 2025 18:22:22 +0800 Subject: [PATCH] 添加日志记录 --- UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java | 43 ++++++++++++++++++++++--------------------- 1 files changed, 22 insertions(+), 21 deletions(-) diff --git a/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java b/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java index 2bf3187..1c98e23 100644 --- a/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java +++ b/UserZYTravel/guns-admin/src/test/java/com/stylefeng/guns/GunsApplicationTest.java @@ -1,37 +1,38 @@ //package com.stylefeng.guns; // -//import com.stylefeng.guns.modular.specialTrain.server.IOrderPrivateCarService; -//import com.stylefeng.guns.modular.system.util.PayMoneyUtil; -//import com.stylefeng.guns.modular.system.util.ResultUtil; +//import com.baomidou.mybatisplus.mapper.EntityWrapper; +//import com.stylefeng.guns.modular.system.model.AssignOrder; +//import com.stylefeng.guns.modular.system.model.Company; +//import com.stylefeng.guns.modular.system.service.IAssignOrderService; +//import com.stylefeng.guns.modular.system.service.ICompanyCityService; +//import com.stylefeng.guns.modular.system.util.RedisUtil; //import org.junit.Test; //import org.junit.runner.RunWith; //import org.springframework.beans.factory.annotation.Autowired; //import org.springframework.boot.test.context.SpringBootTest; //import org.springframework.test.context.junit4.SpringRunner; // -//import java.util.Map; +//import javax.annotation.Resource; // -///** -// * @author zhibing.pu -// * @Date 2024/9/24 9:24 -// */ +// //@RunWith(SpringRunner.class) //@SpringBootTest //public class GunsApplicationTest { // -// @Autowired -// private PayMoneyUtil payMoneyUtil; +// @Autowired +// private ICompanyCityService companyCityService; // -// @Autowired -// private IOrderPrivateCarService orderPrivateCarService; +// @Autowired +// private IAssignOrderService assignOrderService; // -// -// @Test -// public void test(){ -// try { -// orderPrivateCarService.payPrivateCarOrder(1, 37630, null, 1); -// } catch (Exception e) { -// throw new RuntimeException(e); -// } -// } +// @Test +// public void test(){ +// try { +// Company query = companyCityService.query("104.2350778537", "28.1113837348"); +// AssignOrder assignOrder = assignOrderService.selectOne(new EntityWrapper<AssignOrder>().eq("companyId", query.getId()).eq("type", 1)); +// System.err.println(assignOrder); +// }catch (Exception e){ +// e.printStackTrace(); +// } +// } //} -- Gitblit v1.7.1