mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-30 09:48:43 +08:00 
			
		
		
		
	修复部门更新后本地缓存不更新问题
https://gitee.com/zhijiantianya/ruoyi-vue-pro/issues/I4T22A
This commit is contained in:
		| @@ -112,7 +112,7 @@ public class DeptServiceImpl implements DeptService { | |||||||
|         if (maxUpdateTime == null) { // 如果更新时间为空,说明 DB 一定有新数据 |         if (maxUpdateTime == null) { // 如果更新时间为空,说明 DB 一定有新数据 | ||||||
|             log.info("[loadMenuIfUpdate][首次加载全量部门]"); |             log.info("[loadMenuIfUpdate][首次加载全量部门]"); | ||||||
|         } else { // 判断数据库中是否有更新的部门 |         } else { // 判断数据库中是否有更新的部门 | ||||||
|             if (deptMapper.selectExistsByUpdateTimeAfter(maxUpdateTime) != null) { |             if (deptMapper.selectExistsByUpdateTimeAfter(maxUpdateTime) == null) { | ||||||
|                 return null; |                 return null; | ||||||
|             } |             } | ||||||
|             log.info("[loadMenuIfUpdate][增量加载全量部门]"); |             log.info("[loadMenuIfUpdate][增量加载全量部门]"); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 chenyongsheng712
					chenyongsheng712