package com.supersavedriving.user.modular.system.service.impl;
|
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
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 org.springframework.stereotype.Service;
|
|
import java.util.Date;
|
|
/**
|
* 账户变动
|
* @author zhibing.pu
|
* @date 2023/3/4 11:34
|
*/
|
@Service
|
public class AccountChangeDetailServiceImpl extends ServiceImpl<AccountChangeDetailMapper, AccountChangeDetail> implements IAccountChangeDetailService {
|
|
|
/**
|
* 保存数据
|
* @param accountChangeDetail
|
* @throws Exception
|
*/
|
@Override
|
public void saveData(AccountChangeDetail accountChangeDetail) throws Exception {
|
accountChangeDetail.setCreateTime(new Date());
|
this.baseMapper.insert(accountChangeDetail);
|
}
|
}
|