解决 sonar问题
This commit is contained in:
@@ -240,7 +240,7 @@ public class TmNameplateCorpusServiceImpl extends ServiceImpl<TmNameplateCorpusM
|
||||
String aiAnalysisRequestId = analysisResp.getString("aiAnalysisRequestId");
|
||||
String difyResponse = analysisResp.getString("difyResponse");
|
||||
String customerFlowId = analysisResp.getString("customerFlowId");
|
||||
String businessType = BusinessTypeEnum.CORPUS_PORTRAIT_NAMEPLATE.getCode();
|
||||
String businessType = "";
|
||||
if (aiAnalysisRequestId.indexOf(BusinessTypeEnum.CORPUS_PORTRAIT_NAMEPLATE.getCode())>=0){
|
||||
businessType = BusinessTypeEnum.CORPUS_PORTRAIT_NAMEPLATE.getCode();
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user