nnnn
This commit is contained in:
@@ -13,6 +13,8 @@ CREATE TABLE `cai_account_delete` (
|
||||
`id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '子账户ID',
|
||||
`user_id` bigint unsigned NOT NULL COMMENT '用户ID',
|
||||
`usercode` varchar(10) NOT NULL COMMENT '用户Code',
|
||||
`mobile` varchar(50) COMMENT '手机',
|
||||
`invite_id` bigint unsigned DEFAULT NULL COMMENT '邀请人',
|
||||
`coin` bigint NOT NULL DEFAULT '0' COMMENT '当前彩币数量',
|
||||
`income_coin` bigint NOT NULL DEFAULT '0' COMMENT '收益的彩币数量',
|
||||
`total_buy_money` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT '充值总额',
|
||||
|
||||
@@ -31,6 +31,8 @@ public class AccountDelete implements Serializable {
|
||||
*/
|
||||
private Long userId;
|
||||
private String usercode;
|
||||
private String mobile;
|
||||
private Long inviteId;
|
||||
/**
|
||||
* 当前彩币数量
|
||||
*/
|
||||
|
||||
@@ -298,6 +298,8 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
||||
AccountDelete accountDelete = BeanConvertUtil.convertTo(account, AccountDelete::new);
|
||||
accountDelete.setId(null);
|
||||
accountDelete.setUsercode(user.getUsercode());
|
||||
accountDelete.setMobile(user.getMobile());
|
||||
accountDelete.setInviteId(user.getInviteId());
|
||||
accountDelete.setCreateTime(LocalDateTime.now());
|
||||
accountDeleteMapper.insert(accountDelete);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user