|
@@ -156,7 +156,7 @@ public class BtpSchoolPvController extends BaseController {
|
|
|
@PostMapping("/getVillagesBySTypeAndPId")
|
|
|
@ResponseBody
|
|
|
public List<BtpSchoolPv> getVillagesBySTypeAndPId(BtpSchoolPv btpSchoolPv) {
|
|
|
- if (StringUtils.isNull(btpSchoolPv.getvId()) || StringUtils.isBlank(btpSchoolPv.getSchoolType())) {
|
|
|
+ if (StringUtils.isNull(btpSchoolPv.getpId()) || StringUtils.isBlank(btpSchoolPv.getSchoolType())) {
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
return btpSchoolPvService.getVillagesBySTypeAndPId(btpSchoolPv);
|