|
|
@@ -67,7 +67,7 @@ public class PublicController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
|
private IndustryCategoryService industryCategoryService;
|
|
|
-
|
|
|
+
|
|
|
@Autowired
|
|
|
private DistrictGlossoryService districtGlossoryService;
|
|
|
|
|
|
@@ -363,10 +363,10 @@ public class PublicController extends BaseController {
|
|
|
}
|
|
|
return new Result().data(industryCategoryService.list(pid));
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
@RequestMapping(value = "/findDistrict", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
- public Result findDistrictGlossory(String id) {
|
|
|
+ public Result findDistrictGlossory(String id, String noCache) {
|
|
|
Integer pid = 0;
|
|
|
if (StringUtils.isNumeric(id)) {
|
|
|
try {
|
|
|
@@ -375,6 +375,9 @@ public class PublicController extends BaseController {
|
|
|
pid = 0;
|
|
|
}
|
|
|
}
|
|
|
+ if (StringUtils.isNotBlank(noCache)) {
|
|
|
+ districtGlossoryService.clear(pid);
|
|
|
+ }
|
|
|
return new Result().data(districtGlossoryService.list(pid));
|
|
|
}
|
|
|
|