mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-30 01:38:43 +08:00 
			
		
		
		
	修复字典数据(system_dict_data)查询操作有问题,会查出不属于本字典类型(dict_type)的数据
This commit is contained in:
		| @@ -38,14 +38,15 @@ public interface DictDataMapper extends BaseMapperX<DictDataDO> { | ||||
|     default PageResult<DictDataDO> selectPage(DictDataPageReqVO reqVO) { | ||||
|         return selectPage(reqVO, new LambdaQueryWrapperX<DictDataDO>() | ||||
|                 .likeIfPresent(DictDataDO::getLabel, reqVO.getLabel()) | ||||
|                 .likeIfPresent(DictDataDO::getDictType, reqVO.getDictType()) | ||||
|                 .eqIfPresent(DictDataDO::getDictType, reqVO.getDictType()) | ||||
|                 .eqIfPresent(DictDataDO::getStatus, reqVO.getStatus()) | ||||
|                 .orderByDesc(Arrays.asList(DictDataDO::getDictType, DictDataDO::getSort))); | ||||
|     } | ||||
|  | ||||
|     default List<DictDataDO> selectList(DictDataExportReqVO reqVO) { | ||||
|         return selectList(new LambdaQueryWrapperX<DictDataDO>().likeIfPresent(DictDataDO::getLabel, reqVO.getLabel()) | ||||
|                 .likeIfPresent(DictDataDO::getDictType, reqVO.getDictType()) | ||||
|         return selectList(new LambdaQueryWrapperX<DictDataDO>() | ||||
|                 .likeIfPresent(DictDataDO::getLabel, reqVO.getLabel()) | ||||
|                 .eqIfPresent(DictDataDO::getDictType, reqVO.getDictType()) | ||||
|                 .eqIfPresent(DictDataDO::getStatus, reqVO.getStatus())); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV