|
|
|
@ -23,10 +23,10 @@ import com.supervision.common.utils.ExcelReader;
|
|
|
|
|
import com.supervision.common.utils.IPages;
|
|
|
|
|
import com.supervision.common.utils.StringUtils;
|
|
|
|
|
import com.supervision.config.BusinessException;
|
|
|
|
|
import com.supervision.constant.DataStatus;
|
|
|
|
|
import com.supervision.police.domain.CasePerson;
|
|
|
|
|
import com.supervision.police.domain.ComDictionary;
|
|
|
|
|
import com.supervision.police.dto.*;
|
|
|
|
|
import com.supervision.police.mapper.CasePersonMapper;
|
|
|
|
|
import com.supervision.police.mapper.ModelCaseMapper;
|
|
|
|
|
import com.supervision.police.domain.ModelCase;
|
|
|
|
|
import com.supervision.police.service.CasePersonService;
|
|
|
|
@ -183,7 +183,7 @@ public class ModelCaseServiceImpl extends ServiceImpl<ModelCaseMapper, ModelCase
|
|
|
|
|
if (200 != langChainChatRes.getCode()){
|
|
|
|
|
log.info("删除知识库失败");
|
|
|
|
|
}
|
|
|
|
|
modelCase.setDataStatus(StringUtils.getUUID());
|
|
|
|
|
modelCase.setDataStatus(DataStatus.NOT_AVAILABLE.getCode());
|
|
|
|
|
int i = modelCaseMapper.updateById(modelCase);
|
|
|
|
|
if (i > 0) {
|
|
|
|
|
return R.okMsg("删除成功");
|
|
|
|
|