|
|
@ -64,7 +64,8 @@ public class CoreDictService extends CoreBaseService<CoreDict> {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
// @Cacheable(value = CorePlatformService.DICT_CACHE_TYPE, key="#type")
|
|
|
|
// @Cacheable(value = CorePlatformService.DICT_CACHE_TYPE, key="#type")
|
|
|
|
public List<CoreDict> findAllByTable(String type) {
|
|
|
|
public List<CoreDict> findAllByTable(String type) {
|
|
|
|
if(!type.contains("university")){
|
|
|
|
if(type.contains("university") || type.contains("teacher")){
|
|
|
|
|
|
|
|
}else {
|
|
|
|
return new ArrayList<>();
|
|
|
|
return new ArrayList<>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type = renderStringTemplate(type, null);
|
|
|
|
type = renderStringTemplate(type, null);
|
|
|
|