zj
2025-01-06 0e7b38c2b3af72ea2a7f8a2fcbaad4d78e2c1977
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.gear.swx.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gear.swx.mapper.SwxUserMapper;
import com.gear.swx.domain.SwxUser;
import com.gear.swx.service.ISwxUserService;
 
import java.math.BigDecimal;
 
/**
 * 用户管理Service业务层处理
 *
 * @author czx
 * @date 2023-11-18
 */
@Service
public class SwxUserServiceImpl extends ServiceImpl<SwxUserMapper, SwxUser> implements ISwxUserService {
 
    private static final Logger log = LoggerFactory.getLogger(SwxUserServiceImpl.class);
 
    @Autowired
    private SwxUserMapper swxUserMapper;
 
    @Override
    public boolean updateMoney(String id, BigDecimal amount,BigDecimal profit) {
        return swxUserMapper.updateMoney(id,amount,profit);
    }
 
}