mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 17:40:05 +08:00
【优化】考虑到前端传入的json配置不确定,先不转化config
This commit is contained in:
parent
0c0ac0b02a
commit
118158424b
@ -4,12 +4,14 @@ import cn.iocoder.yudao.module.ai.dal.dataobject.AiChatModalDO;
|
|||||||
import cn.iocoder.yudao.module.ai.vo.AiChatModalAddReq;
|
import cn.iocoder.yudao.module.ai.vo.AiChatModalAddReq;
|
||||||
import cn.iocoder.yudao.module.ai.vo.AiChatModalListRes;
|
import cn.iocoder.yudao.module.ai.vo.AiChatModalListRes;
|
||||||
import org.mapstruct.Mapper;
|
import org.mapstruct.Mapper;
|
||||||
|
import org.mapstruct.Mapping;
|
||||||
|
import org.mapstruct.Mappings;
|
||||||
import org.mapstruct.factory.Mappers;
|
import org.mapstruct.factory.Mappers;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 聊天 对话 convert
|
* 聊天 modal
|
||||||
*
|
*
|
||||||
* @author fansili
|
* @author fansili
|
||||||
* @time 2024/4/18 16:39
|
* @time 2024/4/18 16:39
|
||||||
@ -34,5 +36,8 @@ public interface AiChatModalConvert {
|
|||||||
* @param req
|
* @param req
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@Mappings({
|
||||||
|
@Mapping(target = "config", ignore = true)
|
||||||
|
})
|
||||||
AiChatModalDO convertAiChatModalDO(AiChatModalAddReq req);
|
AiChatModalDO convertAiChatModalDO(AiChatModalAddReq req);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user