xiaoyong931011
2021-06-30 e708a57acad17877869fd3b418f7f9ea529841da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.xzx.gc.user.service;
 
 
import com.xzx.gc.entity.AccountScoreLog;
import com.xzx.gc.user.mapper.AccountScoreLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
 
@Service
@Transactional
public class AccountScoreLogService {
 
    @Autowired
    private AccountScoreLogMapper accountScoreLogMapper;
 
 
    public AccountScoreLog findByPayIdAndUserId(String payId,String userId){
        AccountScoreLog accountScoreLog=new AccountScoreLog();
        accountScoreLog.setPayId(payId);
        accountScoreLog.setCreateUserId(userId);
        return accountScoreLogMapper.selectOne(accountScoreLog);
    }
}