|
@@ -22,6 +22,7 @@ import com.boman.domain.dto.*;
|
|
import com.boman.domain.exception.NoSuchFunctionException;
|
|
import com.boman.domain.exception.NoSuchFunctionException;
|
|
import com.boman.gen.api.RemoteGenTableColumnService;
|
|
import com.boman.gen.api.RemoteGenTableColumnService;
|
|
import com.boman.gen.api.RemoteGenTableService;
|
|
import com.boman.gen.api.RemoteGenTableService;
|
|
|
|
+import com.boman.gen.api.RemoteLoadTableService;
|
|
import com.boman.jflow.api.RemoteJflowProcessService;
|
|
import com.boman.jflow.api.RemoteJflowProcessService;
|
|
import com.boman.system.api.RemoteMenuService;
|
|
import com.boman.system.api.RemoteMenuService;
|
|
import com.boman.system.api.RemoteUserService;
|
|
import com.boman.system.api.RemoteUserService;
|
|
@@ -104,6 +105,8 @@ public class TableServiceCmdService {
|
|
private RemoteWechatService remoteWechatService;
|
|
private RemoteWechatService remoteWechatService;
|
|
@Resource
|
|
@Resource
|
|
private MessageService messageService;
|
|
private MessageService messageService;
|
|
|
|
+ @Resource
|
|
|
|
+ private RemoteLoadTableService remoteLoadTableService;
|
|
|
|
|
|
|
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(TableServiceCmdService.class);
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(TableServiceCmdService.class);
|
|
@@ -406,6 +409,8 @@ public class TableServiceCmdService {
|
|
List<String> showData = dto.getShowData();
|
|
List<String> showData = dto.getShowData();
|
|
// 检查列
|
|
// 检查列
|
|
checkColumn(showData, genTable.getColumns());
|
|
checkColumn(showData, genTable.getColumns());
|
|
|
|
+ //处理之前,先刷新下缓存
|
|
|
|
+ remoteLoadTableService.loadTable(new GenTable());
|
|
// 需要返回到前台的列, 需要判断是否是列表展示, 4为判断列表是否可见
|
|
// 需要返回到前台的列, 需要判断是否是列表展示, 4为判断列表是否可见
|
|
showData = filterData(columns, 4, showData, MaskConstant.LIST_VISIBLE::equals);
|
|
showData = filterData(columns, 4, showData, MaskConstant.LIST_VISIBLE::equals);
|
|
// 表的id单独处理,不管mask,都查出来返给前台
|
|
// 表的id单独处理,不管mask,都查出来返给前台
|