Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
86b395ce
Commit
86b395ce
authored
Oct 10, 2024
by
jennie chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
在biz_agent_application_info中添加变量结构
parent
ecccb7de
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
118 additions
and
6 deletions
+118
-6
AgentApplicationInfoServiceImpl.java
...ation/aggregate/impl/AgentApplicationInfoServiceImpl.java
+4
-0
AgentApplicationInfoConvert.java
...gent_application/convert/AgentApplicationInfoConvert.java
+14
-0
BizAgentApplicationPublishConvert.java
...pplication/convert/BizAgentApplicationPublishConvert.java
+10
-2
AgentApplicationCommConfig.java
.../agent_application/domain/AgentApplicationCommConfig.java
+14
-0
BizAgentApplicationInfoEntity.java
...ent_application/entity/BizAgentApplicationInfoEntity.java
+14
-1
BizAgentApplicationPublishEntity.java
..._application/entity/BizAgentApplicationPublishEntity.java
+14
-0
BizAgentApplicationInfoModel.java
...agent_application/model/BizAgentApplicationInfoModel.java
+16
-1
BizAgentApplicationPublishModel.java
...nt_application/model/BizAgentApplicationPublishModel.java
+15
-0
AgentApplicationInfoQuery.sql
...poc/agent_application/query/AgentApplicationInfoQuery.sql
+1
-0
AgentApplicationInfoQueryItem.java
...gent_application/query/AgentApplicationInfoQueryItem.java
+15
-0
BizAgentApplicationInfoServiceImpl.java
...tion/service/impl/BizAgentApplicationInfoServiceImpl.java
+1
-0
BizAgentApplicationPublishServiceImpl.java
...n/service/impl/BizAgentApplicationPublishServiceImpl.java
+0
-2
No files found.
src/main/java/cn/com/poc/agent_application/aggregate/impl/AgentApplicationInfoServiceImpl.java
View file @
86b395ce
...
@@ -349,6 +349,8 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ
...
@@ -349,6 +349,8 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ
* @throws Exception
* @throws Exception
*/
*/
private
BufferedReader
invokeLLM
(
String
largeModel
,
Message
[]
messageArray
,
Float
topP
)
throws
Exception
{
private
BufferedReader
invokeLLM
(
String
largeModel
,
Message
[]
messageArray
,
Float
topP
)
throws
Exception
{
// todo 配置tools
LargeModelResponse
largeModelResponse
=
new
LargeModelResponse
();
LargeModelResponse
largeModelResponse
=
new
LargeModelResponse
();
largeModelResponse
.
setModel
(
largeModel
);
largeModelResponse
.
setModel
(
largeModel
);
largeModelResponse
.
setMessages
(
messageArray
);
largeModelResponse
.
setMessages
(
messageArray
);
...
@@ -356,6 +358,8 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ
...
@@ -356,6 +358,8 @@ public class AgentApplicationInfoServiceImpl implements AgentApplicationInfoServ
largeModelResponse
.
setStream
(
true
);
largeModelResponse
.
setStream
(
true
);
largeModelResponse
.
setUser
(
"POE"
);
largeModelResponse
.
setUser
(
"POE"
);
return
llmService
.
chatChunk
(
largeModelResponse
);
return
llmService
.
chatChunk
(
largeModelResponse
);
//todo
}
}
/**
/**
...
...
src/main/java/cn/com/poc/agent_application/convert/AgentApplicationInfoConvert.java
View file @
86b395ce
...
@@ -29,6 +29,9 @@ public class AgentApplicationInfoConvert {
...
@@ -29,6 +29,9 @@ public class AgentApplicationInfoConvert {
entity
.
setAgentPublishStatus
(
model
.
getAgentPublishStatus
());
entity
.
setAgentPublishStatus
(
model
.
getAgentPublishStatus
());
entity
.
setPreamble
(
model
.
getPreamble
());
entity
.
setPreamble
(
model
.
getPreamble
());
entity
.
setPublishTime
(
model
.
getPublishTime
());
entity
.
setPublishTime
(
model
.
getPublishTime
());
if
(
StringUtils
.
isNotBlank
(
model
.
getVariableStructure
()))
{
entity
.
setVariableStructure
(
JsonUtils
.
deSerialize
(
model
.
getVariableStructure
(),
String
[].
class
));
}
if
(
StringUtils
.
isNotBlank
(
model
.
getFeaturedQuestions
()))
{
if
(
StringUtils
.
isNotBlank
(
model
.
getFeaturedQuestions
()))
{
entity
.
setFeaturedQuestions
(
JsonUtils
.
deSerialize
(
model
.
getFeaturedQuestions
(),
String
[].
class
));
entity
.
setFeaturedQuestions
(
JsonUtils
.
deSerialize
(
model
.
getFeaturedQuestions
(),
String
[].
class
));
}
}
...
@@ -65,6 +68,9 @@ public class AgentApplicationInfoConvert {
...
@@ -65,6 +68,9 @@ public class AgentApplicationInfoConvert {
model
.
setAgentPublishStatus
(
entity
.
getAgentPublishStatus
());
model
.
setAgentPublishStatus
(
entity
.
getAgentPublishStatus
());
model
.
setPreamble
(
entity
.
getPreamble
());
model
.
setPreamble
(
entity
.
getPreamble
());
model
.
setPublishTime
(
entity
.
getPublishTime
());
model
.
setPublishTime
(
entity
.
getPublishTime
());
if
(
ArrayUtils
.
isNotEmpty
(
entity
.
getVariableStructure
()))
{
model
.
setVariableStructure
(
JsonUtils
.
serialize
(
entity
.
getVariableStructure
()));
}
if
(
ArrayUtils
.
isNotEmpty
(
entity
.
getFeaturedQuestions
()))
{
if
(
ArrayUtils
.
isNotEmpty
(
entity
.
getFeaturedQuestions
()))
{
model
.
setFeaturedQuestions
(
JsonUtils
.
serialize
(
entity
.
getFeaturedQuestions
()));
model
.
setFeaturedQuestions
(
JsonUtils
.
serialize
(
entity
.
getFeaturedQuestions
()));
}
}
...
@@ -107,6 +113,7 @@ public class AgentApplicationInfoConvert {
...
@@ -107,6 +113,7 @@ public class AgentApplicationInfoConvert {
commConfig
.
setContinuousQuestionStatus
(
entity
.
getContinuousQuestionStatus
());
commConfig
.
setContinuousQuestionStatus
(
entity
.
getContinuousQuestionStatus
());
commConfig
.
setContinuousQuestionSystem
(
entity
.
getContinuousQuestionSystem
());
commConfig
.
setContinuousQuestionSystem
(
entity
.
getContinuousQuestionSystem
());
commConfig
.
setContinuousQuestionTurn
(
entity
.
getContinuousQuestionTurn
());
commConfig
.
setContinuousQuestionTurn
(
entity
.
getContinuousQuestionTurn
());
commConfig
.
setVariableStructure
(
entity
.
getVariableStructure
());
AgentApplicationKnowledgeConfig
knowledgeConfig
=
new
AgentApplicationKnowledgeConfig
();
AgentApplicationKnowledgeConfig
knowledgeConfig
=
new
AgentApplicationKnowledgeConfig
();
knowledgeConfig
.
setKnowledgeIds
(
entity
.
getKnowledgeIds
());
knowledgeConfig
.
setKnowledgeIds
(
entity
.
getKnowledgeIds
());
...
@@ -148,6 +155,9 @@ public class AgentApplicationInfoConvert {
...
@@ -148,6 +155,9 @@ public class AgentApplicationInfoConvert {
entity
.
setContinuousQuestionStatus
(
dto
.
getCommConfig
().
getContinuousQuestionStatus
());
entity
.
setContinuousQuestionStatus
(
dto
.
getCommConfig
().
getContinuousQuestionStatus
());
entity
.
setContinuousQuestionSystem
(
dto
.
getCommConfig
().
getContinuousQuestionSystem
());
entity
.
setContinuousQuestionSystem
(
dto
.
getCommConfig
().
getContinuousQuestionSystem
());
entity
.
setContinuousQuestionTurn
(
dto
.
getCommConfig
().
getContinuousQuestionTurn
());
entity
.
setContinuousQuestionTurn
(
dto
.
getCommConfig
().
getContinuousQuestionTurn
());
if
(
ObjectUtil
.
isNotEmpty
(
dto
.
getCommConfig
().
getVariableStructure
()))
{
entity
.
setVariableStructure
(
dto
.
getCommConfig
().
getVariableStructure
());
}
}
}
if
(
ObjectUtil
.
isNotEmpty
(
dto
.
getKnowledgeConfig
()))
{
if
(
ObjectUtil
.
isNotEmpty
(
dto
.
getKnowledgeConfig
()))
{
...
@@ -180,6 +190,10 @@ public class AgentApplicationInfoConvert {
...
@@ -180,6 +190,10 @@ public class AgentApplicationInfoConvert {
entity
.
setAgentPublishStatus
(
infoQueryItem
.
getAgentPublishStatus
());
entity
.
setAgentPublishStatus
(
infoQueryItem
.
getAgentPublishStatus
());
entity
.
setPreamble
(
infoQueryItem
.
getPreamble
());
entity
.
setPreamble
(
infoQueryItem
.
getPreamble
());
entity
.
setPublishTime
(
infoQueryItem
.
getPublishTime
());
entity
.
setPublishTime
(
infoQueryItem
.
getPublishTime
());
if
(
StringUtils
.
isNotBlank
(
infoQueryItem
.
getVariableStructure
()))
{
entity
.
setVariableStructure
(
JsonUtils
.
deSerialize
(
infoQueryItem
.
getVariableStructure
(),
String
[].
class
));
}
if
(
StringUtils
.
isNotBlank
(
infoQueryItem
.
getFeaturedQuestions
()))
{
if
(
StringUtils
.
isNotBlank
(
infoQueryItem
.
getFeaturedQuestions
()))
{
entity
.
setFeaturedQuestions
(
JsonUtils
.
deSerialize
(
infoQueryItem
.
getFeaturedQuestions
(),
String
[].
class
));
entity
.
setFeaturedQuestions
(
JsonUtils
.
deSerialize
(
infoQueryItem
.
getFeaturedQuestions
(),
String
[].
class
));
}
}
...
...
src/main/java/cn/com/poc/agent_application/convert/BizAgentApplicationPublishConvert.java
View file @
86b395ce
...
@@ -4,8 +4,6 @@ import cn.com.poc.agent_application.domain.AgentApplicationBaseInfo;
...
@@ -4,8 +4,6 @@ import cn.com.poc.agent_application.domain.AgentApplicationBaseInfo;
import
cn.com.poc.agent_application.domain.AgentApplicationCommConfig
;
import
cn.com.poc.agent_application.domain.AgentApplicationCommConfig
;
import
cn.com.poc.agent_application.domain.AgentApplicationCommModelConfig
;
import
cn.com.poc.agent_application.domain.AgentApplicationCommModelConfig
;
import
cn.com.poc.agent_application.domain.AgentApplicationKnowledgeConfig
;
import
cn.com.poc.agent_application.domain.AgentApplicationKnowledgeConfig
;
import
cn.com.poc.agent_application.dto.AgentApplicationInfoDto
;
import
cn.com.poc.agent_application.entity.BizAgentApplicationInfoEntity
;
import
cn.com.poc.agent_application.model.BizAgentApplicationPublishModel
;
import
cn.com.poc.agent_application.model.BizAgentApplicationPublishModel
;
import
cn.com.poc.agent_application.entity.BizAgentApplicationPublishEntity
;
import
cn.com.poc.agent_application.entity.BizAgentApplicationPublishEntity
;
import
cn.com.poc.agent_application.dto.BizAgentApplicationPublishDto
;
import
cn.com.poc.agent_application.dto.BizAgentApplicationPublishDto
;
...
@@ -28,6 +26,9 @@ public class BizAgentApplicationPublishConvert {
...
@@ -28,6 +26,9 @@ public class BizAgentApplicationPublishConvert {
entity
.
setAgentDesc
(
model
.
getAgentDesc
());
entity
.
setAgentDesc
(
model
.
getAgentDesc
());
entity
.
setAgentSystem
(
model
.
getAgentSystem
());
entity
.
setAgentSystem
(
model
.
getAgentSystem
());
entity
.
setPreamble
(
model
.
getPreamble
());
entity
.
setPreamble
(
model
.
getPreamble
());
if
(
StringUtils
.
isNotBlank
(
model
.
getVariableStructure
()))
{
entity
.
setVariableStructure
(
JsonUtils
.
deSerialize
(
model
.
getVariableStructure
(),
String
[].
class
));
}
if
(
StringUtils
.
isNotBlank
(
model
.
getFeaturedQuestions
()))
{
if
(
StringUtils
.
isNotBlank
(
model
.
getFeaturedQuestions
()))
{
entity
.
setFeaturedQuestions
(
JsonUtils
.
deSerialize
(
model
.
getFeaturedQuestions
(),
String
[].
class
));
entity
.
setFeaturedQuestions
(
JsonUtils
.
deSerialize
(
model
.
getFeaturedQuestions
(),
String
[].
class
));
}
}
...
@@ -62,6 +63,9 @@ public class BizAgentApplicationPublishConvert {
...
@@ -62,6 +63,9 @@ public class BizAgentApplicationPublishConvert {
model
.
setAgentDesc
(
entity
.
getAgentDesc
());
model
.
setAgentDesc
(
entity
.
getAgentDesc
());
model
.
setAgentSystem
(
entity
.
getAgentSystem
());
model
.
setAgentSystem
(
entity
.
getAgentSystem
());
model
.
setPreamble
(
entity
.
getPreamble
());
model
.
setPreamble
(
entity
.
getPreamble
());
if
(
ArrayUtils
.
isNotEmpty
(
entity
.
getVariableStructure
()))
{
model
.
setVariableStructure
(
JsonUtils
.
serialize
(
entity
.
getVariableStructure
()));
}
if
(
ArrayUtils
.
isNotEmpty
(
entity
.
getFeaturedQuestions
()))
{
if
(
ArrayUtils
.
isNotEmpty
(
entity
.
getFeaturedQuestions
()))
{
model
.
setFeaturedQuestions
(
JsonUtils
.
serialize
(
entity
.
getFeaturedQuestions
()));
model
.
setFeaturedQuestions
(
JsonUtils
.
serialize
(
entity
.
getFeaturedQuestions
()));
}
}
...
@@ -104,6 +108,7 @@ public class BizAgentApplicationPublishConvert {
...
@@ -104,6 +108,7 @@ public class BizAgentApplicationPublishConvert {
commConfig
.
setContinuousQuestionStatus
(
entity
.
getContinuousQuestionStatus
());
commConfig
.
setContinuousQuestionStatus
(
entity
.
getContinuousQuestionStatus
());
commConfig
.
setContinuousQuestionSystem
(
entity
.
getContinuousQuestionSystem
());
commConfig
.
setContinuousQuestionSystem
(
entity
.
getContinuousQuestionSystem
());
commConfig
.
setContinuousQuestionTurn
(
entity
.
getContinuousQuestionTurn
());
commConfig
.
setContinuousQuestionTurn
(
entity
.
getContinuousQuestionTurn
());
commConfig
.
setVariableStructure
(
entity
.
getVariableStructure
());
AgentApplicationKnowledgeConfig
knowledgeConfig
=
new
AgentApplicationKnowledgeConfig
();
AgentApplicationKnowledgeConfig
knowledgeConfig
=
new
AgentApplicationKnowledgeConfig
();
knowledgeConfig
.
setKnowledgeIds
(
entity
.
getKnowledgeIds
());
knowledgeConfig
.
setKnowledgeIds
(
entity
.
getKnowledgeIds
());
...
@@ -145,6 +150,9 @@ public class BizAgentApplicationPublishConvert {
...
@@ -145,6 +150,9 @@ public class BizAgentApplicationPublishConvert {
entity
.
setContinuousQuestionStatus
(
dto
.
getCommConfig
().
getContinuousQuestionStatus
());
entity
.
setContinuousQuestionStatus
(
dto
.
getCommConfig
().
getContinuousQuestionStatus
());
entity
.
setContinuousQuestionSystem
(
dto
.
getCommConfig
().
getContinuousQuestionSystem
());
entity
.
setContinuousQuestionSystem
(
dto
.
getCommConfig
().
getContinuousQuestionSystem
());
entity
.
setContinuousQuestionTurn
(
dto
.
getCommConfig
().
getContinuousQuestionTurn
());
entity
.
setContinuousQuestionTurn
(
dto
.
getCommConfig
().
getContinuousQuestionTurn
());
if
(
ObjectUtil
.
isNotEmpty
(
dto
.
getCommConfig
().
getVariableStructure
()))
{
entity
.
setVariableStructure
(
dto
.
getCommConfig
().
getVariableStructure
());
}
}
}
if
(
ObjectUtil
.
isNotEmpty
(
dto
.
getKnowledgeConfig
()))
{
if
(
ObjectUtil
.
isNotEmpty
(
dto
.
getKnowledgeConfig
()))
{
...
...
src/main/java/cn/com/poc/agent_application/domain/AgentApplicationCommConfig.java
View file @
86b395ce
...
@@ -74,4 +74,18 @@ public class AgentApplicationCommConfig {
...
@@ -74,4 +74,18 @@ public class AgentApplicationCommConfig {
public
void
setContinuousQuestionTurn
(
java
.
lang
.
Integer
continuousQuestionTurn
)
{
public
void
setContinuousQuestionTurn
(
java
.
lang
.
Integer
continuousQuestionTurn
)
{
this
.
continuousQuestionTurn
=
continuousQuestionTurn
;
this
.
continuousQuestionTurn
=
continuousQuestionTurn
;
}
}
/** variable_structure
*变量结构
*/
private
java
.
lang
.
String
[]
variableStructure
;
public
java
.
lang
.
String
[]
getVariableStructure
(){
return
this
.
variableStructure
;
}
public
void
setVariableStructure
(
java
.
lang
.
String
[]
variableStructure
){
this
.
variableStructure
=
variableStructure
;
}
}
}
src/main/java/cn/com/poc/agent_application/entity/BizAgentApplicationInfoEntity.java
View file @
86b395ce
package
cn
.
com
.
poc
.
agent_application
.
entity
;
package
cn
.
com
.
poc
.
agent_application
.
entity
;
import
java.util.Arrays
;
import
java.util.Arrays
;
public
class
BizAgentApplicationInfoEntity
{
public
class
BizAgentApplicationInfoEntity
{
...
@@ -234,6 +233,20 @@ public class BizAgentApplicationInfoEntity {
...
@@ -234,6 +233,20 @@ public class BizAgentApplicationInfoEntity {
public
void
setUnitIds
(
java
.
lang
.
String
[]
unitIds
){
public
void
setUnitIds
(
java
.
lang
.
String
[]
unitIds
){
this
.
unitIds
=
unitIds
;
this
.
unitIds
=
unitIds
;
}
}
/** variable_structure
*变量结构
*/
private
java
.
lang
.
String
[]
variableStructure
;
public
java
.
lang
.
String
[]
getVariableStructure
(){
return
this
.
variableStructure
;
}
public
void
setVariableStructure
(
java
.
lang
.
String
[]
variableStructure
){
this
.
variableStructure
=
variableStructure
;
}
/** is_deleted
/** is_deleted
*是否删除 1、Y 是 2、N 否
*是否删除 1、Y 是 2、N 否
*/
*/
...
...
src/main/java/cn/com/poc/agent_application/entity/BizAgentApplicationPublishEntity.java
View file @
86b395ce
...
@@ -124,6 +124,20 @@ public class BizAgentApplicationPublishEntity {
...
@@ -124,6 +124,20 @@ public class BizAgentApplicationPublishEntity {
public
void
setPreamble
(
java
.
lang
.
String
preamble
){
public
void
setPreamble
(
java
.
lang
.
String
preamble
){
this
.
preamble
=
preamble
;
this
.
preamble
=
preamble
;
}
}
/** variable_structure
*变量结构
*/
private
java
.
lang
.
String
[]
variableStructure
;
public
java
.
lang
.
String
[]
getVariableStructure
(){
return
this
.
variableStructure
;
}
public
void
setVariableStructure
(
java
.
lang
.
String
[]
variableStructure
){
this
.
variableStructure
=
variableStructure
;
}
/** featured_questions
/** featured_questions
*推荐问
*推荐问
*/
*/
...
...
src/main/java/cn/com/poc/agent_application/model/BizAgentApplicationInfoModel.java
View file @
86b395ce
...
@@ -328,7 +328,22 @@ public class BizAgentApplicationInfoModel extends BaseModelClass implements Seri
...
@@ -328,7 +328,22 @@ public class BizAgentApplicationInfoModel extends BaseModelClass implements Seri
this
.
unitIds
=
unitIds
;
this
.
unitIds
=
unitIds
;
super
.
addValidField
(
"unitIds"
);
super
.
addValidField
(
"unitIds"
);
}
}
/** variable_structure
*变量结构
*/
private
java
.
lang
.
String
variableStructure
;
@Column
(
name
=
"variable_structure"
,
length
=
2147483647
)
public
java
.
lang
.
String
getVariableStructure
(){
return
this
.
variableStructure
;
}
public
void
setVariableStructure
(
java
.
lang
.
String
variableStructure
){
this
.
variableStructure
=
variableStructure
;
super
.
addValidField
(
"variableStructure"
);
}
/** is_deleted
/** is_deleted
*是否删除 1、Y 是 2、N 否
*是否删除 1、Y 是 2、N 否
...
...
src/main/java/cn/com/poc/agent_application/model/BizAgentApplicationPublishModel.java
View file @
86b395ce
...
@@ -152,6 +152,21 @@ public class BizAgentApplicationPublishModel extends BaseModelClass implements S
...
@@ -152,6 +152,21 @@ public class BizAgentApplicationPublishModel extends BaseModelClass implements S
this
.
preamble
=
preamble
;
this
.
preamble
=
preamble
;
super
.
addValidField
(
"preamble"
);
super
.
addValidField
(
"preamble"
);
}
}
/** variable_structure
*变量结构
*/
private
java
.
lang
.
String
variableStructure
;
@Column
(
name
=
"variable_structure"
,
length
=
2147483647
)
public
java
.
lang
.
String
getVariableStructure
(){
return
this
.
variableStructure
;
}
public
void
setVariableStructure
(
java
.
lang
.
String
variableStructure
){
this
.
variableStructure
=
variableStructure
;
super
.
addValidField
(
"variableStructure"
);
}
/** featured_questions
/** featured_questions
...
...
src/main/java/cn/com/poc/agent_application/query/AgentApplicationInfoQuery.sql
View file @
86b395ce
...
@@ -18,6 +18,7 @@ select distinct
...
@@ -18,6 +18,7 @@ select distinct
large_model
,
large_model
,
top_p
,
top_p
,
unit_ids
,
unit_ids
,
variable_structure
,
is_deleted
,
is_deleted
,
CREATOR
,
CREATOR
,
CREATED_TIME
,
CREATED_TIME
,
...
...
src/main/java/cn/com/poc/agent_application/query/AgentApplicationInfoQueryItem.java
View file @
86b395ce
...
@@ -299,6 +299,21 @@ public class AgentApplicationInfoQueryItem extends BaseItemClass implements Seri
...
@@ -299,6 +299,21 @@ public class AgentApplicationInfoQueryItem extends BaseItemClass implements Seri
this
.
unitIds
=
unitIds
;
this
.
unitIds
=
unitIds
;
}
}
/** variable_structure
*变量结构
*/
private
java
.
lang
.
String
variableStructure
;
@Column
(
name
=
"variable_structure"
)
public
java
.
lang
.
String
getVariableStructure
(){
return
this
.
variableStructure
;
}
public
void
setVariableStructure
(
java
.
lang
.
String
variableStructure
){
this
.
variableStructure
=
variableStructure
;
}
/**
/**
* is_deleted
* is_deleted
* is_deleted
* is_deleted
...
...
src/main/java/cn/com/poc/agent_application/service/impl/BizAgentApplicationInfoServiceImpl.java
View file @
86b395ce
...
@@ -176,6 +176,7 @@ public class BizAgentApplicationInfoServiceImpl extends BaseServiceImpl
...
@@ -176,6 +176,7 @@ public class BizAgentApplicationInfoServiceImpl extends BaseServiceImpl
model
.
setContinuousQuestionStatus
(
entity
.
getContinuousQuestionStatus
());
model
.
setContinuousQuestionStatus
(
entity
.
getContinuousQuestionStatus
());
model
.
setContinuousQuestionSystem
(
entity
.
getContinuousQuestionSystem
());
model
.
setContinuousQuestionSystem
(
entity
.
getContinuousQuestionSystem
());
model
.
setKnowledgeIds
(
JsonUtils
.
serialize
(
entity
.
getKnowledgeIds
()));
model
.
setKnowledgeIds
(
JsonUtils
.
serialize
(
entity
.
getKnowledgeIds
()));
model
.
setVariableStructure
(
JsonUtils
.
serialize
(
entity
.
getVariableStructure
()));
model
.
setLargeModel
(
entity
.
getLargeModel
());
model
.
setLargeModel
(
entity
.
getLargeModel
());
model
.
setUnitIds
(
JsonUtils
.
serialize
(
entity
.
getUnitIds
()));
model
.
setUnitIds
(
JsonUtils
.
serialize
(
entity
.
getUnitIds
()));
}
}
...
...
src/main/java/cn/com/poc/agent_application/service/impl/BizAgentApplicationPublishServiceImpl.java
View file @
86b395ce
package
cn
.
com
.
poc
.
agent_application
.
service
.
impl
;
package
cn
.
com
.
poc
.
agent_application
.
service
.
impl
;
import
cn.com.poc.agent_application.constant.AgentApplicationConstants
;
import
cn.com.poc.agent_application.constant.AgentApplicationConstants
;
import
cn.com.poc.agent_application.entity.BizAgentApplicationInfoEntity
;
import
cn.com.poc.agent_application.model.BizAgentApplicationInfoModel
;
import
cn.com.poc.common.constant.CommonConstant
;
import
cn.com.poc.common.constant.CommonConstant
;
import
cn.com.poc.common.utils.JsonUtils
;
import
cn.com.poc.common.utils.JsonUtils
;
import
cn.com.yict.framemax.core.exception.BusinessException
;
import
cn.com.yict.framemax.core.exception.BusinessException
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment