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);
|
}
|
}
|