|
@@ -89,7 +89,8 @@ public class BtpSchoolPvController extends BaseController {
|
|
|
public String add(ModelMap mmap) {
|
|
|
mmap.put("policestations", btpPolicestationVillageService.getPolicestationVillagesByParentId(0L));
|
|
|
mmap.put("villages", Arrays.asList(new BtpPolicestationVillage()));
|
|
|
- mmap.put("schools", btpSchoolService.selectBtpSchoolList(new BtpSchool()));
|
|
|
+ mmap.put("schools", btpSchoolService.selectBtpSchoolList(new BtpSchool("1")));
|
|
|
+ mmap.put("schoolm", btpSchoolService.selectBtpSchoolList(new BtpSchool("2")));
|
|
|
return prefix + "/add";
|
|
|
}
|
|
|
|
|
@@ -116,7 +117,8 @@ public class BtpSchoolPvController extends BaseController {
|
|
|
mmap.put("btpSchoolPv", btpSchoolPv);
|
|
|
mmap.put("policestations", btpPolicestationVillageService.getPolicestationVillagesByParentId(0L));
|
|
|
mmap.put("villages", btpPolicestationVillageService.getPolicestationVillagesByParentId(btpSchoolPv.getpId()));
|
|
|
- mmap.put("schools", btpSchoolService.selectBtpSchoolList(new BtpSchool()));
|
|
|
+ mmap.put("schools", btpSchoolService.selectBtpSchoolList(new BtpSchool("1")));
|
|
|
+ mmap.put("schoolm", btpSchoolService.selectBtpSchoolList(new BtpSchool("2")));
|
|
|
return prefix + "/edit";
|
|
|
}
|
|
|
|