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
e635c8d0
Commit
e635c8d0
authored
May 23, 2025
by
Roger Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取数字人bugfix
parent
cadc8739
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
BizAgentApplicationPublishConvert.java
...pplication/convert/BizAgentApplicationPublishConvert.java
+10
-6
No files found.
src/main/java/cn/com/poc/agent_application/convert/BizAgentApplicationPublishConvert.java
View file @
e635c8d0
...
@@ -68,6 +68,10 @@ public class BizAgentApplicationPublishConvert {
...
@@ -68,6 +68,10 @@ public class BizAgentApplicationPublishConvert {
VoiceConfig
voiceConfig
=
JsonUtils
.
deSerialize
(
model
.
getVoiceConfig
(),
VoiceConfig
.
class
);
VoiceConfig
voiceConfig
=
JsonUtils
.
deSerialize
(
model
.
getVoiceConfig
(),
VoiceConfig
.
class
);
entity
.
setVoiceConfig
(
voiceConfig
);
entity
.
setVoiceConfig
(
voiceConfig
);
}
}
if
(
StringUtils
.
isNotBlank
(
model
.
getDigitalhumanConfig
()))
{
DigitalhumanConfig
digitalhumanConfig
=
JsonUtils
.
deSerialize
(
model
.
getDigitalhumanConfig
(),
DigitalhumanConfig
.
class
);
entity
.
setDigitalhumanConfig
(
digitalhumanConfig
);
}
entity
.
setIsDeleted
(
model
.
getIsDeleted
());
entity
.
setIsDeleted
(
model
.
getIsDeleted
());
entity
.
setCreator
(
model
.
getCreator
());
entity
.
setCreator
(
model
.
getCreator
());
entity
.
setCreatedTime
(
model
.
getCreatedTime
());
entity
.
setCreatedTime
(
model
.
getCreatedTime
());
...
@@ -186,12 +190,12 @@ public class BizAgentApplicationPublishConvert {
...
@@ -186,12 +190,12 @@ public class BizAgentApplicationPublishConvert {
}
}
DigitalhumanConfig
digitalhumanConfig
=
new
DigitalhumanConfig
();
DigitalhumanConfig
digitalhumanConfig
=
new
DigitalhumanConfig
();
if
(
ObjectUtil
.
isNotEmpty
(
dto
.
getDigitalhumanConfig
()))
{
if
(
ObjectUtil
.
isNotEmpty
(
entity
.
getDigitalhumanConfig
()))
{
digitalhumanConfig
.
setEnable
(
dto
.
getDigitalhumanConfig
().
getEnable
());
digitalhumanConfig
.
setEnable
(
entity
.
getDigitalhumanConfig
().
getEnable
());
digitalhumanConfig
.
setTimbreId
(
dto
.
getDigitalhumanConfig
().
getTimbreId
());
digitalhumanConfig
.
setTimbreId
(
entity
.
getDigitalhumanConfig
().
getTimbreId
());
digitalhumanConfig
.
setAppId
(
dto
.
getDigitalhumanConfig
().
getAppId
());
digitalhumanConfig
.
setAppId
(
entity
.
getDigitalhumanConfig
().
getAppId
());
digitalhumanConfig
.
setAppKey
(
dto
.
getDigitalhumanConfig
().
getAppKey
());
digitalhumanConfig
.
setAppKey
(
entity
.
getDigitalhumanConfig
().
getAppKey
());
digitalhumanConfig
.
setFigureId
(
dto
.
getDigitalhumanConfig
().
getFigureId
());
digitalhumanConfig
.
setFigureId
(
entity
.
getDigitalhumanConfig
().
getFigureId
());
}
else
{
}
else
{
digitalhumanConfig
.
setEnable
(
CommonConstant
.
YOrN
.
N
);
digitalhumanConfig
.
setEnable
(
CommonConstant
.
YOrN
.
N
);
digitalhumanConfig
.
setTimbreId
(
StringUtils
.
EMPTY
);
digitalhumanConfig
.
setTimbreId
(
StringUtils
.
EMPTY
);
...
...
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