修改南京银行对私涉农逻辑

This commit is contained in:
2025-08-04 15:08:50 +08:00
parent d58e827f56
commit abb4891811
4 changed files with 59 additions and 1 deletions
@@ -46,4 +46,7 @@ public interface TownshipService {
*/
public Township findTownship(String id);
public Township findTownshipByCode(String code);
}
@@ -87,6 +87,13 @@ public class TownshipServiceImpl implements TownshipService {
return townshipDao.findById(id);
}
@Override
public Township findTownshipByCode(String streetCode) {
List<QueryParam> params = new ArrayList<QueryParam>();
params.add(new QueryParam("tjjStreetCode", streetCode));
return townshipDao.findFirstByParams( params);
}
public void setTownshipDao(TownshipDao townshipDao) {
this.townshipDao = townshipDao;
}