| | |
| | | import com.supersavedriving.user.modular.system.dao.AccountChangeDetailMapper; |
| | | import com.supersavedriving.user.modular.system.model.AccountChangeDetail; |
| | | import com.supersavedriving.user.modular.system.service.IAccountChangeDetailService; |
| | | import com.supersavedriving.user.modular.system.warpper.BalanceDetailsWarpper; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 账户变动 |
| | |
| | | accountChangeDetail.setCreateTime(new Date()); |
| | | this.baseMapper.insert(accountChangeDetail); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取余额明细 |
| | | * @param uid |
| | | * @param time |
| | | * @param pageNum |
| | | * @param pageSize |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public List<BalanceDetailsWarpper> queryBalanceDetails(Integer uid, String time, Integer pageNum, Integer pageSize) throws Exception { |
| | | pageNum = (pageNum - 1) * pageSize; |
| | | return this.baseMapper.queryBalanceDetails(uid, time, pageNum, pageSize); |
| | | } |
| | | } |