| | |
| | | return driverYouTuiListWarppers; |
| | | } |
| | | |
| | | /** |
| | | * 获取司机兑换优推记录 |
| | | * @param driverId |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public List<DriverYouTuiWarpper> queryDriverYouTuiList1(Integer driverId) throws Exception { |
| | | return this.baseMapper.queryYouTuiDriverList(driverId, null); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取司机优推数据 |
| | |
| | | } |
| | | |
| | | AccountChangeDetail accountChangeDetail = new AccountChangeDetail(); |
| | | accountChangeDetail.setCode(System.currentTimeMillis() + UUIDUtil.getNumberRandom(3)); |
| | | accountChangeDetail.setCode(System.currentTimeMillis() + UUIDUtil.getNumberRandom(5)); |
| | | accountChangeDetail.setUserType(2); |
| | | accountChangeDetail.setUserId(driverId); |
| | | accountChangeDetail.setType(2); |
| | |
| | | this.insert(youTuiDriver); |
| | | return ResultUtil.success(); |
| | | } |
| | | |
| | | @Override |
| | | public void editState() throws Exception { |
| | | this.baseMapper.editState(); |
| | | } |
| | | } |