Browse Source

feat:文件名称修改

master
郑贵龙 1 year ago
parent
commit
177e6b5e3f
11 changed files with 25 additions and 32 deletions
  1. +1
    -1
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/entity/ChatFileEntity.java
  2. +1
    -1
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/mapper/ChatFileMapper.xml
  3. +2
    -5
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/repository/ChatFileRepository.java
  4. +2
    -2
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/service/ChatFileService.java
  5. +4
    -4
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/service/impl/ChatFileServiceImpl.java
  6. +2
    -2
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/provider/ChatFileEAIService.java
  7. +3
    -3
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/provider/impl/ChatFileEAIServiceImpl.java
  8. +3
    -3
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileCreateEAIService.java
  9. +3
    -7
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileGetEAIService.java
  10. +3
    -3
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileUpdateEAIService.java
  11. +1
    -1
      demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileUtil.java

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/infra/entity/ChatFileEntity.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/entity/ChatFileEntity.java View File

@ -1,4 +1,4 @@
package com.digiwin.athena.app.chatFile.infra.entity;
package com.digiwin.athena.app.kcfr.infra.entity;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.digiwin.athena.opt.persistence.domain.BaseMgrEntity; import com.digiwin.athena.opt.persistence.domain.BaseMgrEntity;

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/infra/mapper/ChatFileMapper.xml → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/mapper/ChatFileMapper.xml View File

@ -5,7 +5,7 @@
<mapper namespace="com.digiwin.athena.app.chatFile.infra.repository.ChatFileRepository"> <mapper namespace="com.digiwin.athena.app.chatFile.infra.repository.ChatFileRepository">
<update id="updateBatch" parameterType="com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity">
<update id="updateBatch" parameterType="com.digiwin.athena.app.kcfr.infra.entity.ChatFileEntity">
UPDATE cim_chat_file UPDATE cim_chat_file
<set> <set>
`question` = #{question}, `question` = #{question},

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/infra/repository/ChatFileRepository.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/repository/ChatFileRepository.java View File

@ -1,10 +1,7 @@
package com.digiwin.athena.app.chatFile.infra.repository;
package com.digiwin.athena.app.kcfr.infra.repository;
import com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.kcfr.infra.entity.ChatFileEntity;
import com.digiwin.athena.opt.persistence.repository.BaseRepository; import com.digiwin.athena.opt.persistence.repository.BaseRepository;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/** /**
* @auther: zhenggl * @auther: zhenggl

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/infra/service/ChatFileService.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/service/ChatFileService.java View File

@ -1,6 +1,6 @@
package com.digiwin.athena.app.chatFile.infra.service;
package com.digiwin.athena.app.kcfr.infra.service;
import com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.kcfr.infra.entity.ChatFileEntity;
import com.digiwin.athena.opt.persistence.service.IBaseService; import com.digiwin.athena.opt.persistence.service.IBaseService;
/** /**

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/infra/service/impl/ChatFileServiceImpl.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/infra/service/impl/ChatFileServiceImpl.java View File

@ -1,8 +1,8 @@
package com.digiwin.athena.app.chatFile.infra.service.impl;
package com.digiwin.athena.app.kcfr.infra.service.impl;
import com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.chatFile.infra.repository.ChatFileRepository;
import com.digiwin.athena.app.chatFile.infra.service.ChatFileService;
import com.digiwin.athena.app.kcfr.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.kcfr.infra.repository.ChatFileRepository;
import com.digiwin.athena.app.kcfr.infra.service.ChatFileService;
import com.digiwin.athena.opt.persistence.service.impl.AbsBaseService; import com.digiwin.athena.opt.persistence.service.impl.AbsBaseService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/provider/ChatFileEAIService.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/provider/ChatFileEAIService.java View File

@ -1,9 +1,9 @@
package com.digiwin.athena.app.chatFile.provider;
package com.digiwin.athena.app.kcfr.provider;
import com.digiwin.app.service.DWEAIResult; import com.digiwin.app.service.DWEAIResult;
import com.digiwin.app.service.DWService; import com.digiwin.app.service.DWService;
import com.digiwin.app.service.eai.EAIService; import com.digiwin.app.service.eai.EAIService;
import com.digiwin.athena.app.chatFile.service.chatFile.ChatFileUtil;
import com.digiwin.athena.app.kcfr.service.ChatFileUtil;
import java.util.Map; import java.util.Map;

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/provider/impl/ChatFileEAIServiceImpl.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/provider/impl/ChatFileEAIServiceImpl.java View File

@ -1,8 +1,8 @@
package com.digiwin.athena.app.chatFile.provider.impl;
package com.digiwin.athena.app.kcfr.provider.impl;
import com.digiwin.app.service.DWEAIResult; import com.digiwin.app.service.DWEAIResult;
import com.digiwin.athena.app.chatFile.provider.ChatFileEAIService;
import com.digiwin.athena.app.chatFile.service.chatFile.ChatFileUtil;
import com.digiwin.athena.app.kcfr.provider.ChatFileEAIService;
import com.digiwin.athena.app.kcfr.service.ChatFileUtil;
import com.digiwin.athena.opt.common.eai.service.EAIServiceContext; import com.digiwin.athena.opt.common.eai.service.EAIServiceContext;
import javax.annotation.Resource; import javax.annotation.Resource;

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileCreateEAIService.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileCreateEAIService.java View File

@ -1,10 +1,10 @@
package com.digiwin.athena.app.chatFile.service.chatFile;
package com.digiwin.athena.app.kcfr.service;
import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.TypeReference;
import com.digiwin.app.container.exceptions.DWBusinessException; import com.digiwin.app.container.exceptions.DWBusinessException;
import com.digiwin.app.service.DWEAIResult; import com.digiwin.app.service.DWEAIResult;
import com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.chatFile.infra.service.ChatFileService;
import com.digiwin.athena.app.kcfr.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.kcfr.infra.service.ChatFileService;
import com.digiwin.athena.opt.common.eai.EAIRequest; import com.digiwin.athena.opt.common.eai.EAIRequest;
import com.digiwin.athena.opt.common.eai.service.AbsEAIService; import com.digiwin.athena.opt.common.eai.service.AbsEAIService;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileGetEAIService.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileGetEAIService.java View File

@ -1,23 +1,19 @@
package com.digiwin.athena.app.chatFile.service.chatFile;
package com.digiwin.athena.app.kcfr.service;
import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.TypeReference;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.digiwin.app.container.exceptions.DWBusinessException; import com.digiwin.app.container.exceptions.DWBusinessException;
import com.digiwin.app.service.DWEAIResult; import com.digiwin.app.service.DWEAIResult;
import com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.chatFile.infra.service.ChatFileService;
import com.digiwin.athena.app.kcfr.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.kcfr.infra.service.ChatFileService;
import com.digiwin.athena.opt.common.eai.EAIRequest; import com.digiwin.athena.opt.common.eai.EAIRequest;
import com.digiwin.athena.opt.common.eai.service.AbsEAIService; import com.digiwin.athena.opt.common.eai.service.AbsEAIService;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.apache.commons.collections.CollectionUtils;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Objects; import java.util.Objects;
import java.util.stream.Collectors;
/** /**
* @auther: zhenggl * @auther: zhenggl

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUpdateEAIService.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileUpdateEAIService.java View File

@ -1,9 +1,9 @@
package com.digiwin.athena.app.chatFile.service.chatFile;
package com.digiwin.athena.app.kcfr.service;
import com.alibaba.fastjson.TypeReference; import com.alibaba.fastjson.TypeReference;
import com.digiwin.app.service.DWEAIResult; import com.digiwin.app.service.DWEAIResult;
import com.digiwin.athena.app.chatFile.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.chatFile.infra.repository.ChatFileRepository;
import com.digiwin.athena.app.kcfr.infra.entity.ChatFileEntity;
import com.digiwin.athena.app.kcfr.infra.repository.ChatFileRepository;
import com.digiwin.athena.opt.common.eai.EAIRequest; import com.digiwin.athena.opt.common.eai.EAIRequest;
import com.digiwin.athena.opt.common.eai.service.AbsEAIService; import com.digiwin.athena.opt.common.eai.service.AbsEAIService;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;

demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/chatFile/service/chatFile/ChatFileUtil.java → demo-athenaopt_backend/develop/src/main/java/com/digiwin/athena/app/kcfr/service/ChatFileUtil.java View File

@ -1,4 +1,4 @@
package com.digiwin.athena.app.chatFile.service.chatFile;
package com.digiwin.athena.app.kcfr.service;
/** /**
* @auther: zhenggl * @auther: zhenggl

Loading…
Cancel
Save