解决app特征中配置修改时新增配置无法显示问题
This commit is contained in:
@@ -121,14 +121,18 @@ public class AppMultiFeatureCfgService extends BaseService {
|
|||||||
}
|
}
|
||||||
if(entity.getStrList()!=null){
|
if(entity.getStrList()!=null){
|
||||||
for(AppStringFeatureCfg cfg:entity.getStrList()){
|
for(AppStringFeatureCfg cfg:entity.getStrList()){
|
||||||
|
if(StringUtils.isNotBlank(cfg.getCfgKeywords())){
|
||||||
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
|
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
|
||||||
appMultiFeatureCfgDao.insertAppStringFeatureCfg(cfg);
|
appMultiFeatureCfgDao.insertAppStringFeatureCfg(cfg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(entity.getComplexList()!=null){
|
if(entity.getComplexList()!=null){
|
||||||
for(AppComplexFeatureCfg cfg:entity.getComplexList()){
|
for(AppComplexFeatureCfg cfg:entity.getComplexList()){
|
||||||
|
if(StringUtils.isNotBlank(cfg.getCfgKeywords())){
|
||||||
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
|
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
|
||||||
appMultiFeatureCfgDao.insertAppComplexFeatureCfg(cfg);
|
appMultiFeatureCfgDao.insertAppComplexFeatureCfg(cfg);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -271,8 +271,10 @@ var delContent = function(contentClassName, addBtnClassName) {
|
|||||||
</c:choose>
|
</c:choose>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
<c:if test="${!isBreak}">
|
<c:if test="${!isBreak}">
|
||||||
<div
|
<div class="row boxSolid ${tabName}${status.index} hidden disabled">
|
||||||
class="row boxSolid ${tabName}${status.index} hidden disabled">
|
<input type="hidden" name="cfgRegionValue" value="${region.configRegionValue }">
|
||||||
|
<input type="hidden" name="cfgRegionType" value="${region.regionType }">
|
||||||
|
<input type="hidden" name="cfgRegionCode1" value="${region.configRegionCode }">
|
||||||
<%@include file="/WEB-INF/views/cfg/complexCfgForm.jsp"%>
|
<%@include file="/WEB-INF/views/cfg/complexCfgForm.jsp"%>
|
||||||
</div>
|
</div>
|
||||||
<c:set var="complexCfgIndex" value="${complexCfgIndex+1 }"></c:set>
|
<c:set var="complexCfgIndex" value="${complexCfgIndex+1 }"></c:set>
|
||||||
|
|||||||
Reference in New Issue
Block a user