fuliqi
2024-11-12 9d69a278fcb5c159ec62eec3ce78ae15eb5d5ece
ycl-server/src/main/java/com/ycl/platform/service/impl/DynamicColumnServiceImpl.java
@@ -31,7 +31,7 @@
    private final DynamicColumnMapper dynamicColumnMapper;
    private final static String TABLE_NAME = "t_monitor";
    private final static String TABLE_NAME = "t_yw_point";
    /**
     * 添加
@@ -48,7 +48,7 @@
            throw new RuntimeException("列名称不能重复");
        }
        DynamicColumn entity = DynamicColumnForm.getEntityByForm(form, null);
        entity.setPropName(IdUtils.randomNO());
        entity.setPropName(IdUtils.randomNO(new Date()));
        entity.setCreateTime(new Date());
        entity.setTableName(TABLE_NAME);
        baseMapper.insert(entity);