话术修改
This commit is contained in:
parent
62563aaa32
commit
03d6598c93
@ -244,6 +244,7 @@ public class ScriptInfoServiceImpl implements IScriptInfoService {
|
||||
int i = 0;
|
||||
for (Node node : scriptVO.getNodes()) {
|
||||
node.setScriptInfoId(scriptVO.getScriptInfoId());
|
||||
if (Objects.nonNull(node.getLabel())){
|
||||
String[] split = node.getLabel().split("\\n");
|
||||
int i1 = node.getLabel().indexOf("\n");
|
||||
if (split.length > 0) {
|
||||
@ -252,6 +253,7 @@ public class ScriptInfoServiceImpl implements IScriptInfoService {
|
||||
if (split.length > 1) {
|
||||
node.setScriptContent(node.getLabel().substring(i1 + 1));
|
||||
}
|
||||
}
|
||||
node.setScriptNodeType(node.getType());
|
||||
node.setCreateBy(SecurityUtils.getUsername());
|
||||
node.setCreateTime(LocalDateTime.now());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user