调解系统tkmybatis逆向生成代码

This commit is contained in:
18792927508
2024-01-08 10:19:01 +08:00
parent 9e3830ae2f
commit 6610927255
58 changed files with 2447 additions and 493 deletions
@@ -1,25 +0,0 @@
package com.ruoyi.system.service;
import com.ruoyi.system.domain.entity.baseinfo.Country;
import com.ruoyi.system.mapper.baseinfo.CountryDAO;
import com.ruoyi.system.mapper.baseinfo.CountryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class TestMapperService {
@Autowired
CountryMapper countryMapper;
@Autowired
CountryDAO countryDAO;
public Object queryCountry() {
List<Country> countries = countryMapper.selectAll();
return countries;
}
public Object queryCountryById(Integer countryId) {
List<Country> countries = countryDAO.selectCountryInfoById(countryId);
return countries;
}
}