mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-29 17:28:42 +08:00 
			
		
		
		
	优化:modal 默认查询的都是未禁用的modal
This commit is contained in:
		| @@ -36,6 +36,8 @@ public class AiChatModalServiceImpl implements AiChatModalService { | ||||
|     @Override | ||||
|     public PageResult<AiChatModalListRes> list(AiChatModalListReq req) { | ||||
|         LambdaQueryWrapperX<AiChatModalDO> queryWrapperX = new LambdaQueryWrapperX<>(); | ||||
|         // 查询的都是未禁用的模型 | ||||
|         queryWrapperX.eq(AiChatModalDO::getDisable, AiChatModalDisableEnum.NO.getValue()); | ||||
|         // search | ||||
|         if (!StrUtil.isBlank(req.getSearch())) { | ||||
|             queryWrapperX.like(AiChatModalDO::getModelName, req.getSearch().trim()); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 cherishsince
					cherishsince