操作步骤：

1.更新工厂APP后，等待服务启动完成，查看数据库iiot_thing_entity表是否存在parent_id字段，如不存在（DDL关闭）需手动执行以下SQL
ALTER TABLE `数据库`.`iiot_thing_entity` 
ADD COLUMN `parent_factory_id` varchar(64) NULL COMMENT '父节点（工厂实体）;




2.如果之前有使用工厂实体功能（有旧数据），如未使用，则跳过，需通过HTTP请求以下服务
{
    "id": "guid",
    "jsonrpc": "2.0",
    "method": "service",
    "params": {
        "args": {
        },
        "context": {
            "uid": "",
            "timeZone": "UTC+8",
            "lang": "zh-CN"
        },
        "model": "iiot_thing_entity",
        "tag": "master",
        "service": "repairData",
        "app": "iiot_factory"
    }
}

3.步骤2执行完成后，手动重启IIOT容器
