修改教师不显示的问题

beetlsql3-dev
yz 10 months ago
parent c02afe38fa
commit a388bf69d3

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

@ -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);

Loading…
Cancel
Save