puzhibing
2023-05-29 9154555e3bee0767b4aff7a8eaa36456b7b5dea7
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
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.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));
    }
}