<commit_before>package com.vip.saturn.job.console.mybatis.service.impl;

import com.vip.saturn.job.console.mybatis.entity.SystemConfig;
import com.vip.saturn.job.console.mybatis.repository.SystemConfigRepository;
import com.vip.saturn.job.console.mybatis.service.SystemConfig4SqlService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author xiaopeng.he
 */
@Service
public class SystemConfig4SqlServiceImpl implements SystemConfig4SqlService {

	@Autowired
	private SystemConfigRepository systemConfigRepository;

	@Transactional
	@Override
	public List<SystemConfig> selectByPropertiesAndLastly(List<String> properties) {
		return systemConfigRepository.selectByPropertiesAndLastly(properties);
	}

	@Override
	public List<SystemConfig> selectByLastly() {
		return systemConfigRepository.selectByLastly();
	}

	@Transactional
	@Override
	public List<SystemConfig> selectByPropertyPrefix(String prefix) {
		return systemConfigRepository.selectByPropertyPrefix(prefix);
	}

	@Transactional
	@Override<commit_msg>#408 add @Transactional<commit_after>package com.vip.saturn.job.console.mybatis.service.impl;

import com.vip.saturn.job.console.mybatis.entity.SystemConfig;
import com.vip.saturn.job.console.mybatis.repository.SystemConfigRepository;
import com.vip.saturn.job.console.mybatis.service.SystemConfig4SqlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author xiaopeng.he
 */
@Service
public class SystemConfig4SqlServiceImpl implements SystemConfig4SqlService {

	@Autowired
	private SystemConfigRepository systemConfigRepository;

	@Transactional(readOnly = true)
	@Override
	public List<SystemConfig> selectByPropertiesAndLastly(List<String> properties) {
		return systemConfigRepository.selectByPropertiesAndLastly(properties);
	}

	@Transactional(readOnly = true)
	@Override
	public List<SystemConfig> selectByLastly() {
		return systemConfigRepository.selectByLastly();
	}

	@Transactional(readOnly = true)
	@Override
	public List<SystemConfig> selectByPropertyPrefix(String prefix) {
		return systemConfigRepository.selectByPropertyPrefix(prefix);
	}

	@Transactional
	@Override
{'fraction_non_alphanumeric': 0.09083402146985962, 'fraction_numerical': 0.0037159372419488025, 'mean_word_length': 7.355172413793103, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6967104', 'n_tokens_mistral': 714, 'n_tokens_neox': 695, 'n_words': 109}