修改南京银行对私涉农逻辑
This commit is contained in:
+3
@@ -46,4 +46,7 @@ public interface TownshipService {
|
||||
*/
|
||||
public Township findTownship(String id);
|
||||
|
||||
|
||||
public Township findTownshipByCode(String code);
|
||||
|
||||
}
|
||||
|
||||
+7
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user