| | |
| | | //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.IAccountChangeDetailService; |
| | | //import com.supersavedriving.driver.modular.system.service.IOrderService; |
| | | //import com.supersavedriving.driver.modular.system.service.IWeatherCityService; |
| | | //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; |
| | |
| | | // @Autowired |
| | | // private IOrderService orderService; |
| | | // |
| | | // @Autowired |
| | | // private IDriverService driverService; |
| | | // |
| | | // @Autowired |
| | | // private IDriverBankService driverBankService; |
| | | // |
| | | // |
| | | // @Test |
| | | // public void test() throws Exception { |
| | | // ResultUtil resultUtil = orderService.rejectionOrder(1, 1L); |
| | | //// 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); |
| | | // } |
| | | //} |