修改教师不显示的问题

beetlsql3-dev
yz 10 months ago
parent c02afe38fa
commit a388bf69d3

@ -48,12 +48,8 @@ public class CoreBaseAnnotationParser {
* @param list
*/
public void queryListAfter(List list) {
if(true){
}else {
if (ObjectUtil.isNotEmpty(list)) {
list.parallelStream().forEach(this::queryEntityAfter);
}
if (ObjectUtil.isNotEmpty(list)) {
list.parallelStream().forEach(this::queryEntityAfter);
}
// if(true){
//

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

Loading…
Cancel
Save