xuhy
2023-06-14 831e3312572cf29dd91cbd882ef3dce809ac852d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//package com.supersavedriving.driver;
//
//import com.alibaba.fastjson.JSON;
//import com.baomidou.mybatisplus.mapper.EntityWrapper;
//import com.supersavedriving.driver.modular.system.model.DriverBank;
//import com.supersavedriving.driver.modular.system.model.Order;
//import com.supersavedriving.driver.modular.system.model.WeatherCity;
//import com.supersavedriving.driver.modular.system.service.*;
//import com.supersavedriving.driver.modular.system.util.ResultUtil;
//import com.supersavedriving.driver.modular.system.util.juhe.WeatherCityInfo;
//import com.supersavedriving.driver.modular.system.util.juhe.WeatherUtil;
//import com.supersavedriving.driver.modular.system.warpper.PerformanceSummaryWarpper;
//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;
//
//
//@RunWith(SpringRunner.class)
//@SpringBootTest
//public class GunsApplicationTest {
//
//    @Autowired
//    private IOrderService orderService;
//
//    @Autowired
//    private IDriverService driverService;
//
//    @Autowired
//    private IDriverBankService driverBankService;
//
//
//    @Test
//    public void test() throws Exception {
////        ResultUtil resultUtil = driverService.microenterprise(1, "蒲芝兵", "510823198911154858"
////                , "15828353127", "https://10pz685243.zicp.fun/supersavedriving/base/driver/microenterpriseCallback");
////        System.err.println(JSON.toJSONString(resultUtil));
//
//
////        DriverBank driverId = driverBankService.selectOne(new EntityWrapper<DriverBank>().eq("driverId", 1));
////        System.err.println(JSON.toJSONString(driverId));
//
//
////        ResultUtil resultUtil = driverBankService.addDriverBank(1, "蒲芝兵", "15828353127"
////                , "510823198911154858", "6212264402094114687");
////        System.err.println(JSON.toJSONString(resultUtil));
//
//
////        ResultUtil resultUtil1 = driverBankService.delDriverBank(1, 1);
////        System.err.println(JSON.toJSONString(resultUtil1));
//
////        ResultUtil resultUtil = driverService.balanceRecharge(1, 1D);
////        System.err.println(JSON.toJSONString(resultUtil));
//
//        Order order = orderService.selectById(2019);
//        orderService.saveRevenue(order);
//    }
//}