|
@@ -332,6 +332,7 @@ public class DesignServiceImpl extends BaseService implements DesignService {
|
|
|
//这里多了一个暂存设计的需求,进来之后先用outerSessionId找一下有没有暂存的设计稿,有了就直接返回暂存,没有的话正常加载模板
|
|
//这里多了一个暂存设计的需求,进来之后先用outerSessionId找一下有没有暂存的设计稿,有了就直接返回暂存,没有的话正常加载模板
|
|
|
String templateJson = redisService.get(keysService.getRedisKey(RedisKeys.KEY_DESIGNER_DESIGN_TEMPLATE_SESSION, supplierCode, true)
|
|
String templateJson = redisService.get(keysService.getRedisKey(RedisKeys.KEY_DESIGNER_DESIGN_TEMPLATE_SESSION, supplierCode, true)
|
|
|
+ outerSessionId);
|
|
+ outerSessionId);
|
|
|
|
|
+
|
|
|
if (StringUtils.isNotEmpty(templateJson)) {
|
|
if (StringUtils.isNotEmpty(templateJson)) {
|
|
|
DesignTemplate template = jsonConvert.convertFrom(DesignTemplate.class, templateJson);
|
|
DesignTemplate template = jsonConvert.convertFrom(DesignTemplate.class, templateJson);
|
|
|
fillParamsToTemplate(template, params);
|
|
fillParamsToTemplate(template, params);
|