增加动态表单自动排版配置界面的保存回显逻辑

This commit is contained in:
cuibaocheng 2021-08-13 14:46:17 +08:00
parent e47036c04e
commit 60c6caafee

View File

@ -2,6 +2,7 @@ package cn.com.tenlion.systemcard.controller.app.api.cardconfigcolumngroup;
import cn.com.tenlion.configcolumn.pojo.dtos.configcolumngroup.ConfigColumnGroupDTO; import cn.com.tenlion.configcolumn.pojo.dtos.configcolumngroup.ConfigColumnGroupDTO;
import cn.com.tenlion.configcolumn.service.configcolumngroup.IConfigColumnGroupService; import cn.com.tenlion.configcolumn.service.configcolumngroup.IConfigColumnGroupService;
import cn.com.tenlion.projectconfig.util.ProjectConfigUtil;
import cn.com.tenlion.systemcard.pojo.dtos.cardtemplateuse.CardTemplateUseDTO; import cn.com.tenlion.systemcard.pojo.dtos.cardtemplateuse.CardTemplateUseDTO;
import cn.com.tenlion.systemcard.service.cardtemplateuse.ICardTemplateUseService; import cn.com.tenlion.systemcard.service.cardtemplateuse.ICardTemplateUseService;
import ink.wgink.common.base.DefaultBaseController; import ink.wgink.common.base.DefaultBaseController;
@ -63,7 +64,7 @@ public class CardConfigColumnGroupAppController extends DefaultBaseController {
queryUserCard.put("userId", userId); queryUserCard.put("userId", userId);
List<CardTemplateUseDTO> userCardList = iCardTemplateUseService.list(queryUserCard); List<CardTemplateUseDTO> userCardList = iCardTemplateUseService.list(queryUserCard);
List<String> queryList = new ArrayList<String>(); List<String> queryList = new ArrayList<String>();
queryList.add("T00001"); queryList.add(ProjectConfigUtil.getText("cardColumnGroupCode"));
if(userCardList == null || userCardList.size() < 1) { if(userCardList == null || userCardList.size() < 1) {
params.put("inConfigColumnGroupCode", queryList); // 只加载名片创建引导页 params.put("inConfigColumnGroupCode", queryList); // 只加载名片创建引导页
}else { }else {