{
"name": "MDC模块数据库表设计",
"describe": "MDC模块数据库表设计",
"avatar": "",
"version": "4.9.4",
"createdTime": "2025-3-25 10:17:32",
"updatedTime": "2025-3-25 10:37:49",
"dbConns": [],
"profile": {
"default": {
"db": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
"dbConn": "1C2EE2C3-8758-4E05-AC32-EBF312AC5217",
"entityInitFields": [
{
"defKey": "TENANT_ID",
"defName": "租户号",
"comment": "",
"type": "",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": true,
"domain": "16120F75-6AA7-4483-868D-F07F511BB081",
"refDict": "",
"uiHint": "",
"id": "ADB3AD14-6603-43E2-8261-114E32442B5B",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
},
{
"defKey": "REVISION",
"defName": "乐观锁",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": true,
"refDict": "",
"uiHint": "",
"id": "92BF430E-01FA-4AEF-944F-25A142632654",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811"
},
{
"defKey": "CREATED_BY",
"defName": "创建人",
"comment": "",
"domain": "16120F75-6AA7-4483-868D-F07F511BB081",
"type": "",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": true,
"refDict": "",
"uiHint": "",
"id": "C8BE2C7A-8251-4ADD-BB4F-411C5754DA62",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
},
{
"defKey": "CREATED_TIME",
"defName": "创建时间",
"comment": "",
"domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": true,
"refDict": "",
"uiHint": "",
"id": "4E471FD6-3E73-4A90-B660-51598A482409",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
},
{
"defKey": "UPDATED_BY",
"defName": "更新人",
"comment": "",
"domain": "16120F75-6AA7-4483-868D-F07F511BB081",
"type": "",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": true,
"refDict": "",
"uiHint": "",
"id": "0DC24AA9-4CD0-45D8-95CF-FA546BE343AB",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"
},
{
"defKey": "UPDATED_TIME",
"defName": "更新时间",
"comment": "",
"domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": true,
"refDict": "",
"uiHint": "",
"id": "09F64AC4-4DEE-428F-AF64-4C103884E1AC",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098"
}
],
"entityInitProperties": {
"partitioned by": "(date string)",
"row format delimited": "",
"fields terminated by ','": "",
"collection items terminated by '-'": "",
"map keys terminated by ':'": "",
"store as textfile;": ""
}
},
"javaHome": "",
"sql": {
"delimiter": ""
},
"dataTypeSupports": [
{
"defKey": "MYSQL",
"id": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E"
},
{
"defKey": "ORACLE",
"id": "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542"
},
{
"defKey": "SQLServer",
"id": "BFC87171-C74F-494A-B7C2-76B9C55FACC9"
},
{
"defKey": "PostgreSQL",
"id": "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022"
},
{
"defKey": "DB2",
"id": "89504F5D-94BF-4C9E-8B2E-44F37305FED5"
},
{
"defKey": "DM",
"id": "0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307"
},
{
"defKey": "GaussDB",
"id": "592C7013-143D-4E7B-AF64-0D7BF1E28230"
},
{
"defKey": "Kingbase",
"id": "77BD85E5-9D0D-4096-8427-CBA306FC9C6A"
},
{
"defKey": "GBase",
"id": "56F4B55B-F0B8-4049-9E6B-50B95C1D793A"
},
{
"defKey": "MaxCompute",
"id": "11D1FB71-A587-4217-89BA-611B8A1F83E0"
},
{
"defKey": "SQLite",
"id": "B363BE0B-F852-49B8-9B2E-F6D2174DEAC1"
},
{
"defKey": "Hive",
"id": "81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2"
},
{
"defKey": "JAVA",
"id": "797A1496-D649-4261-89B4-544132EC3F36"
},
{
"defKey": "JavaMybatis",
"id": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B"
},
{
"defKey": "JavaMybatisPlus",
"id": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073"
},
{
"defKey": "C#",
"id": "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30"
},
{
"defKey": "Golang",
"id": "B91D99E0-9B7C-416C-8737-B760957DAF09"
},
{
"defKey": "Rust",
"id": "BDF457FD-9F98-4AC3-A705-7587B00A3BAB"
},
{
"defKey": "Doris",
"id": "483F9346-C99E-4014-A1D2-A554606BD8A3"
},
{
"defKey": "HighGo",
"id": "ABF5836C-0B7C-4007-A41C-F869325E5842"
}
],
"codeTemplates": [
{
"type": "appCode",
"applyFor": "797A1496-D649-4261-89B4-544132EC3F36",
" JpaBean": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\n@Table(name=\"{{=it.entity.defKey}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n {{? field.primaryKey }}\n @Id\n @GeneratedValue\n {{?}}\n @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n return this.{{=it.func.camel(field.defKey,false)}};\n }\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n }\n{{~}}\n}"
},
{
"type": "appCode",
"applyFor": "F3AC2415-E86B-40C6-9FEB-F4B7937D2C30",
"Default": "using System;\nusing System.Collections.Generic;\n\n$blankline\n{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n}}\n/*\n * @author : http://www.chiner.com.cn\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace PDManer.Application\n{\n public partial class {{=it.func.camel(it.entity.defKey,true) }}\n {\n \n {{~it.entity.fields:field:index}}\n /// \n /// {{=it.func.join(field.defName,field.comment,';')}}\n /// \n public {{=field.type}} {{=it.func.camel(field.defKey,true)}} { get; set; }\n $blankline\n {{~}}\n \n }\n}",
"SqlSugar": "using System;\nusing System.Collections.Generic;\nusing SqlSugar;\n\n$blankline\n{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n var sqlSugartable='[SugarTable(\"{{=it.entity.defKey}}\", TableDescription = \"{{=it.func.join(it.entity.defName,it.entity.comment,';')}}\")]';\n}}\n/*\n * @author : xkdong@163.com\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\n */\nnamespace Model.DBModel\n{\n /// \n /// {{=it.func.join(it.entity.defName,it.entity.comment,';')}}\n /// \n {{=sqlSugartable}}\n public class {{=it.entity.defKey}}\n {\n {{~it.entity.fields:field:index}}\n /// \n /// {{=it.func.join(field.defName,field.comment,';')}}\n /// \n {{? field.primaryKey }}\n [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]\n {{?}}\n public {{=field.type}} {{=it.func.camel(field.defKey,true)}}{ get; set; }\n $blankline\n {{~}}\n }\n}"
},
{
"applyFor": "895CFD1D-4273-4D32-A2C4-CAC70200AB5B",
"type": "appCode",
"Controller": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.controller;\n$blankline\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.*;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.service.{{=serviceClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表控制层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Api(tags = \"{{=it.entity.defName}}对象功能接口\")\n@RestController\n@RequestMapping(\"/{{=it.func.camel(it.entity.defKey,false)}}\")\npublic class {{=beanClass}}Controller{\n @Autowired\n private {{=serviceClass}} {{=serviceVarName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n @ApiOperation(\"通过ID查询单条数据\")\n @GetMapping(\"{{{=it.func.camel(pkVarName,false)}}}\")\n public ResponseEntity<{{=beanClass}}> queryById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.queryById({{=pkVarName}}));\n }\n $blankline\n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n @ApiOperation(\"分页查询\")\n @GetMapping\n public ResponseEntity> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n return ResponseEntity.ok({{=serviceVarName}}.paginQuery({{=beanVarName}}, pageRequest));\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"新增数据\")\n @PostMapping\n public ResponseEntity<{{=beanClass}}> add({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.insert({{=beanVarName}}));\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"更新数据\")\n @PutMapping\n public ResponseEntity<{{=beanClass}}> edit({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.update({{=beanVarName}}));\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n @ApiOperation(\"通过主键删除数据\")\n @DeleteMapping\n public ResponseEntity deleteById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.deleteById({{=pkVarName}}));\n }\n}",
"Service": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.service;\n$blankline\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageRequest;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务接口\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\npublic interface {{=serviceClass}}{\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n \n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest);\n\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} insert({{=beanClass}} {{=beanVarName}});\n\n \n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} update({{=beanClass}} {{=beanVarName}});\n\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n boolean deleteById({{=pkDataType}} {{=pkVarName}});\n}",
"ServiceImpl": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkVarNameU = \"UndefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkVarNameU = it.func.camel(field.defKey,true);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n var mapperName = beanVarName+'Mapper';\n \n}}package {{=pkgName}}.service.impl;\n$blankline\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\nimport org.springframework.data.domain.Page;\nimport org.springframework.data.domain.PageImpl;\nimport org.springframework.data.domain.PageRequest;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.mapper.{{=beanClass}}Mapper;\nimport {{=pkgName}}.service.{{=serviceClass}};\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务实现类\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Service\npublic class {{=serviceClass}}Impl implements {{=serviceClass}}{\n @Autowired\n private {{=beanClass}}Mapper {{=mapperName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n public {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}}){\n return {{=mapperName}}.queryById({{=pkVarName}});\n }\n $blankline\n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n public Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n long total = {{=mapperName}}.count({{=beanVarName}});\n return new PageImpl<>({{=mapperName}}.queryAllByLimit({{=beanVarName}}, pageRequest), pageRequest, total);\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} insert({{=beanClass}} {{=beanVarName}}){\n {{=mapperName}}.insert({{=beanVarName}});\n return {{=beanVarName}};\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} update({{=beanClass}} {{=beanVarName}}){\n {{=mapperName}}.update({{=beanVarName}});\n return queryById({{=beanVarName}}.get{{=pkVarNameU}}());\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n public boolean deleteById({{=pkDataType}} {{=pkVarName}}){\n int total = {{=mapperName}}.deleteById({{=pkVarName}});\n return total > 0;\n }\n}",
"Mapper": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.mapper;\n$blankline\nimport java.util.List;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport org.springframework.data.domain.Pageable;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表数据库访问层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Mapper\npublic interface {{=beanClass}}Mapper{\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n \n /** \n * 分页查询指定行数据\n *\n * @param {{=beanVarName}} 查询条件\n * @param pageable 分页对象\n * @return 对象列表\n */\n List<{{=beanClass}}> queryAllByLimit({{=beanClass}} {{=beanVarName}}, @Param(\"pageable\") Pageable pageable);\n\n /** \n * 统计总行数\n *\n * @param {{=beanVarName}} 查询条件\n * @return 总行数\n */\n long count({{=beanClass}} {{=beanVarName}});\n\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 影响行数\n */\n int insert({{=beanClass}} {{=beanVarName}});\n\n /** \n * 批量新增数据\n *\n * @param entities List<{{=beanClass}}> 实例对象列表\n * @return 影响行数\n */\n int insertBatch(@Param(\"entities\") List<{{=beanClass}}> entities);\n \n /** \n * 批量新增或按主键更新数据\n *\n * @param entities List<{{=beanClass}}> 实例对象列表\n * @return 影响行数\n */\n int insertOrUpdateBatch(@Param(\"entities\") List<{{=beanClass}}> entities);\n \n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 影响行数\n */\n int update({{=beanClass}} {{=beanVarName}});\n\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 影响行数\n */\n int deleteById({{=pkDataType}} {{=pkVarName}});\n}",
"Mapper.xml": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n var pkField = \"UNDEFINED_ID\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkField = field.defKey;\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}\n\n\n \n {{~it.entity.fields:field:index}}\n \n {{~}}\n \n $blankline\n \n \n $blankline\n \n \n $blankline\n \n \n $blankline\n \n \n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values ({{=it.entity.fields.map(function(e,i){return '#{'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n \n $blankline\n \n \n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values\n \n ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n \n \n $blankline\n \n \n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values\n \n ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n \n on duplicate key update\n {{=it.entity.fields.map(function(e,i){return e.defKey + '=values('+e.defKey+')'}).join(',\\n\\t\\t')}}\n \n $blankline\n \n \n update {{=it.entity.defKey}}\n \n {{~it.entity.fields:field:index}}\n \n {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}},\n \n {{~}}\n \n where {{=pkField}} = #{{{=pkVarName}}}\n \n $blankline\n \n \n delete from {{=it.entity.defKey}} where {{=pkField}} = #{{{=pkVarName}}}\n \n\n\n",
"Entity": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n return this.{{=it.func.camel(field.defKey,false)}};\n }\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n }\n{{~}}\n}"
},
{
"applyFor": "A2EE7B4A-CE62-4290-B00C-B26C1BF18073",
"type": "appCode",
"Controller": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.controller;\n$blankline\nimport java.util.List;\nimport io.swagger.annotations.Api;\nimport io.swagger.annotations.ApiOperation;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.data.domain.PageImpl;\nimport org.springframework.data.domain.PageRequest;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.*;\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.service.{{=serviceClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表控制层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Api(tags = \"{{=it.entity.defName}}对象功能接口\")\n@RestController\n@RequestMapping(\"/{{=it.func.camel(it.entity.defKey,false)}}\")\npublic class {{=beanClass}}Controller{\n @Autowired\n private {{=serviceClass}} {{=serviceVarName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n @ApiOperation(\"通过ID查询单条数据\")\n @GetMapping(\"{{{=it.func.camel(pkVarName,false)}}}\")\n public ResponseEntity<{{=beanClass}}> queryById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.queryById({{=pkVarName}}));\n }\n $blankline\n /** \n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param pageRequest 分页对象\n * @return 查询结果\n */\n @ApiOperation(\"分页查询\")\n @GetMapping\n public ResponseEntity> paginQuery({{=beanClass}} {{=beanVarName}}, PageRequest pageRequest){\n //1.分页参数\n long current = pageRequest.getPageNumber();\n long size = pageRequest.getPageSize();\n\n //2.分页查询\n /*把Mybatis的分页对象做封装转换,MP的分页对象上有一些SQL敏感信息,还是通过spring的分页模型来封装数据吧*/\n com.baomidou.mybatisplus.extension.plugins.pagination.Page<{{=beanClass}}> pageResult = {{=serviceVarName}}.paginQuery({{=beanVarName}}, current,size);\n\n //3. 分页结果组装\n List<{{=beanClass}}> dataList = pageResult.getRecords();\n long total = pageResult.getTotal();\n PageImpl<{{=beanClass}}> retPage = new PageImpl<{{=beanClass}}>(dataList,pageRequest,total);\n return ResponseEntity.ok(retPage);\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"新增数据\")\n @PostMapping\n public ResponseEntity<{{=beanClass}}> add({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.insert({{=beanVarName}}));\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n @ApiOperation(\"更新数据\")\n @PutMapping\n public ResponseEntity<{{=beanClass}}> edit({{=beanClass}} {{=beanVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.update({{=beanVarName}}));\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n @ApiOperation(\"通过主键删除数据\")\n @DeleteMapping\n public ResponseEntity deleteById({{=pkDataType}} {{=pkVarName}}){\n return ResponseEntity.ok({{=serviceVarName}}.deleteById({{=pkVarName}}));\n }\n}",
"Service": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.service;\n$blankline\nimport com.baomidou.mybatisplus.extension.plugins.pagination.Page;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务接口\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\npublic interface {{=serviceClass}}{\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}});\n $blankline\n /**\n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param current 当前页码\n * @param size 每页大小\n * @return\n */\n Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, long current, long size);\n\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} insert({{=beanClass}} {{=beanVarName}});\n\n \n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n {{=beanClass}} update({{=beanClass}} {{=beanVarName}});\n\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n boolean deleteById({{=pkDataType}} {{=pkVarName}});\n}",
"ServiceImpl": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkVarNameU = \"UndefinedId\";\n var pkFieldKey = \"UNDEFINED\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkFieldKey = field.defKey;\n pkVarName = it.func.camel(field.defKey,false);\n pkVarNameU = it.func.camel(field.defKey,true);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n var mapperName = beanVarName+'Mapper';\n \n}}package {{=pkgName}}.service.impl;\n$blankline\nimport cn.hutool.core.util.StrUtil;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\nimport com.baomidou.mybatisplus.core.metadata.IPage;\nimport com.baomidou.mybatisplus.extension.plugins.pagination.Page;\nimport com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;\nimport com.baomidou.mybatisplus.extension.conditions.update.LambdaUpdateChainWrapper;\n\nimport {{=pkgName}}.entity.{{=beanClass}};\nimport {{=pkgName}}.mapper.{{=beanClass}}Mapper;\nimport {{=pkgName}}.service.{{=serviceClass}};\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表服务实现类\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Service\npublic class {{=serviceClass}}Impl implements {{=serviceClass}}{\n @Autowired\n private {{=beanClass}}Mapper {{=mapperName}};\n $blankline\n /** \n * 通过ID查询单条数据 \n *\n * @param {{=pkVarName}} 主键\n * @return 实例对象\n */\n public {{=beanClass}} queryById({{=pkDataType}} {{=pkVarName}}){\n return {{=mapperName}}.selectById({{=pkVarName}});\n }\n $blankline\n /**\n * 分页查询\n *\n * @param {{=beanVarName}} 筛选条件\n * @param current 当前页码\n * @param size 每页大小\n * @return\n */\n public Page<{{=beanClass}}> paginQuery({{=beanClass}} {{=beanVarName}}, long current, long size){\n //1. 构建动态查询条件\n LambdaQueryWrapper<{{=beanClass}}> queryWrapper = new LambdaQueryWrapper<>();\n {{~it.entity.fields.filter(function(e){return e[\"type\"]===\"String\"&&e.defKey !== pkFieldKey}):field:index}}\n if(StrUtil.isNotBlank({{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}())){\n queryWrapper.eq({{=beanClass}}::get{{=it.func.camel(field.defKey,true)}}, {{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}());\n }\n {{~}}\n\n //2. 执行分页查询\n Page<{{=beanClass}}> pagin = new Page<>(current , size , true);\n IPage<{{=beanClass}}> selectResult = {{=mapperName}}.selectByPage(pagin , queryWrapper);\n pagin.setPages(selectResult.getPages());\n pagin.setTotal(selectResult.getTotal());\n pagin.setRecords(selectResult.getRecords());\n\n //3. 返回结果\n return pagin;\n }\n $blankline\n /** \n * 新增数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} insert({{=beanClass}} {{=beanVarName}}){\n {{=mapperName}}.insert({{=beanVarName}});\n return {{=beanVarName}};\n }\n $blankline\n /** \n * 更新数据\n *\n * @param {{=beanVarName}} 实例对象\n * @return 实例对象\n */\n public {{=beanClass}} update({{=beanClass}} {{=beanVarName}}){\n //1. 根据条件动态更新\n LambdaUpdateChainWrapper<{{=beanClass}}> chainWrapper = new LambdaUpdateChainWrapper<{{=beanClass}}>({{=mapperName}});\n {{~it.entity.fields.filter(function(e){return e[\"type\"]===\"String\"&&e.defKey !== pkFieldKey}):field:index}}\n if(StrUtil.isNotBlank({{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}())){\n chainWrapper.eq({{=beanClass}}::get{{=it.func.camel(field.defKey,true)}}, {{=beanVarName}}.get{{=it.func.camel(field.defKey,true)}}());\n }\n {{~}}\n //2. 设置主键,并更新\n chainWrapper.set({{=beanClass}}::get{{=pkVarNameU}}, {{=beanVarName}}.get{{=pkVarNameU}}());\n boolean ret = chainWrapper.update();\n //3. 更新成功了,查询最最对象返回\n if(ret){\n return queryById({{=beanVarName}}.get{{=pkVarNameU}}());\n }else{\n return {{=beanVarName}};\n }\n }\n $blankline\n /** \n * 通过主键删除数据\n *\n * @param {{=pkVarName}} 主键\n * @return 是否成功\n */\n public boolean deleteById({{=pkDataType}} {{=pkVarName}}){\n int total = {{=mapperName}}.deleteById({{=pkVarName}});\n return total > 0;\n }\n}",
"Mapper": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.mapper;\n$blankline\n\nimport com.baomidou.mybatisplus.core.conditions.Wrapper;\nimport com.baomidou.mybatisplus.core.mapper.BaseMapper;\nimport com.baomidou.mybatisplus.core.metadata.IPage;\nimport com.baomidou.mybatisplus.core.toolkit.Constants;\nimport org.apache.ibatis.annotations.Mapper;\nimport org.apache.ibatis.annotations.Param;\nimport {{=pkgName}}.entity.{{=beanClass}};\n$blankline\n\n /**\n * {{=it.entity.defName}};({{=it.entity.defKey}})表数据库访问层\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@Mapper\npublic interface {{=beanClass}}Mapper extends BaseMapper<{{=beanClass}}>{\n /** \n * 分页查询指定行数据\n *\n * @param page 分页参数\n * @param wrapper 动态查询条件\n * @return 分页对象列表\n */\n IPage<{{=beanClass}}> selectByPage(IPage<{{=beanClass}}> page , @Param(Constants.WRAPPER) Wrapper<{{=beanClass}}> wrapper);\n}",
"Mapper.xml": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n var pkField = \"UNDEFINED_ID\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkField = field.defKey;\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}\n\n$blankline\n\n\n \n\n\n",
"Entity": "{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n var serviceClass = beanClass+'Service';\n var serviceVarName= beanVarName+'Service';\n \n}}package {{=pkgName}}.entity;\n$blankline\nimport io.swagger.annotations.ApiModel;\nimport io.swagger.annotations.ApiModelProperty;\nimport com.baomidou.mybatisplus.annotation.TableName;\nimport com.baomidou.mybatisplus.annotation.TableId;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n\n /**\n * {{=it.entity.defName}};{{=it.entity.comment}}\n * @author : http://www.chiner.pro\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\n */\n@ApiModel(value = \"{{=it.entity.defName}}\",description = \"{{=it.entity.comment}}\")\n@TableName(\"{{=it.entity.defKey}}\")\npublic class {{=beanClass}} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n @ApiModelProperty(name = \"{{=field.defName}}\",notes = \"{{=field.comment}}\")\n {{? field.primaryKey }}\n @TableId\n {{?}}\n private {{=field.type}} {{=it.func.camel(field.defKey,false)}} ;\n{{~}}\n$blankline\n\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.defKey,true)}}(){\n return this.{{=it.func.camel(field.defKey,false)}};\n }\n /** {{=it.func.join(field.defName,field.comment,';')}} */\n public void set{{=it.func.camel(field.defKey,true)}}({{=field.type}} {{= it.func.camel(field.defKey,false) }}){\n this.{{=it.func.camel(field.defKey,false)}}={{=it.func.camel(field.defKey,false)}};\n }\n{{~}}\n}"
},
{
"applyFor": "29D1CE08-4C35-4D2D-AAA9-23D93305B52E",
"type": "dbDDL",
"createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n `{{=field.defKey}}` {{?field.autoIncrement}}INT AUTO_INCREMENT{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }}{{?}} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}\n",
"update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('ALTER TABLE '+before.defKey+' RENAME TO '+after.defKey);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldAdded) { \n let ddlItem = 'ADD COLUMN `'+field.defKey+'` '+field.dbType;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n if(field.autoIncrement){\n ddlItem += ' AUTO_INCREMENT';\n }\n if(field.defaultValue){\n ddlItem += (' DEFAULT ' + field.defaultValue);\n }\n ddlItem += (' COMMENT \\''+field.defName+';'+field.comment+'\\'');\n \n if(field.index>0 && field.afterFieldKey){\n ddlItem += (' AFTER '+field.afterFieldKey);\n }\n ret.push(ddlItem);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldRemoved) { \n ret.push('DROP '+field.defKey);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey === after.defKey){\n changeDDL += (' MODIFY COLUMN `'+after.defKey+'`');\n }else{\n changeDDL += (' CHANGE COLUMN `'+before.defKey+'` `'+after.defKey+'`');\n }\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n let defaultValue = '';\n if(after.defaultValue != null && after.defaultValue.length>0){\n defaultValue = (after.defaultValue);\n }else{\n defaultValue = 'NULL';\n }\n if(defaultValue != 'NULL'){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n\n let comment = after.defName;\n if(after.comment){\n comment = comment + ';' + (after.comment||'');\n }\n if(comment){\n changeDDL += (' COMMENT \\''+comment+'\\';');\n }\n \n ret.push(firstDDL+' '+changeDDL);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
},
{
"applyFor": "A4E23CB7-BB01-4BD1-9F71-F73F3E15A542",
"type": "dbDDL",
"createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{?field.autoIncrement}}NUMBER(11) generated by default as IDENTITY, {{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}{{?}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* -------------------------------------------------- */\n创建表:\n{{~ createEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* -------------------------------------------------- */\n删除表:\n{{~ dropEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* -------------------------------------------------- */\n修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n {{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n {{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}\n {{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('\\n\\t建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('\\n\\t解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}\n{{=indexChanged?'\\n\\t更改了索引':''}}\n{{=changed?'\\n\\t更改了属性':''}}\n{{=relaArray.length>0?relaArray.join(''):''}}\n{{~}}\n{{?}}",
"update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD (${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n ddlItem += ')';\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n changeDDL += ('MODIFY ('+after.defKey+'');\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n \n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n changeDDL += ')';\n ret.push(`${firstDDL} ${changeDDL};`);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
},
{
"applyFor": "BFC87171-C74F-494A-B7C2-76B9C55FACC9",
"type": "dbDDL",
"createTable": "IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[{{=it.entity.defKey}}]') AND type in (N'U')) DROP TABLE [dbo].[{{=it.entity.defKey}}];\n\nCREATE TABLE [dbo].[{{=it.entity.defKey}}](\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{?field.autoIncrement}}INT IDENTITY(1,1) {{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}{{?}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
"update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`EXEC sp_rename '${before.defKey}','${after.defKey}'`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `IF ((SELECT COUNT(*) FROM ::fn_listextendedproperty('MS_Description','SCHEMA', 'dbo','TABLE', '${after.defKey}', NULL, NULL)) > 0)\n \\n\\tEXEC sp_updateextendedproperty 'MS_Description', '${commentText}','SCHEMA', 'dbo','TABLE', '${after.defKey}'\n \\nELSE\n \\n\\tEXEC sp_addextendedproperty 'MS_Description', '${commentText}', 'SCHEMA', 'dbo','TABLE', '${after.defKey}'\n `;\n ret.push(myText);\n /*ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');*/\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD [${field.defKey}] ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `EXEC sp_addextendedproperty 'MS_Description', N'${commentText}','SCHEMA', N'dbo','TABLE', N'${entity.data.baseInfo.defKey}','COLUMN', N'${field.defKey}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN [${field.defKey}]`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE [dbo].[${entity.data.baseInfo.defKey}]`;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey === after.defKey){\n changeDDL += (' ALTER COLUMN ['+after.defKey+']');\n }else{\n let renameText = `EXEC sp_rename '[dbo].[${entity.data.baseInfo.defKey}].[${before.defKey}]','${after.defKey}','COLUMN';`;\n ret.push(renameText);\n continue;\n }\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n \n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n ret.push(`${firstDDL} ${changeDDL};`);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
},
{
"applyFor": "DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022",
"type": "dbDDL",
"createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{? field.autoIncrement}}SERIAL{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
"update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD COLUMN ${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n } \n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n if(before.dbType !== after.dbType || before.len !== after.len || before.scale !== after.scale){\n let dbTypeDDL = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${after.defKey} TYPE ${before.dbType}`;\n if(after.len>0){\n dbTypeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n dbTypeDDL += (','+after.scale);\n }\n dbTypeDDL += ')';\n }\n ret.push(dbTypeDDL+';');\n }\n \n if(before.defaultValue !== after.defaultValue){\n let defaultDDL = '';\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"NULL\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n defaultDDL += ('SET DEFAULT ' + defaultValue);\n }\n let defaultTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${defaultDDL};`;\n ret.push(defaultTpl);\n }\n \n if(before.notNull !== after.notNull){\n let notNullDDL= 'SET NULL';\n if(after.notNull){\n let notNullDDL= 'SET NOT NULL';\n }\n let notNullTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${notNullDDL};`;\n ret.push(notNullTpl);\n }\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n-- 索引重建\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
},
{
"type": "dbDDL",
"applyFor": "89504F5D-94BF-4C9E-8B2E-44F37305FED5",
"createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{?field.autoIncrement}}DECIMAL(17) GENERATED ALWAYS AS IDENTITY(START WITH 1 INCREMENT BY 1),{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}{{?}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' AUTO_INCREMENT' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTOINCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }} --{{=it.func.join(field.defName,field.comment,';')}}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i0只有为decimal类型或double类型时才保留长度和小数的位数*/\n{{~it.entity.fields:field:index}}\n {{=it.func.lowerCase(field.defKey)}} {{=it.func.lowerCase(field.type)=='varchar'||it.func.lowerCase(field.type)=='char'||it.func.lowerCase(field.type)=='text'||it.func.lowerCase(field.type)=='date'||it.func.lowerCase(field.type)=='datetime' ? 'string':it.func.lowerCase(field.type)=='tinyint unsigned'||it.func.lowerCase(field.type)=='bit'||it.func.lowerCase(field.type)=='integer'||it.func.lowerCase(field.type)=='tinyint'||it.func.lowerCase(field.type)=='smallint'||it.func.lowerCase(field.type)=='mediumint' ? 'int':it.func.lowerCase(field.type)=='int unsigned' ? 'bigint':it.func.lowerCase(field.type)}}{{?field.len>0&&(it.func.lowerCase(field.type)=='decimal'||it.func.lowerCase(field.type)=='double')}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{=')'}}{{?}}{{?}} comment '{{=it.func.join(field.defName,field.comment,'')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n{{?}}\n)\n{{\n let partitionedBy = it.entity.properties['partitioned by'];\n partitionedBy = partitionedBy?partitionedBy:'请在扩展属性中配置[partitioned by]属性';\n}}\ncomment '{{=it.func.join(it.entity.defName,';') }}'\n/**是否分区表,分区字段名和字段注释自定义*/\n[partitioned by {{=partitionedBy}}]\n/**文件存储格式自定义*/\n[stored as orc]\n/**hdfs上的地址自定义*/\n[location xxx]\n;",
"createView": "",
"deleteTable": "",
"createIndex": "",
"deleteIndex": "",
"message": "",
"update": ""
},
{
"applyFor": "B91D99E0-9B7C-416C-8737-B760957DAF09",
"type": "appCode",
"content": "{{\n var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1<10?\"0\"+today.getMonth():today.getMonth();\n var days=today.getDate()<10?\"0\"+today.getDate():today.getDate();\n var hours = today.getHours()<10?\"0\"+today.getHours():today.getHours(); \n\tvar minutes = today.getMinutes()<10?\"0\"+today.getMinutes():today.getMinutes(); \n\tvar seconds = today.getSeconds()<10?\"0\"+today.getSeconds():today.getSeconds(); \n}}\n// Package models {{=it.func.join(it.entity.defName,it.entity.comment,',')}}\n// author : http://www.liyang.love\n// date : {{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\n// desc : {{=it.func.join(it.entity.defName,it.entity.comment,',')}}\npackage models\n\n$blankline\n\n// {{=it.func.camel(it.entity.defKey,true) }} {{=it.func.join(it.entity.defName,it.entity.comment,',')}}。\n// 说明:{{=it.entity.comment}}\n// 表名:{{=it.entity.defKey}}\n// group: {{=it.func.camel(it.entity.defKey,true) }}\n// obsolete:\n// appliesto:go 1.8+;\n// namespace:hongmouer.his.models.{{=it.func.camel(it.entity.defKey,true) }}\n// assembly: hongmouer.his.models.go\n// class:HongMouer.HIS.Models.{{=it.func.camel(it.entity.defKey,true) }}\n// version:{{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\ntype {{=it.func.camel(it.entity.defKey,true) }} struct {\n {{~it.entity.fields:field:index}}\n {{=formatGoLang(it.func.camel(field.defKey,true),null,field,it.entity.fields,null,1)}} {{=formatGoLang(field.type,\"type\",field,it.entity.fields,10,3)}} `gorm:\"column:{{=field.primaryKey?\"primaryKey;\":\"\"}}{{=field.defKey}}\" json:\"{{=it.func.camel(field.defKey,true)}}\"` {{=formatGoLang(\"gorm:column:\"+field.defKey+\" json:\"+it.func.camel(field.defKey,true),null,field,it.entity.fields,null,2)}} //type:{{=formatGoLang(field.type,\"type\",field,it.entity.fields,null,3)}} comment:{{=formatGoLang(it.func.join(field.defName,field.comment,';'),\"defName\",field,it.entity.fields,null,4)}} version:{{=fullYear}}-{{=month}}-{{=days}} {{=hours}}:{{=minutes}}\n {{~}}\n}\n\n\n$blankline\n// TableName 表名:{{=it.entity.defKey}},{{=it.entity.defName}}。\n// 说明:{{=it.entity.comment}}\nfunc (ZentaoUserInfo) TableName() string {\n\treturn \"{{=it.entity.defKey}}\"\n}\n\n{{\n\nfunction formatGoLang(str, fieldName, field, fileds, emptLength, isFiled) {\n var maxLength = 0;\n\n if (isFiled == 1) {\n for (var i = 0; i < fileds.length; i++) {\n if (getBlength(it.func.camel(fileds[i].defKey, true)) > maxLength) {\n maxLength = getBlength(it.func.camel(fileds[i].defKey, true)) + 2;\n }\n }\n } else if (isFiled == 2) {\n for (var i = 0; i < fileds.length; i++) {\n var newStr = \"gorm:column:\" + fileds[i].defKey + \" json:\" + it.func.camel(fileds[i].defKey, true);\n if (getBlength(newStr) > maxLength) {\n maxLength = getBlength(newStr) + 2;\n }\n }\n var empt = \"\";\n var strLength = getBlength(str);\n if (field.primaryKey) {\n strLength += getBlength(\"primaryKey;\");\n }\n for (var j = 0; j < maxLength - strLength; j++) {\n empt += ' ';\n }\n return empt;\n } else if (isFiled == 3) {\n /*获取某个字段的最大长度*/\n for (var i = 0; i < fileds.length; i++) {\n var newStr = eval(\"fileds[\" + i + \"].\" + fieldName);\n if (getBlength(newStr) > maxLength) {\n maxLength = getBlength(newStr) + 1;\n }\n }\n } else if (isFiled == 4) {\n /*获取某个字段的最大长度*/\n for (var i = 0; i < fileds.length; i++) {\n var newStr = fileds[i].comment + \";\" + fileds[i].defName;\n if (getBlength(newStr) > maxLength) {\n maxLength = getBlength(newStr) + 1;\n }\n }\n }\n else {\n maxLength = emptLength;\n }\n\n var strLength = getBlength(str);\n for (var j = 0; j < maxLength - strLength; j++) {\n str += ' ';\n }\n return str;\n}\n\nfunction getBlength(str) {\n var n = 0;\n for (var i = str.length; i--;) {\n n += str.charCodeAt(i) > 255 ? 2 : 1;\n }\n return n;\n} \n\n}}"
},
{
"applyFor": "BDF457FD-9F98-4AC3-A705-7587B00A3BAB",
"type": "appCode",
"struct": "use chrono::{DateTime, Local};\nuse serde::{Deserialize, Serialize};\n$blankline\n/// {{=it.entity.defName}}\n#[derive(Serialize, Deserialize, Debug, Clone)]\n{{ var today=new Date();\n var fullYear=today.getFullYear();\n var month=today.getMonth() + 1;\n var days=today.getDate();\n \n var pkVarName = \"undefinedId\";\n var pkDataType = \"String\";\n it.entity.fields.forEach(function(field){\n if(field.primaryKey){\n pkVarName = it.func.camel(field.defKey,false);\n pkDataType = field[\"type\"];\n return;\n }\n });\n \n var pkgName = it.entity.env.base.nameSpace;\n var beanClass = it.entity.env.base.codeRoot;\n var beanVarName = beanClass.charAt(0).toLowerCase()+beanClass.slice(1);\n \n}}\npub struct {{=beanClass}} {\n {{~it.entity.fields:field:index}}\n {{\n let fieldDateType = field.type;\n if(!field.notNull){\n fieldDateType = 'Option<'+fieldDateType+'>';\n }\n }}/// {{=field.defName}}\n pub {{=it.func.camel(field.defKey,false)}}: {{=fieldDateType}},\n {{~}}\n}\n"
},
{
"applyFor": "56F4B55B-F0B8-4049-9E6B-50B95C1D793A",
"type": "dbDDL",
"createTable": "CREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* -------------------------------------------------- */\n创建表:\n{{~ createEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* -------------------------------------------------- */\n删除表:\n{{~ dropEntities:entity}}\n {{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* -------------------------------------------------- */\n修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n {{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n {{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n {{?}}{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}\n {{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('\\n\\t建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('\\n\\t解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}\n{{=indexChanged?'\\n\\t更改了索引':''}}\n{{=changed?'\\n\\t更改了属性':''}}\n{{=relaArray.length>0?relaArray.join(''):''}}\n{{~}}\n{{?}}",
"update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD (${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n ddlItem += ')';\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n changeDDL += ('MODIFY ('+after.defKey+'');\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n \n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n changeDDL += ')';\n ret.push(`${firstDDL} ${changeDDL};`);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
},
{
"applyFor": "483F9346-C99E-4014-A1D2-A554606BD8A3",
"type": "dbDDL",
"createTable": "{{let dorisDistributedBy = it.entity.properties['dorisDistributedBy'];\n dorisDistributedBy = dorisDistributedBy?dorisDistributedBy:'请在表的扩展属性中配置[dorisDistributedBy]属性';\n}}CREATE TABLE IF NOT EXISTS {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n `{{=field.defKey}}` {{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.defName,field.comment,';')}}' {{= index < it.entity.fields.length-1 ? ',' : '' }}\n{{~}}\n) COMMENT '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}'\n{{=dorisDistributedBy}} ;\n$blankline\n",
"createView": "",
"deleteTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};",
"createIndex": "",
"deleteIndex": "",
"message": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChanged(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('代码:'+(before.defKey||'NULL')+'->'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}\n",
"update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push('ALTER TABLE '+before.defKey+' RENAME TO '+after.defKey);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n ret.push('ALTER TABLE '+after.defKey+' COMMENT \\''+commentText+'\\'');\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldAdded) { \n let ddlItem = 'ADD COLUMN `'+field.defKey+'` '+field.dbType;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n }\n if(field.autoIncrement){\n ddlItem += ' AUTO_INCREMENT';\n }\n if(field.defaultValue){\n ddlItem += (' DEFAULT ' + field.defaultValue);\n }\n ddlItem += (' COMMENT \\''+field.defName+';'+field.comment+'\\'');\n \n if(field.index>0 && field.afterFieldKey){\n ddlItem += (' AFTER '+field.afterFieldKey);\n }\n ret.push(ddlItem);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldRemoved) { \n ret.push('DROP '+field.defKey);\n }\n return firstDDL+'\\n'+ret.join(',\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = 'ALTER TABLE '+entity.data.baseInfo.defKey;\n for (let field of fieldModified) { \n let changeDDL = '';\n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey === after.defKey){\n changeDDL += (' MODIFY COLUMN `'+after.defKey+'`');\n }else{\n changeDDL += (' CHANGE COLUMN `'+before.defKey+'` `'+after.defKey+'`');\n }\n changeDDL += (' '+after.dbType);\n if(after.len>0){\n changeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n changeDDL += (','+after.scale);\n }\n changeDDL += ')';\n }\n if(after.notNull){\n changeDDL += ' NOT NULL';\n }\n let defaultValue = '';\n if(after.defaultValue != null && after.defaultValue.length>0){\n defaultValue = (after.defaultValue);\n }else{\n defaultValue = 'NULL';\n }\n if(defaultValue != 'NULL'){\n changeDDL += (' DEFAULT ' + defaultValue);\n }\n\n let comment = after.defName;\n if(after.comment){\n comment = comment + ';' + (after.comment||'');\n }\n if(comment){\n changeDDL += (' COMMENT \\''+comment+'\\';');\n }\n \n ret.push(firstDDL+' '+changeDDL);\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
},
{
"applyFor": "ABF5836C-0B7C-4007-A41C-F869325E5842",
"type": "dbDDL",
"createTable": "DROP TABLE IF EXISTS {{=it.entity.defKey}};\nCREATE TABLE {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.primaryKey }}{{ pkList.push(field.defKey) }}{{?}}\n {{=field.defKey}} {{? field.autoIncrement}}SERIAL{{??}}{{=field.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.defaultValue ? it.func.join(' DEFAULT ',field.defaultValue,' ') : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i'+(after.defKey||'NULL'));\n }\n if(before.defName !== after.defName){\n ret.push('显示名称:'+(before.defName||'NULL')+'->'+(after.defName||'NULL'));\n }\n if(before.comment !== after.comment){\n ret.push('说明:'+(before.comment||'NULL')+'->'+(after.comment||'NULL'));\n }\n if(ret.length>0){\n return ' 基本信息:\\n\\t'+ret.join('\\n\\t');\n }\n return '';\n };\n \n function buildAddedDesc(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n \n for (let field of fieldAdded) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildRemovedDesc(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n \n for (let field of fieldRemoved) { \n let row = [];\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n \n function buildModifiedDesc(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n for (let field1 of fieldModified) { \n let row = [];\n let field = field1.before;\n row.push(field.defKey+'['+field.defName+']');\n ret.push(row.join(\"\"))\n }\n return ret;\n };\n}}\n\n\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=entity.data.defKey}}[{{=entity.data.defName}}]\n{{~}}\n{{?}}\n\n{{? modifyEntities && modifyEntities.length > 0}}\n/* --------------- 修改表 --------------- */\n{{~ modifyEntities:entity}}\n{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]{{let changeText=baseChanged(entity.data.baseChanged);}}\n{{=baseChanged(entity.data.baseChanged)}}\n {{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n 修改字段:\n {{='\\t'}}{{=buildModifiedDesc(entity).join('\\n\\t')}}{{?}}{{\n /*计算是否调整了属性*/\n let propAdded = entity.data.propAdded || [];\n let propRemoved = entity.data.propRemoved || [];\n let propModified = entity.data.propModified || [];\n let changed = propAdded.length>0 || propRemoved.length>0 || propModified.length>0;\n /*计算关联是否调整*/\n let refEntityAdd = entity.data.refEntityAdd || [];\n let refEntityRemoved = entity.data.refEntityRemoved || [];\n let relaArray = [];\n for (let rela of refEntityAdd) {\n relaArray.push('建立关联:'+rela.defKey+'['+rela.defName+']');\n }\n for (let rela of refEntityRemoved) {\n relaArray.push('解除关联:'+rela.defKey+'['+rela.defName+']');\n }\n /*索引是否修改过*/\n let indexChanged = entity.data.indexChanged;\n }}{{=indexChanged?'\\n\\t更改了索引':''}}{{=changed?'\\n\\t更改了属性':''}}{{=relaArray.length>0?('\\n\\t'+relaArray.join('\\n\\t')):''}}\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n 添加字段:\n{{='\\t'}}{{=buildAddedDesc(entity).join('\\n\\t')}}\n{{?}}{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n 删除字段:\n{{='\\t'}}{{=buildRemovedDesc(entity).join('\\n\\t')}}\n{{?}}\n{{~}}\n{{?}}",
"update": "{{\n let createEntities = it.changes.filter(function(row){return (row.opt==='add'&&row['type']==='entity');});\n let dropEntities = it.changes.filter(function(row){return (row.opt==='delete'&&row['type']==='entity');});\n let modifyEntities = it.changes.filter(function(row){return (row.opt==='update'&&row['type']==='entity');});\n \n function baseChangedDDL(beforeAfter){\n if(beforeAfter == null){\n return '';\n }\n let ret = [];\n let before = beforeAfter.before || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n let after = beforeAfter.after || {\"defKey\":\"\",\"defName\":\"\",\"comment\":\"\"};\n if(before.defKey !== after.defKey){\n ret.push(`ALTER TABLE ${before.defKey} RENAME TO ${after.defKey}`);\n }\n let commentText = '';\n let commentChanged = false;\n if(before.defName !== after.defName){\n commentText = after.defName;\n commentChanged = true;\n }\n if(before.comment !== after.comment){\n commentChanged = true;\n if(commentText){\n commentText = (commentText+ ';'+after.comment)\n }else{\n commentText = after.comment\n }\n }\n if(commentChanged){\n let myText = `COMMENT ON TABLE ${after.defKey} IS '${commentText}'`;\n ret.push(myText);\n }\n let baseText = '-- 基本信息:\\n';\n return baseText+ret.join(';\\n')+';';\n };\n \n function buildAddedDDL(entity){\n let ret = [];\n let fieldAdded = entity.data.fieldAdded||[];\n if(fieldAdded.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldAdded) { \n let ddlItem = `ADD COLUMN ${field.defKey} ${field.dbType}`;\n /*处理数据类型长度*/\n if(field.len>0){\n ddlItem += ('('+field.len);\n if(parseInt(field.scale)>0){\n ddlItem += (','+field.scale);\n }\n ddlItem += ')';\n }\n if(field.notNull){\n ddlItem += ' NOT NULL';\n } \n let defaultValue = field.defaultValue;\n defaultValue = (defaultValue==null)?\"\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n ddlItem += (' DEFAULT ' + defaultValue);\n }\n\n ret.push(`${firstDDL} ${ddlItem}`);\n \n /*处理字段注释*/\n let fieldComments = [];\n if(field.defName != null &&field.defName.length>0){\n fieldComments.push(field.defName);\n }\n if(field.comment != null &&field.comment.length>0){\n fieldComments.push(field.comment);\n }\n let commentText = fieldComments.join(';');\n if(commentText != null && commentText.length > 0){\n let commentDDL = `COMMENT ON COLUMN ${entity.data.baseInfo.defKey}.${field.defKey} IS '${commentText}'`;\n ret.push(commentDDL);\n }\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildRemovedDDL(entity){\n let ret = [];\n let fieldRemoved = entity.data.fieldRemoved||[];\n if(fieldRemoved.length == 0){\n return '';\n }\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldRemoved) { \n ret.push(`${firstDDL} DROP COLUMN ${field.defKey}`);\n }\n return '\\n'+ret.join(';\\n');\n };\n \n function buildModifiedDDL(entity){\n let ret = [];\n let fieldModified = entity.data.fieldModified||[];\n \n let firstDDL = `ALTER TABLE ${entity.data.baseInfo.defKey}`;\n for (let field of fieldModified) { \n let before = field.before || {};\n let after = field.after || {};\n if(before.defKey !== after.defKey){\n let renameText = `ALTER TABLE ${entity.data.baseInfo.defKey} RENAME COLUMN ${before.defKey} TO ${after.defKey};`;\n ret.push(renameText);\n }\n /*如果没有变化,则不生成变更语句*/\n if(before.dbType === after.dbType \n && before['len'] === after['len'] \n && before.scale === after.scale\n && before.primaryKey === after.primaryKey\n && before.notNull === after.notNull\n && before.autoIncrement === after.autoIncrement\n && before.defaultValue === after.defaultValue){\n continue;\n }\n if(before.dbType !== after.dbType || before.len !== after.len || before.scale !== after.scale){\n let dbTypeDDL = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${after.defKey} TYPE ${before.dbType}`;\n if(after.len>0){\n dbTypeDDL += ('('+after.len);\n if(parseInt(after.scale)>0){\n dbTypeDDL += (','+after.scale);\n }\n dbTypeDDL += ')';\n }\n ret.push(dbTypeDDL+';');\n }\n \n if(before.defaultValue !== after.defaultValue){\n let defaultDDL = '';\n let defaultValue = after.defaultValue;\n defaultValue = (defaultValue==null)?\"NULL\":(\"\"+defaultValue);\n if(defaultValue.length>0){\n defaultDDL += ('SET DEFAULT ' + defaultValue);\n }\n let defaultTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${defaultDDL};`;\n ret.push(defaultTpl);\n }\n \n if(before.notNull !== after.notNull){\n let notNullDDL= 'SET NULL';\n if(after.notNull){\n let notNullDDL= 'SET NOT NULL';\n }\n let notNullTpl = `ALTER TABLE ${entity.data.baseInfo.defKey} ALTER COLUMN ${notNullDDL};`;\n ret.push(notNullTpl);\n }\n }\n return ret;\n };\n}}\n{{? createEntities && createEntities.length > 0}}\n/* --------------- 创建表 --------------- */\n{{~ createEntities:entity}}\n{{=it.func.createDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? dropEntities && dropEntities.length > 0}}\n/* --------------- 删除表 --------------- */\n{{~ dropEntities:entity}}\n{{=it.func.dropDDL(entity.data,entity['type'])}}\n{{~}}\n{{?}}\n\n\n{{? modifyEntities && modifyEntities.length > 0}}\n{{~ modifyEntities:entity}}\n/* --------------- 修改表 --------------- */\n-- 修改表:{{=entity.data.baseInfo.defKey}}[{{=entity.data.baseInfo.defName}}]\n{{=baseChangedDDL(entity.data.baseChanged)}}\n{{? entity.data.fieldModified && entity.data.fieldModified.length > 0}}\n-- 修改字段:\n{{=buildModifiedDDL(entity).join('\\n')}}\n{{?}}{{\n/*索引是否修改过*/\nlet indexChanged = entity.data.indexChanged;\n}}\n{{? indexChanged }}\n-- 索引重建\n{{=it.func.indexRebuildDDL(entity.data.baseInfo,entity.data.newIndexes,entity.data.fullFields,entity['type'])}}\n{{?}}\n\n{{? entity.data.fieldAdded && entity.data.fieldAdded.length > 0}}\n-- 添加字段:\n{{=buildAddedDDL(entity)}};\n{{?}}\n\n{{? entity.data.fieldRemoved && entity.data.fieldRemoved.length > 0}}\n-- 删除字段:\n{{=buildRemovedDDL(entity)}};\n{{?}}\n{{~}}\n{{?}}"
}
],
"generatorDoc": {
"docTemplate": ""
},
"relationFieldSize": "15",
"uiHint": [
{
"defKey": "Input",
"defName": "普通输入框",
"id": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "Select",
"defName": "下拉输入框",
"id": "FB111359-2B73-4443-926C-08A98E446448"
},
{
"defKey": "CheckBox",
"defName": "复选框",
"id": "0CB8A6C9-1115-4FC0-B51E-5C028065082F"
},
{
"defKey": "RadioBox",
"defName": "单选框",
"id": "5C04987A-260F-4B7C-A5D5-22A181AAE9CA"
},
{
"defKey": "Double",
"defName": "小数输入",
"id": "8D5BAFE4-E15C-4707-A047-8EE59C58E70F"
},
{
"defKey": "Integer",
"defName": "整数输入",
"id": "9999AF2A-A44E-415C-A2DC-D7C613BD0073"
},
{
"defKey": "Money",
"defName": "金额输入",
"id": "2B0C3D0C-7BAF-4B36-81AD-9362B5E5DC2E"
},
{
"defKey": "Date",
"defName": "日期输入",
"id": "E4D94E14-F695-487F-AFC2-4D888009B7DA"
},
{
"defKey": "DataYearMonth",
"defName": "年月输入",
"id": "936927E3-DD2D-4096-87FD-074CDE278D59"
},
{
"defKey": "Text",
"defName": "长文本输入",
"id": "D89DD4F1-ADAC-4469-BF8D-B3FF41AE7963"
},
{
"defKey": "RichText",
"defName": "富文本输入",
"id": "C134EB1F-4CFF-49E0-882F-2C6FB275CB20"
}
],
"headers": [
{
"refKey": "defKey",
"hideInGraph": false,
"value": "字段代码",
"freeze": false
},
{
"refKey": "defName",
"hideInGraph": false,
"value": "显示名称",
"freeze": false
},
{
"refKey": "primaryKey",
"hideInGraph": false,
"value": "主键",
"freeze": false
},
{
"refKey": "notNull",
"hideInGraph": true,
"value": "不为空",
"freeze": false
},
{
"refKey": "autoIncrement",
"hideInGraph": true,
"value": "自增",
"freeze": false
},
{
"refKey": "domain",
"hideInGraph": true,
"value": "数据域",
"freeze": false
},
{
"refKey": "type",
"hideInGraph": false,
"value": "数据类型",
"freeze": false
},
{
"refKey": "len",
"hideInGraph": false,
"value": "长度",
"freeze": false
},
{
"refKey": "scale",
"hideInGraph": false,
"value": "小数位数",
"freeze": false
},
{
"refKey": "comment",
"hideInGraph": true,
"value": "说明",
"freeze": false
},
{
"refKey": "refDict",
"hideInGraph": true,
"value": "数据字典",
"freeze": false
},
{
"refKey": "defaultValue",
"hideInGraph": true,
"value": "默认值",
"freeze": false
},
{
"refKey": "isStandard",
"hideInGraph": false,
"value": "标准字段",
"enable": false,
"freeze": false
},
{
"refKey": "uiHint",
"hideInGraph": true,
"value": "UI建议",
"enable": true,
"freeze": false
},
{
"refKey": "extProps",
"hideInGraph": true,
"value": "拓展属性",
"enable": true,
"freeze": false
},
{
"refKey": "attr1",
"value": "属性1",
"hideInGraph": true,
"enable": true,
"freeze": false
},
{
"refKey": "attr2",
"value": "属性2",
"hideInGraph": true,
"enable": false,
"freeze": false
},
{
"refKey": "attr3",
"value": "属性3",
"hideInGraph": true,
"enable": false,
"freeze": false
},
{
"refKey": "attr4",
"value": "属性4",
"hideInGraph": true,
"enable": false,
"freeze": false
},
{
"refKey": "attr5",
"value": "属性5",
"hideInGraph": true,
"enable": false,
"freeze": false
},
{
"refKey": "attr6",
"value": "属性6",
"hideInGraph": true,
"enable": false,
"freeze": false
},
{
"refKey": "attr7",
"value": "属性7",
"hideInGraph": true,
"enable": false,
"freeze": false
},
{
"refKey": "attr8",
"value": "属性8",
"hideInGraph": true,
"enable": false,
"freeze": false
},
{
"refKey": "attr9",
"value": "属性9",
"hideInGraph": true,
"enable": false,
"freeze": false
}
],
"modelType": "modalGroup",
"recentColors": [
"#d148d1",
"#ce4bce",
"#831b83",
"#dd31dd",
"#da2fda",
"#e988e9",
"#000000",
"#DDE5FF"
],
"DDLToggleCase": "L",
"menuWidth": "456px"
},
"entities": [
{
"id": "088D0DAA-B9F8-4251-9198-BBA382B05E52",
"defKey": "mdc_alarm_info",
"defName": "报警号代码库表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C347C6E9-D791-4A10-923C-70ADCDCD841B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "alarm_code",
"defName": "报警号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EFFAE2E1-53B3-4E5D-960B-17AB495661E3",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "alarm_content",
"defName": "报警内容",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C75EC3DC-7989-4CB7-9B9B-08C5DD626108",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "drive_type",
"defName": "设备驱动类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "700C8ABD-BF04-4DF9-8AF6-4A2A3263F8FD",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "is_use",
"defName": "是否启用",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4DB2BA35-0C69-47A3-AB72-92D1106011E5",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7B30827E-01CE-43FB-9EF8-04E05EA6728B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "17B45D8F-A14B-46B6-85A4-7F3677988F65",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B111CD5E-C208-47EF-80FB-CF9AECF9C3B7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2DA26802-69D2-4113-81AF-4D4FCFFC8E95",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "822E163F-D5F0-4A10-BC5F-2F4463A3F7A9",
"defKey": "mdc_device_calendar",
"defName": "设备工作日历表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键ID",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0626EE6C-73EB-492F-8BD7-30FB0A379216",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_id",
"defName": "班制ID",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "52487DEC-6041-44C5-B210-36DD73EEA76B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_sub_id",
"defName": "班次ID",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0DB95B92-9B8F-4B4C-AD83-8803884FE7C9",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "effective_date",
"defName": "生效日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "01F7DD6A-78D0-4493-BB9F-CC2B0E4332F0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "ECA6A202-3EF5-453A-A841-A2E5C196FF90",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9B299D5E-0F4E-431E-9C1F-945FA07B3D29",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "724C0088-3846-4A76-94EB-EDCE0FB555C7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7CFAEB8D-E5AA-4AA9-836D-3724E249FE91",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1FF4E943-2FB3-4AEE-AC28-027386589033",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "C88ACB56-91BD-4EB3-A96F-AF5B6588FBB9",
"defKey": "mdc_downtime",
"defName": "停机记录表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EBD65C24-35A1-48B0-B2E4-F5ADBE6F8BAB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "reason_id",
"defName": "停机原因id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "59936475-482E-4C0B-83E7-66C5C9354133",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0BACCDA8-8035-4DCA-8DDC-1F21D3A87E9F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6DCEA487-7E24-4912-97FF-13F33D02223D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "start_date",
"defName": "开始时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "494EF19E-8895-41F0-8A1D-944441CD2AF0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "end_date",
"defName": "结束时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DD30D097-3D18-43BE-9E77-CBD154F2916E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "status",
"defName": "状态(0未上报,1已上报)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6390850E-DA12-422F-9A20-C6127BA66804",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8FE3CAC0-D040-429E-8578-8B0A08A9AF73",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D77F8C65-12AE-4979-97B5-B72C18AD969C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DA8CA870-EB10-4EE4-A082-28CF5BCAE34A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "39BF5CBB-5604-40B6-A50A-28B6F8818062",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CEB86829-9C03-4F64-A8D6-AA448B907B59",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "34F6C0FF-2F3E-4938-8889-10C179D6C237",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "F4843843-FD90-4EEB-A3AC-32AC68544638",
"defKey": "mdc_downtime_reason",
"defName": "停机原因表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "ID",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6ECAC6D9-23DC-493E-883F-6467047DCE87",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "downtime_type",
"defName": "停机类型(0:计划停机 1:非计划停机)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "731A75EC-B5F5-41E8-95CD-62F8C5CDAFBE",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "downtime_description",
"defName": "停机原因描述",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1000,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "22958EAD-60B3-483F-AFC6-59D4F904B59F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DFB8143C-77A6-4B15-85E0-E91321374C99",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "339ACFDD-BB11-4E10-909E-25EC64AA4087",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建日期",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "08488411-E570-406C-B859-1BE36BF2BDF8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "54AC1EF5-1CD1-44AF-8183-A8C0FCEDB9F3",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新日期",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9056EAC7-50AF-4CDE-ABE7-84CC5A74074C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "7559481D-B10C-4D34-A546-B9BDEBAA81C7",
"defKey": "mdc_drive_type_param_config",
"defName": "驱动参数表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7C74DD10-2F13-4487-B500-C8B2025CBCF6",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "control_system_type",
"defName": "控制系统类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9CD8570C-9451-4648-86B4-E178DE3873D7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "chinese_name",
"defName": "中文名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "462B8108-C080-4B85-8512-44671103C53F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "english_name",
"defName": "英文名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "58392A14-1766-46C1-912A-D31F0AD597AB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sort_no",
"defName": "序号",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DB5F9991-C36A-4549-B77E-DDAC4AB860A9",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "show_flag",
"defName": "展示标志",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "ECC610A8-998C-463B-ADD0-5C26D1C58A92",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "curve_generation_flags",
"defName": "工作曲线生成标记",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4ADB2BF3-AAB2-4A69-BAFA-F114A9941C15",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E711150D-6936-4A5C-8432-7945FF145987",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CBE28CB1-0F48-4E23-A1AA-844758124A6F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "97AE3AD7-D4DE-43AC-AEA0-27C718998AB8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "83FF0541-B6FB-427D-B58E-21B6494F7B45",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "C55FA5BC-257D-47E1-BD0F-4E1FB9BF82C6",
"defKey": "mdc_equipment",
"defName": "设备表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EDA5F34D-FAA5-46E9-BA57-6A37C430AD1E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编码",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "20A7C1C9-DBEB-4529-AE44-5DB33C6F259E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "11E82DC3-AD2A-47B2-BBB3-774F12C25AC3",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_model",
"defName": "设备型号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FE51B34D-C405-4164-A359-AEAB099E62B8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "alarm",
"defName": "报警号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "12C7AEB7-4CC1-43C2-B46E-732098B83C67",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "collect_time",
"defName": "采集时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "('')",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A04BE74E-9189-4BA6-871E-EB1310A1A85F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_type",
"defName": "设备类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "60FE9115-48DA-4A99-9FB0-086AD3B1F79E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "oporation",
"defName": "设备实时状态",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "039C25AF-01B3-4C5F-8B22-F3352B62D56B",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_ip",
"defName": "机床IP",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F77A39DC-AE68-4338-83DB-242BD2358D91",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "77A78F47-56A9-4A81-807E-5AFB3FD75D10",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "drive_type",
"defName": "驱动类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0CE2B903-2938-4A65-9DE2-0FE1B3FE874D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "data_port",
"defName": "端口",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "79280B77-55B8-486D-B9E7-643BDF20B055",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "control_system",
"defName": "数控系统",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C6D52F98-E1DE-4ECA-934B-411283F4E7E4",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "save_table_name",
"defName": "采集参数表",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1AD1E761-79CD-4152-A2B0-DE712381234F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sort_no",
"defName": "排序",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C115D95A-B39E-4CD1-B8F1-75AC1EE948F6",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "system_version",
"defName": "系统版本",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6E59DC60-B49F-4712-B265-BFB5617747CB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "device_power",
"defName": "设备功率",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FA7201F3-A0C7-4245-A0CD-85258DE8ACFE",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_status",
"defName": "设备状态(0-正常,1-异常)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C1CD17D1-E911-4B35-A15F-E1B7BC67805F",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "system_type",
"defName": "系统类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D4FC1A1F-3D67-4D99-8DE9-67B101E77975",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "device_level",
"defName": "设备级别",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CC1C8156-42AF-4261-ACD3-622DC50EC6B0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "device_category",
"defName": "设备种类",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "029F1716-E25D-47C2-B454-4BB7B53AF393",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "device_type_dnc",
"defName": "是否DNC设备",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('((0))')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9EAE44CA-1467-4897-9A07-228EE5D9E3D1",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "device_type_mdc",
"defName": "是否MDC设备",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('((0))')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "18FF88CE-DDEB-47D9-B3AC-B3D97F1FA20D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3124D7CF-4FD6-49FE-A35C-2E1205B448F4",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "94BD1B28-5796-4F47-80BA-C8CCEFF7E1FE",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "23E06760-5A6D-46BD-9C64-989129993A5A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C5BC50A4-442C-4226-92A8-801ADFEE1EF9",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "95B694C8-0962-49EF-A9CF-6113189ED053",
"defKey": "mdc_equipment_depart",
"defName": "设备部门表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "87860A0F-CBFD-4CB5-AEE8-7839EB6677BF",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "用户id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3C4F6B63-1DCB-4153-9B8A-29D6511378F6",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "dep_id",
"defName": "部门id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "04F11BAE-0695-4FA1-8A4A-07F71D1B4765",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "9EFD5D3D-5DEC-469B-8358-8B54EC778CC5",
"defKey": "mdc_equipment_over_flag",
"defName": "设备程序执行结束标志表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "ID",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CAF0CE91-70C5-45BC-A9DC-1E54877FE045",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "drive_type",
"defName": "驱动类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "73445B83-DDF1-402E-948C-10BF2F377F72",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "over_flag",
"defName": "结束标志",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EE752208-F933-43AC-8FA3-280490249735",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "over_field",
"defName": "判断结束字段",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EABFFB8D-831B-4F29-A850-AE5867816015",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EBAAB22F-C8ED-4DCC-97D1-06B055FF96BF",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F06B3B2D-2E83-4C02-BC3F-8EC421FD0ED0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "17F2A0AA-0743-4B7C-8CA1-74A232321378",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AE8F203C-0C2F-4922-9383-26AE8CE2432C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "FBCCDF12-3B77-424F-A6D5-9D7EE656B6ED",
"defKey": "mdc_equipment_overtime",
"defName": "设备加班表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3CB53F3C-F964-4A49-91CE-EA0A11902BAD",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "start_time",
"defName": "开始时间",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "03871083-CFC2-4E07-B6D1-795239CB03C4",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "end_time",
"defName": "结束时间",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EB343D5C-2C53-4F96-A0BA-5EEA7C7387E2",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "723575FD-7DEB-4E58-AACF-CFFFEB5B09B8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "duration",
"defName": "加班时长",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F6C382F5-2059-424C-9CB9-69F4DCD597E2",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "auto_flag",
"defName": "自动生成标记",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "35344BF0-69C5-4C94-AF7F-13D75B6F3126",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1E0E4674-BA89-4C39-87DD-EE5C77AF5D07",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FA89B957-A8BC-448F-836F-9467B5B8986C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "58CC2DF3-6AFA-455F-B44A-BD33EAEB4112",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "12296425-39B0-4C88-9D21-FC9FE72AE394",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BE35E1A9-7411-4CBC-88B0-064234744619",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "13BF68AD-BCA6-40AB-9537-9D15998A4B24",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "8040B64D-9687-4CD3-8046-BA53924725C6",
"defKey": "mdc_equipment_repair",
"defName": "休班维修表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8A0A8650-EDE8-44C8-957C-6CE97ECFA0D3",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5709E8B7-C388-46FA-A220-3E3DE967E2E3",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "72D122E4-8FA3-4280-B282-C8B887DFF431",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "mdc_repair_type",
"defName": "维修类型 维修:1 休班:2",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "342AC38C-1A87-4910-B4EC-7F5778FAD715",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "start_time",
"defName": "开始时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "777C1049-3292-4434-AA69-E82E0E595475",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "end_time",
"defName": "结束时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8A5EB335-9C59-42C2-B22A-F2113CE8E67C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "mdc_repair_type_dict_text",
"defName": "类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "851AD8B2-2BC7-4491-8246-83ECDCFE254D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8660A9EA-9739-47ED-B12E-5394CFAD64D3",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6F142715-3795-41FB-8AEA-FB3C58FB9B1F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "68CCA919-F26A-4A5C-ACDA-14275421BF76",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "711DD501-6AFE-4AFF-9B37-72FEE14D2AA8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "7E01BB3F-8A68-4A5B-8531-9B0F4B90BF08",
"defKey": "mdc_equipment_running_section",
"defName": "设备运行状态时间段表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A4188128-B41C-4C15-8521-E7746BF8688B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9A2F9914-5DC6-4248-9D5C-5A1ACEF663BC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "alarm",
"defName": "报警号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3C5D8E59-4C19-400F-BFEA-D177A07F3E9B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "duration",
"defName": "时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BE7D3D08-F478-4326-B27A-2E46B65FED4B",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "status",
"defName": "状态,0:关机,1:开机,2:待机,3:工作,22:报警",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1DB2AA6E-EB81-47DB-9517-7845792F0B97",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sequence_number",
"defName": "程序号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5945A38A-D6F5-4E2D-B01A-F596CA61948B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "belt_line",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "841EA590-C576-41C9-9FD3-4A9E31F6EF77",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "start_time",
"defName": "开始时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "78675B9B-C006-4F35-8550-DB5DE8BB7135",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "end_time",
"defName": "结束时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C741FD49-C7DC-433D-B9DC-5851F3347A97",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "start_long",
"defName": "开始时间戳",
"comment": "",
"domain": "",
"type": "bigint",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "51B7F598-C970-465A-A705-4DF4E6D8792A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "end_long",
"defName": "结束时间戳",
"comment": "",
"domain": "",
"type": "bigint",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "165C97DB-0ECA-4F4F-9079-030936E069D9",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7F0095AA-C8BC-4783-A469-5CBA47478971",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B747532D-C4B8-4193-A68B-B674FB0DF086",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0579312D-7F26-4B3E-BA5E-B81AA9E7B10B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3CDADD90-71D1-4912-ADB1-AA6D0DD22221",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "60E6EFF6-7903-46F9-8AD6-31CAAF4B43BE",
"defKey": "mdc_equipment_statistical_info",
"defName": "日设备运行数据表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5C2430F5-96BE-44E0-9CAD-661EE1570370",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4F64E6DF-D3F9-4EF7-91B0-0EDB7A5EBE00",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "open_long",
"defName": "开机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5CCB8DFF-563B-4227-B97F-9D07F2F96F17",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "close_long",
"defName": "关机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4FCD0028-169E-4FE0-9B69-76D775AED5EA",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "wait_long",
"defName": "待机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6AD19F33-E67D-4F72-80B3-96B7F5E8C4A4",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_long",
"defName": "加工时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3C213C52-5A7E-4169-967B-ACE91F38ACEA",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "error_long",
"defName": "报警时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "77846CCA-1F8D-4AB7-AF37-DF9369E75FD7",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_date",
"defName": "有效日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A978F1EA-0574-4F9A-BCA0-A7820896B6DC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4775A0AF-9309-49BA-95D0-374881772A8A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "3F0CD361-E66B-492E-959F-DC687CFB4C82",
"defKey": "mdc_equipment_statistical_info_month",
"defName": "月设备运行数据表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "16120F75-6AA7-4483-868D-F07F511BB081",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "353D467C-D1C4-481B-9F3A-7528CED65A83",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备id",
"comment": "",
"domain": "16120F75-6AA7-4483-868D-F07F511BB081",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "57FE5E52-A22C-4845-A23A-7C14B0143531",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_month",
"defName": "有效月份",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AF4FAB4F-5B4B-409D-AC39-1DD7BE27F79D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "open_long",
"defName": "开机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D00F321A-22DB-4239-A517-419FFEEF776E",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "close_long",
"defName": "关机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9319D26D-F83E-4549-903E-8A1900894CD5",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "wait_long",
"defName": "待机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "08563B6F-0F8B-4AD1-A5B5-E9BC08C4B142",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_long",
"defName": "加工时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EC2D9CEB-35F4-46E7-9B63-31A77C7CEF12",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "error_long",
"defName": "报警时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A473D5F6-B6A6-4A9E-9978-5157170BE759",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "utilization_rate",
"defName": "利用率",
"comment": "",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"extProps": {},
"domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
"id": "43A1D87F-EC87-49B7-9E9B-B5F93A6A4815"
},
{
"defKey": "start_rate",
"defName": "开动率",
"comment": "",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"extProps": {},
"domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
"id": "1A1D761F-5D2E-4DA9-B32B-E3B8935158BC"
},
{
"defKey": "open_rate",
"defName": "开机率",
"comment": "",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"extProps": {},
"domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
"id": "D152062F-C97C-4CDB-A369-A4B547A1D03E"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1E20800F-FFFD-431B-9AB4-9325FA1D3CAB",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": [],
"notes": {}
},
{
"id": "2E87B09A-30F9-40DA-8685-3245BDA1774E",
"defKey": "mdc_equipment_statistical_shift_info",
"defName": "日班次设备运行数据表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EC2266C2-8B4F-4F89-8555-DD5B9717005D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E1371BD8-3296-4F6F-A01E-4F6331F8E896",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_id",
"defName": "班制id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7A6C353B-F167-4854-B215-F56AE79B2B47",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_sub_id",
"defName": "班次id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4259BF89-1D8C-44AF-AE55-CA99488EAF65",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "close_long",
"defName": "关机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2295F2C6-81A6-4C0A-AA52-C5D7648FBAF4",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "open_long",
"defName": "开机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "14B43393-D744-4980-A559-7FAA04575E18",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "error_long",
"defName": "报警时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "48D81906-5B48-44F3-B9E0-0C5564B7DA20",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "wait_long",
"defName": "待机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8EF92B45-5862-4018-A001-0D78B1A7B7A0",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_long",
"defName": "加工时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E32569D0-767C-4DE6-9915-945911DD28A6",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "total_long",
"defName": "有效时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "84519D63-7602-4520-8EE2-1B441A8BA2B0",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_date",
"defName": "有效日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BA6A26C5-A3B9-4508-AA86-307E80837C7E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D11B130A-D4A4-4199-9547-2C5903C53AED",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "643285F5-BB82-4ED2-AEF3-2B9C8591FD75",
"defKey": "mdc_equipment_statistical_shift_info_month",
"defName": "月班次设备运行数据表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9A16A66F-211C-4251-9B43-739E04143640",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A346C949-FD06-43C4-8C76-52F54AE6B02E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_month",
"defName": "有效月份",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "717ED0B8-D54A-4923-B302-BA94BDBBCEB9",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "close_long",
"defName": "关机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FD72B790-2729-47EE-9475-0EC6DCD3F81A",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "open_long",
"defName": "开机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "88920AD5-B3E4-4A45-A52D-8C2381840A7F",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "error_long",
"defName": "报警时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "61F3A138-07D4-4224-84AD-213AD102C5ED",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "wait_long",
"defName": "待机时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "00D05A0C-BA65-43F7-A4E1-3423E8A3903E",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_long",
"defName": "加工时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1409A18E-7F17-42B7-AE67-67997151FB95",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "total_long",
"defName": "有效时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A13A4ABA-481E-4823-ACB4-A70B5CFA8649",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "utilization_rate",
"defName": "利用率",
"comment": "",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"extProps": {},
"domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
"id": "83E72469-8515-4E5D-AA36-CA2182D8D697"
},
{
"defKey": "start_rate",
"defName": "开动率",
"comment": "",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"extProps": {},
"domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
"id": "17074C38-CE7B-4103-A1CD-A6316BBA9AA2"
},
{
"defKey": "open_rate",
"defName": "开机率",
"comment": "",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"baseType": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"extProps": {},
"domain": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4",
"id": "E70BECDD-1DC4-47FF-B74D-5F91A2170F51"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A6EA939F-6C43-485E-B486-8F041191F23F",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": [],
"notes": {}
},
{
"id": "F4E0C39E-9353-4BFC-A4E8-0B11702B8B4B",
"defKey": "mdc_equipment_threshold",
"defName": "设备参数阈值表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BA116F49-099A-4640-9C3B-BBE422CB8B72",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "control_system_type",
"defName": "控制系统类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "55A12F38-9A00-4AA4-AFDC-5D203B985D2E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "chinese_name",
"defName": "中文名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2115C9ED-BADB-4405-BABD-EC6B99798C29",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "english_name",
"defName": "英文名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "418BCB07-956D-46BF-8900-EA38CB1D1848",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "max_threshold",
"defName": "上限",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CFDA8C31-0981-4AA4-9A7A-2A8827287882",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "min_threshold",
"defName": "下限",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "71364AE0-5560-402B-A0E7-00CB4DF3D665",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AD4E0089-E5D2-454C-851D-CD6E91949213",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DDFCCEE9-21D6-4D2B-B667-0BF433928A60",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9A4C4D62-F832-4D96-90A8-A34A459C7903",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A84242FA-6D0F-4B3C-AEDC-B84DFFFA532D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "B64FECF5-5E96-4FCD-A20F-357B1A21D882",
"defKey": "mdc_equipment_type",
"defName": "设备类型表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2A559F74-1951-4936-9AF7-92598E1756EF",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_type_name",
"defName": "设备类型名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8EA72D61-8AFD-4B0C-8915-4318AA01CE29",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_type_pictures",
"defName": "设备类型图片",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2299DBA6-362D-4B1E-B399-B33C51BE69C7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_type_states",
"defName": "设备类型状态",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E0A9706A-C3AB-4679-8E2B-2874B8A0664A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C764783C-8612-4122-8679-EF568EE71F37",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C0A7F6FE-E838-4F12-999B-7749C512A55D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BD7FCD46-FEBD-47DD-9B1B-5813E4328C11",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E0488DD4-8343-4E86-BC8C-E206073B4531",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "E95A2E7B-6865-40D2-94CB-F88E90349B15",
"defKey": "mdc_feedback",
"defName": "问题反馈表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FDDC2A35-A978-4769-BBE5-4081B44E8FA9",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "content",
"defName": "内容",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "93742079-A4F5-4DF4-A625-598A623CABB6",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "production_id",
"defName": "车间id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4F2BBA41-C353-4A5A-B71B-2839744D5C5C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4E485A4E-F0C8-4DE9-A384-C7B245B37F51",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "ABDE5467-2643-4BCA-88EE-0752C8B65A45",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CE6D5304-811C-4EC2-9CF4-96789EC23214",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "58696A97-0FA1-42CF-A0FC-61B0556E719B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "2D645DFD-9EE5-4CED-A188-607657125066",
"defKey": "mdc_message_approval",
"defName": "mdc消息确认表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2D77DC0E-C0BE-469D-A1E9-D862872B8E09",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编码",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B26915F4-D57A-479B-BEC0-880DD1B2E32C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "titile",
"defName": "标题",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BFDE23B7-BA07-48F2-B329-8134E93D4656",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "msg_content",
"defName": "内容",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F2ECD56C-2A76-4150-90C4-F854DA096C08",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sender_ids",
"defName": "处理人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4486B971-A25B-480C-803A-5B3497527BDF",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "msg_status",
"defName": "消息状态(0未确认,1待确认,2已确认)",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 64,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C2868946-EB42-4924-9F54-DAD76AA907F2",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "approver_ids",
"defName": "消息确认人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6347F4B5-4928-404E-8A1D-F37D4F2DE74A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "report_content",
"defName": "上报内容",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C1F33FB8-A2E5-4EEF-9E82-F7A743A7C6F7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "approver_names",
"defName": "审批人姓名",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B320F6D8-B603-46EC-BE53-8F7DE1DC6A95",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sender_names",
"defName": "处理人姓名",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C6CE81C1-05E7-4DC3-9C49-02017C220826",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DEF24D4F-462A-492E-AFBB-F4D2E5FD5AFD",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "46A4E5B0-E0F9-4E42-8941-2F8A140D83B0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5D3793BA-988E-4154-B1AA-B560B60A7E49",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "590617B7-B13C-49DE-9F7D-51221BEA2140",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "5AD28DB7-4736-4C44-A2AC-4DFC0300C075",
"defKey": "mdc_noplan_close",
"defName": "设备非计划停机表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5DFF28FE-6D29-4483-B7C5-88D3DBA3DA16",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2C21CAA3-E030-4399-8602-147E53409421",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "86F7A6EF-7BFF-4F34-B445-E40241727BBC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "noplan_type",
"defName": "非计划停机类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "22599FED-7A39-4BA4-998A-A7522571ACF6",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "start_time",
"defName": "非计划停机开始时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2F573E83-DE7C-4FDC-9246-6DF0921010BC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "end_time",
"defName": "非计划停机结束时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "56A243A6-E10A-423A-B17F-273505B19BA8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C85A5FD2-16A2-4F7E-AB8A-35732D2E47F0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E28C27C5-3411-40DC-BA92-540A30E3C562",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "21F7D450-890E-4E94-B508-266294CB79C2",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "195532CC-CA80-49CC-93A3-36CE06DA895F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B321899C-1DF4-4055-837D-ADBC0C860FE0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "765F9A73-639B-4D7A-BFD1-C7E03D2AED4B",
"defKey": "mdc_oee_info",
"defName": "OEE表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": " id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FEA6CD2A-420D-440A-98D3-6FE8D3BE46D0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "48D1FC0E-0F7A-4C0E-B049-0BA87058EF89",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "617ADB1A-6E9F-4459-A3CB-6FC4E7273D71",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "calendar_long",
"defName": "工作日历时间(min)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "79A3E5B9-7F5F-4A4B-9FA9-788B92C7E686",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "plan_close_long",
"defName": "计划停机时间(min)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A38C713D-400E-45CE-904E-64557A8B3269",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "load_long",
"defName": "负荷时间(min)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "20898B13-76EB-4E8B-8737-A46A87C51DBB",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "noplan_close_long",
"defName": "非计划停机时间(min)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D89513AE-6FBB-4A69-ACFE-3C81E16CAA47",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "actuate_long",
"defName": "开动时间(min)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F8C3F35B-25B5-47E4-ADE1-215CEB9F263F",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "time_actuation_rate",
"defName": "时间开动率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "916BF1AA-2A86-4D42-BDFE-6C3ED3FECC8B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "effective_run_long",
"defName": "有效运行时间",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D3F4455D-3057-45FC-99B6-71546FDF3965",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "performance_rate",
"defName": "性能开动率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F9DFE0CD-C779-4A6E-8922-13AB867AFD9D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_count",
"defName": "加工零件数量",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BB18CC11-E681-46E2-AD20-D1F7365DCA9A",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "pass_count",
"defName": "合格零件数量",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8469EB6A-7911-4898-9509-795E2A02C91F",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "pass_rate",
"defName": "合格率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "92FDC4F5-26D4-4D58-891A-C1A89DE7A799",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "oee",
"defName": "OEE",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FFCF2E59-CC48-4E3A-88CA-EDF3D158F9D8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "004396AC-794D-4502-9036-432B404ED6A0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3ABAE50E-FF5C-424F-ABB1-F260D691F208",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E9DD48D5-BBC0-4EDE-ADDE-13F63E0D14FC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "12330E99-5A15-4A0B-BCFD-4B7E3B8AB008",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "E30266DD-47E6-41E9-BF67-B40319F3E8C0",
"defKey": "mdc_overall_equipment_efficiency",
"defName": "旧OEE表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "83FF93F8-D984-4F73-AA2F-DF6A4AC75991",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8D159766-05EF-4367-980C-85C6014F2D12",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2358F87D-0AF8-40AC-ABC7-B442DF9C8E30",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_model",
"defName": "设备型号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "281A4E40-C5DC-46D3-BD11-B315C8490923",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "valid_date",
"defName": "有效日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "27702FF9-02DF-4A92-999A-71CD6B5967DD",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift",
"defName": "班次",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D1B33249-093C-464F-8AEC-CA68DADBA8F7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_time_count",
"defName": "班次时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1E4CB912-45F6-4CE9-A4C8-E203CCE33FD0",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "overtime",
"defName": "加班时间",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DB1D57F6-AA16-4BC6-B9FB-C882B33998F7",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "actual_work_day_count",
"defName": "实际班产天数",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9125C2A2-0D1B-4B22-9A04-D54253A19143",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "month_actual_work_day_time_count",
"defName": "月度实际班产总时间(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B98E4394-7359-41AD-9197-405756379F36",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "breakdown_down_duration",
"defName": "非计划-故障停机时长(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3A1D72E1-66FA-4720-8882-92468C3141B2",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "conversion_debug_duration",
"defName": "非计划-换型调试时长(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D32DFADA-C6C5-46E8-82D2-E1D1DC4C14CA",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "material_shortage_duration",
"defName": "非计划-物料短缺时长(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B5F19912-7586-468F-99A6-39E014755454",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "planned_task_duration",
"defName": "非计划-计划等任务(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2553D30F-6E2F-4C7C-8A40-ED6218CDAA11",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "inspect_duration",
"defName": "非计划-检验(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EC66ECD3-AF66-4681-B5BE-678BD8C58662",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "other_duration",
"defName": "非计划-其他(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E3C25F2B-E072-4E80-A0D3-AAE254DFCF8B",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "planned_maintenance_duration",
"defName": "计划-计划保养",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "24D2F389-61A2-4D5B-AB9E-0077282228D2",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "conference_training_duration",
"defName": "计划-会议培训时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9087647D-E0E5-4FE2-BA75-82BF10743707",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "other_rest_duration",
"defName": "计划-其他休息时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "022F0833-5E3D-48D0-82B0-58EDF08832C6",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "load_time",
"defName": "负荷时间(小时)",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E4E97A87-80BC-4A95-825A-15151C1E9DF1",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "time_actuation_rate",
"defName": "时间开动率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2AB38638-26A5-433E-B39B-75BD01566E7F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_quantity",
"defName": "加工零件数",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C2120C60-2667-4B66-B126-CD35BEF585E3",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "standard_process_duration",
"defName": "标准加工时间(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3702AACC-7C74-4F3E-B254-A9B56CAE4C2E",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "performance_rate",
"defName": "性能开动率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "156B53F5-F2AA-48E6-9882-83653E17A55A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "unqualified_quantity",
"defName": "废品数",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5B785967-C62B-4835-A0D6-3DE5A643273F",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "pass_rate",
"defName": "合格率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8053D1EC-4B0F-4ACE-B9D3-60A27BB05752",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "overall_equipment_efficiency",
"defName": "设备综合效率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "29F1DC58-BBD2-49F7-AF2F-7E3BA4CAFB8C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "172827BC-1268-44EB-9E6F-FD4FAADD75B6",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A90D110B-5953-41E2-B7EB-11EF0670AB72",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "57F2125A-F125-4309-B9A7-4C58B1122F98",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "13B795ED-F26C-48C5-A1A9-464A8403C4BE",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "F374DD6F-D993-47F2-90E6-95D40C803C2A",
"defKey": "mdc_overrun_alarm",
"defName": "mdc超限报警表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4588EF70-08EC-4B02-BA84-53CAE660D3CE",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编码",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5AA15AA3-2401-471D-89E8-45342ECE6040",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "set_value",
"defName": "设定范围",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CD771433-5ADD-49AC-9B7F-F3D733ADAA26",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "real_value",
"defName": "实际值",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D5018564-B2F4-453B-9957-A1688AB1C235",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "alarm_content",
"defName": "报警内容",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AC86C3A0-98C4-4915-99A8-A500F166FB60",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D6AFB22B-1A40-4677-9CCE-70906FB9CA3C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FED83A91-7D27-4E37-9354-B73AE507559B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "98F1FC4A-1894-4429-BE8E-29046DF11706",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E5FE817B-F59D-48E4-B8B2-D385567D58AB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "75FA870E-463E-40DB-B08A-22A0B5BE63AA",
"defKey": "mdc_part_process_info",
"defName": "零件加工数据表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DF5630A8-6EC7-4463-905B-7FF327F404C8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "11358177-C5AD-492D-98F3-047AD2E0788C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "part_id",
"defName": "零件号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BBD9A7D5-9FEE-4B1B-AEF9-692026A52410",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "standard_process_long",
"defName": "标准加工工时(min)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3BB39020-B2B5-49C5-8CB9-81C2BA85EACA",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_count",
"defName": "加工零件数量",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1D9CCA97-D11C-4F72-9941-BB868E973563",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "pass_count",
"defName": "合格零件数量",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "01A90FB3-AE1F-4348-BE03-96459D90F56D",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "total_process_long",
"defName": "加工总时长(min)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C188FD04-9343-4963-8354-695792F6E3C9",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7ED2A55C-0430-4A52-A9DE-7F53E0F016A7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "58039E6C-108F-4683-94EE-E14D15775245",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5540B9EE-61D9-4852-9D4D-326BF7951956",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4A928ECA-38FF-49B4-9C36-E43EDF90B9CB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "325F2B08-0DDB-4220-9E10-2E1DFFBC95EA",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D99B6122-4EBC-4BDA-944B-B6DEDB4C42C8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "59D9C421-E720-40EB-8270-EA09DD574A2C",
"defKey": "mdc_pass_rate",
"defName": "合格率表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AA9BC8E7-9AF8-4C67-BEBB-ADE1F72FBA1E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A24B5A9F-355E-47F3-B854-B24C01175CEA",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5EE4288F-E2CC-4D34-81BC-EB74665023AE",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "efficient_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FC27B52F-DD18-48E4-AE33-67FCF58D5B12",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_quantity",
"defName": "加工数量",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "ADDE7E52-C113-4973-832B-6F6C1C327220",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "unqualified_quantity",
"defName": "不合格数量",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4D078E86-7D84-44DD-ACCA-6944C9162D41",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "pass_rate",
"defName": "合格率",
"comment": "",
"domain": "",
"type": "numeric",
"len": 16,
"scale": 2,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "06BB3679-0C28-4C4E-A4A6-FB036D739928",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CD3BA14A-08EE-4656-B754-DEEFA0CE96EC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F08DD7EB-39D4-41AD-A550-678403152D20",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "99EB2F50-3D4F-47DF-8780-A2AA5C273534",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "013D42AA-DD2A-4559-B5D4-09B998278B21",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5C709531-C287-4529-A0DF-FC8870070F1A",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "2918F703-AB53-45F7-8A2F-709D6B548901",
"defKey": "mdc_plan_close",
"defName": "计划停机表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FE65DF79-48A6-49DE-A9A4-B0063588AFEC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "plan_close_type",
"defName": "计划停机类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1071BDD0-93C8-4595-823F-58A7299EC662",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "plan_close_time_type",
"defName": "计划停机时间类型",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6A177DB5-4763-43E2-AC0F-75FBE5B6D435",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "plan_close_time_long",
"defName": "时长(分钟)",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6DE2181D-AE6F-49F8-8542-9C1E5E4AC380",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AB6E1484-4454-445F-A66E-CDF98F34FBCB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9F532335-9435-4F68-B5B3-D8CFC319E6C2",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "88D637CC-88CC-410D-9876-F14FC7DECF94",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2AFB4265-B6CB-4160-9D3A-FC4046AAB6FC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7A91BC3D-67CB-4CEA-8837-943B0D7D5C22",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "866DC01C-EA3F-493F-8172-D92D0C5713DF",
"defKey": "mdc_process_count",
"defName": "设备加工工件个数表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7BEFB2E4-353F-4755-8E88-E8D57E4F625D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4C79871F-B165-45B9-8B21-56077ECD18E4",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "44CD96F1-18E9-4F4C-860A-D21F12BAAB5F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "the_date",
"defName": "",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DA73E7A5-BB70-42E1-9B8E-393241439714",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "duration",
"defName": "",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3313B569-3856-4C6A-AA9B-0E6EA21B5D21",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sequence_number",
"defName": "程序号",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EAE9AF9A-D765-4A6D-8289-810D5EB9F7D1",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D3648D79-C0F2-4730-AD04-8A93534E005E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A61D64FE-753F-4442-8A24-8D45D129CEDC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "ACE12A6D-499B-40C8-B57E-34591E082731",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A2357269-585E-4BD9-96DD-5F755D66C972",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "C2F49A97-42A9-4C6C-A16C-754E044CBD5A",
"defKey": "mdc_process_quantity",
"defName": "加工数量表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F54E9D80-7CA9-460A-A7F5-079C043F2D63",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "standard_id",
"defName": "标准加工时间id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9CF34406-2C13-417A-9686-821CAF23C997",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "efficient_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "78D2A985-A5B9-4EC4-A479-13136F296C2C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "process_quantity",
"defName": "加工数量",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7717E999-5C01-433F-9A77-BB4D3204A647",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AD9035C0-6427-44A3-A49C-BF73EBCF89B5",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "94D3E6D1-9463-4F46-8685-6DC27109A2B9",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C7382FCE-BCA9-4A97-9844-0012ABE757EE",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AF2140CB-BC7C-4E64-BB50-3FFF9AD0D18C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CAF50C2B-3390-4809-A995-01CCE791643E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "1E969979-5DA0-40EE-B6CF-02A2CB7E70B7",
"defKey": "mdc_production",
"defName": "产线表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "ID",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "94283F24-DE1D-450F-87BD-5968A655AD8D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "parent_id",
"defName": "父ID",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EB813ED4-AA04-4B57-B449-AD9C7C86B302",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "production_name",
"defName": "产线名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DE79B2EB-C309-4258-9907-D2BC19638835",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "production_name_abbr",
"defName": "缩写",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8CF6B5BE-A4D9-4CF2-B0EF-BBE7B4015DA0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "production_order",
"defName": "排序",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1E239D0F-84A4-4042-BC87-9CB84F676993",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "description",
"defName": "描述",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1000,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "CB3FA20A-40DD-4793-9F78-67C72191D768",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "org_type",
"defName": "产线类型 1一级部门 2子部门",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 10,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F28A4112-85AA-46BB-8ACA-7134E1E8BFA0",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "org_code",
"defName": "产线编码",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 64,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D668B34E-D31C-44B1-A777-3E643746EB86",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "address",
"defName": "地址",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 100,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "ECFD716C-3C7E-4CD4-B18F-46194A9AEC0D",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "memo",
"defName": "备注",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1000,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4887B689-92E1-4770-8E45-19AA261EF848",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "status",
"defName": "状态(1启用,0不启用)",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "80D75CBF-3DCB-4A3F-B87E-A625F2D45AF7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "del_flag",
"defName": "删除状态(0,正常,1已删除)",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E4E74A63-B6BE-4DFE-AA52-3D4C852C1DA8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "production_code",
"defName": "产线标识",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7C6E964A-9713-4120-9728-6AE2A2D4A371",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1101E805-7D6A-4BCF-B665-BBF96D411F27",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建日期",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8BA3323C-C0A9-48C3-ABD1-71FD0D39BB3F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6D51BB0C-D67A-4D21-A886-77ECFE83CEE8",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新日期",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "19D5540C-3D47-4BE4-AD86-AF4BAF27891C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "mdc_flag",
"defName": "是否为MDC车间产线",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B521E56F-36A1-43D3-9582-06DB0D8FF7CB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "7C7BBCAA-7E0E-4625-8F9E-C237FE3CD01F",
"defKey": "mdc_production_equipment",
"defName": "部门设备表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D150159F-7551-4550-AF99-297E633FAD5C",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "production_id",
"defName": "产线id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0DF03402-600F-4120-9B11-7F36E7E6EAA6",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "49A5F8A6-73CC-4F4A-B1FB-A5FE63E4303F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "4DE9580B-05EA-4824-829A-04E7341EBFD6",
"defKey": "mdc_shift",
"defName": "班制表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "359BF67E-EA59-4555-9EAF-DF3DE47B4B5F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_name",
"defName": "班制",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2BC2D31D-B060-4F34-B58E-C002914D6EBA",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_status",
"defName": "班制状态(0:未启用 1:启用)",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6A1BDB5E-3599-4383-BF0E-EE6CAE71967F",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "default_shift",
"defName": "默认班制(false:未默认 true:默认)",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1319DF80-C03B-4C75-823C-FC36226A9AD6",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "81572970-59C4-4127-88AD-1BB677829CB4",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3240BDF3-94E3-4153-BEBF-0132EE91E570",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "修改人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F9D74D80-67E6-46E7-A3EE-8DD9FD51AF07",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "修改状态",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0F9C9D34-2A57-4E7D-B1EC-98B29A8348BF",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "03708FA8-A0B3-4788-ACEF-EC319EB5E200",
"defKey": "mdc_shift_sub",
"defName": "班次表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2ACD81B7-7038-4A8E-AB9C-D706D3B4889B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_id",
"defName": "班制id(依赖mdc_shift表)",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "FA669B8E-CC0E-45CC-A41B-15ECD1A5B5F4",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_sub_name",
"defName": "班次名称",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B3E4E1D8-5463-4D77-B435-14BBCBCFB067",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "start_date",
"defName": "开始时间",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "224B008F-A184-481B-9966-0B9BF38AA646",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "end_date",
"defName": "结束时间",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "106F3D71-D915-4F2A-A472-90E8B47829BC",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sleep_start_date",
"defName": "开始休息时间",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2A73E5E7-6154-4EDC-AAF7-9F6C1657B70E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sleep_end_date",
"defName": "结束休息时间",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "36D8AAD8-B29F-42E1-B2EC-7ED5889C264E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "is_day_span",
"defName": "是否跨天",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8B940FCD-AA74-4DFD-9278-CD32DF0AEF33",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "shift_sub_status",
"defName": "班次状态",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 1,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D86E5BE4-40E3-4D89-A3A4-D2181B562F73",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E745FCC5-1693-41F5-B2C5-B2DCDAB2128B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6D8EF84C-A488-4053-8A67-08305B54D6A7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "修改人",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "'('')'",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "1FD7ACD7-2A60-45A2-844E-EB7D1CF8DDB9",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "修改时间",
"comment": "",
"domain": "",
"type": "datetime2",
"len": 27,
"scale": 7,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "58C3E8E4-D76C-45A7-922D-2F20A0B53B0E",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "B0F13FB1-F15D-453C-90D3-2C531A0407F9",
"defKey": "mdc_standard_process_duration",
"defName": "标准加工时间表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "5EF63B42-8EDA-4041-810C-28A60880FCD3",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "66493FF3-1E69-48D0-BA9E-B8BCCD15E0DD",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AE867116-9180-4025-962D-15201D202EC7",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "parts_code",
"defName": "零件号",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "02999B81-3CC6-44A9-BA0E-273870B7346A",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "batch_code",
"defName": "批次号",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F467D071-6761-4E58-843B-04D617351E50",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "sequence_number",
"defName": "程序号",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A9EFFF04-7F13-4F51-B4C4-1C0391BFBADD",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "duration",
"defName": "时长",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "204FF26E-1259-4390-A1EA-FB7A9C476578",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "remark",
"defName": "备注",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0B973BC7-DAD2-4A5E-B3E2-07E5DABEE12A",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7EB6664C-6273-4C32-BD23-76FAC8360FC0",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2C8A7A15-AB80-4B19-AFFD-64B37E43B939",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A5C3210C-8DE3-446B-BDFD-7F61D9D8163C",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "9281C09A-A7DB-4245-BEDF-B254DA06882D",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "ACC086D1-CB68-4203-9F89-C375E01FD9C1",
"defKey": "mdc_system_parameters",
"defName": "mdc系统参数表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "varchar",
"len": 36,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8F69816A-612A-4C01-99A4-404D934F5239",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "code",
"defName": "标识",
"comment": "",
"domain": "",
"type": "varchar",
"len": 40,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B09DC13C-858C-4B5F-A41A-6D980F53DEDA",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "name",
"defName": "名称",
"comment": "",
"domain": "",
"type": "varchar",
"len": 40,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7E733D0D-4AD4-447A-9EF3-65A6F162CDC9",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "value",
"defName": "值",
"comment": "",
"domain": "",
"type": "varchar",
"len": 512,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "69670B66-C4DF-465D-9235-A46B168A2DE2",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "category",
"defName": "类别",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "61A5169F-4ED5-45C7-A956-CE9226DE9F3E",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "description",
"defName": "描述",
"comment": "",
"domain": "",
"type": "varchar",
"len": 128,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "480AE89C-5696-4946-B90D-D7C0E750EE6C",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "581A2FD0-50F9-43D1-A64C-F942AFAA558A",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "34008671-C686-47A7-9FBE-0616B3176EC3",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7659F208-EE4F-4B42-B14D-CB9262DD7467",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "47D26AB2-A14C-455E-9F49-DDBA2A1C3120",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "B637F3EA-DB27-4E62-808B-7DF1DB1F4E98",
"defKey": "mdc_torque_config",
"defName": "扭矩表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "78974D47-1808-44D0-B61F-295944F3895A",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E6578A67-5F16-48E0-89AA-284C66228181",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "E6501D23-4869-4721-BFB4-169A10E4F18A",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "torque_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EF47D4C4-C413-4DB0-8F1B-E36F76D0AF84",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "torque_value",
"defName": "扭矩值",
"comment": "",
"domain": "",
"type": "float",
"len": 53,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "66F44864-0157-49FE-B6BD-1B3BF4F914BB",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "notes",
"defName": "备注",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "26FA0BDC-E6F4-4F25-9A92-E2CA86EC5C39",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6AD12885-9D73-4D7F-9E3E-9C1EA3953FF0",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A07CCB1C-057B-498C-8304-705BB827C1A1",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "C0F6FF74-BB78-41CF-9FAB-1555FBB70757",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "622FE875-6D47-4E25-AC70-A4A59B78E192",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "feed_parameter",
"defName": "进给参数",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8B979662-F396-45A7-9F97-B7CE7716853E",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "BCEB4E53-02DC-4F8E-ABF5-1FDDC27CBF8E",
"defKey": "mdc_user_production",
"defName": "用户产线表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "952034FF-B6C2-47AA-B41E-D470DA59EB08",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "user_id",
"defName": "用户id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "7385E97A-6E32-4364-BB3C-1F53A044AAD7",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "pro_id",
"defName": "产线id",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 32,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "A56244F1-EC5B-4672-A90E-221CF0850785",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "C4468419-5B29-44E0-A32C-B58D8733B292",
"defKey": "mdc_utilization_rate",
"defName": "效率段参数表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "varchar",
"len": 36,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BA7A7182-2319-46E6-A406-1AF8899E8582",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "rate_parameter_category",
"defName": "率参数类别",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "170A3322-95AA-453D-BC4C-43AA7F7C812C",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "rate_parameter_color",
"defName": "率参数颜色",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "16ABAEDF-9060-4357-A5C3-633C562C05E7",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "minimum_range",
"defName": "最小范围(单位)",
"comment": "",
"domain": "",
"type": "float",
"len": 53,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "090EBB20-A349-46D6-822C-7ACB494665F5",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "maximum_range",
"defName": "最大范围(单位)",
"comment": "",
"domain": "",
"type": "float",
"len": 53,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "951E035F-4F03-41E0-BAD6-5521E0F65636",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "rate_parameter_type",
"defName": "类别名称简写",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2EAA98DC-DF94-4F43-B77F-9B127485709A",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "rate_parameter_level",
"defName": "率参数等级",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "58D3E096-55F9-4ED5-A593-38B5121B33C4",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "16120F75-6AA7-4483-868D-F07F511BB081",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3235FC68-9198-486D-9F0E-96F923FBDBAC",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0BD6131C-5162-4C24-96A8-40A1006600BB",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "16120F75-6AA7-4483-868D-F07F511BB081",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6B078486-5C0C-4457-AF2B-C4B8418CC92C",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "97D21797-F776-414A-81BE-189C2C73EB8A",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "F49B4BF6-2ADC-4312-94BD-354DAA50757A",
"defKey": "mdc_vacation_management",
"defName": "假期管理表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "主键",
"comment": "",
"domain": "",
"type": "varchar",
"len": 50,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B2006A64-14CE-4A31-A925-F177A5137806",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "523960E8-7694-4149-92BC-A70AA6F29A68",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_name",
"defName": "设备名称",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "EC5F791A-3245-4810-A4CB-F9412EDE465D",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "vacation_date",
"defName": "日期",
"comment": "",
"domain": "",
"type": "date",
"len": 10,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "825D9A1F-EF6D-4849-B715-52650561BE74",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "vacation_type",
"defName": "类型",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D2BECB58-A161-404C-8B7C-AE1CE213681C",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "notes",
"defName": "备注",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8620F6FF-28F8-4D1A-8A05-C92878944D6F",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "创建时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "0827FB37-A361-45F4-871B-77B190CC1FE1",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "创建人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "8705EA9F-9B01-421B-9A07-439CB3EC7740",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "更新时间",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "DB386F3D-3C86-4285-B48D-40DA77A82A52",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "更新人",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "379A2954-5203-4598-9082-A1884F886C07",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
},
{
"id": "A146BCC8-1EBC-4ADD-9437-46268178D2D7",
"defKey": "mdc_workshop_equipment",
"defName": "大屏车间设备关系表",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "varchar",
"len": 36,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B4B55033-D7A3-4BE6-8D19-53DE1D62A32A",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "workshop_id",
"defName": "大屏车间id",
"comment": "",
"domain": "",
"type": "varchar",
"len": 36,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "4C099653-8AE4-4AFC-AEA2-1E248E633429",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id",
"defName": "设备编号",
"comment": "",
"domain": "",
"type": "varchar",
"len": 36,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "00F541B2-5B06-4D85-942A-A153A31320A7",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "coordinate_left",
"defName": "坐标-左",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "6FE77442-78F1-4304-804B-F9DA043085CC",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "coordinate_top",
"defName": "坐标-上",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "543892D8-32E9-474B-A2EB-3693163F2CF5",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "vw",
"defName": "",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "2796D9FF-BCE2-49A6-A12F-FADC543DA09D",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "vh",
"defName": "",
"comment": "",
"domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "AA7FDC5F-56D6-41BE-A4AF-ABF8E37B942A",
"baseType": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "ABB4EB9A-54F4-44F5-942C-4201FCE9F6FE",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "B9549A68-4587-4E20-B0A1-DECD0815FD79",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BD0C1E31-B47A-4300-8BD1-BECBA756C426",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "D6BAE207-7D19-44F8-B159-17CBDD02E779",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": [],
"notes": {}
},
{
"id": "DAF8E986-FB18-444C-8262-979DC80664D9",
"defKey": "mdc_workshop_info",
"defName": "大屏车间信息",
"comment": "",
"properties": {},
"fields": [
{
"defKey": "id",
"defName": "",
"comment": "",
"domain": "",
"type": "varchar",
"len": 36,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F6043FB5-F89A-4594-ADD5-A900A314CE5E",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "workshop_name",
"defName": "车间名称",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "F94C398A-76E1-4C1B-9162-47CEF086C0B1",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "background_image",
"defName": "背景图",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "059B6D07-A565-4EE0-9168-47AAF4BE2A0D",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "equipment_id_color",
"defName": "设备编号颜色",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "3221496C-B0A4-419B-81A9-65FF13D5E719",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_by",
"defName": "",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "663DC77B-8E55-4812-BFE8-A90B2626BBBF",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "create_time",
"defName": "",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "42CAC539-83F2-4DC0-A26D-C1409080D61F",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_by",
"defName": "",
"comment": "",
"domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
"type": "",
"len": "",
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "44706C60-425B-4276-B45E-A33C48E59DEF",
"baseType": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "update_time",
"defName": "",
"comment": "",
"domain": "",
"type": "datetime",
"len": 23,
"scale": 3,
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "42EABE5B-C1CC-4C39-AD5A-66B57E00E140",
"baseType": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
},
{
"defKey": "perms",
"defName": "菜单权限编码",
"comment": "",
"domain": "",
"type": "nvarchar",
"len": 255,
"scale": "",
"primaryKey": false,
"notNull": false,
"autoIncrement": false,
"defaultValue": "''",
"hideInGraph": false,
"refDict": "",
"attr1": "",
"attr2": "",
"attr3": "",
"attr4": "",
"attr5": "",
"attr6": "",
"attr7": "",
"attr8": "",
"attr9": "",
"id": "BC6C9E4A-CFE8-4E35-8E3A-CC98D696874B",
"baseType": "",
"extProps": {},
"uiHint": "642D2E0A-8846-4549-BE56-8C0473F26EDE"
}
],
"indexes": [],
"type": "P",
"sysProps": {
"nameTemplate": "{defKey}[{defName}]"
},
"headers": [
{
"freeze": false,
"refKey": "hideInGraph",
"hideInGraph": true
},
{
"freeze": true,
"refKey": "defKey",
"hideInGraph": false
},
{
"freeze": true,
"refKey": "defName",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "primaryKey",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "notNull",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "autoIncrement",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "domain",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "type",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "len",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "scale",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "comment",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "refDict",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "defaultValue",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "isStandard",
"hideInGraph": false
},
{
"freeze": false,
"refKey": "uiHint",
"hideInGraph": true
},
{
"freeze": false,
"refKey": "extProps",
"hideInGraph": true
}
],
"correlations": []
}
],
"views": [],
"dicts": [],
"viewGroups": [
{
"defKey": "MDC",
"defName": "采集分析",
"refEntities": [
"088D0DAA-B9F8-4251-9198-BBA382B05E52",
"822E163F-D5F0-4A10-BC5F-2F4463A3F7A9",
"C88ACB56-91BD-4EB3-A96F-AF5B6588FBB9",
"F4843843-FD90-4EEB-A3AC-32AC68544638",
"7559481D-B10C-4D34-A546-B9BDEBAA81C7",
"C55FA5BC-257D-47E1-BD0F-4E1FB9BF82C6",
"95B694C8-0962-49EF-A9CF-6113189ED053",
"9EFD5D3D-5DEC-469B-8358-8B54EC778CC5",
"FBCCDF12-3B77-424F-A6D5-9D7EE656B6ED",
"8040B64D-9687-4CD3-8046-BA53924725C6",
"7E01BB3F-8A68-4A5B-8531-9B0F4B90BF08",
"60E6EFF6-7903-46F9-8AD6-31CAAF4B43BE",
"3F0CD361-E66B-492E-959F-DC687CFB4C82",
"2E87B09A-30F9-40DA-8685-3245BDA1774E",
"643285F5-BB82-4ED2-AEF3-2B9C8591FD75",
"F4E0C39E-9353-4BFC-A4E8-0B11702B8B4B",
"B64FECF5-5E96-4FCD-A20F-357B1A21D882",
"E95A2E7B-6865-40D2-94CB-F88E90349B15",
"2D645DFD-9EE5-4CED-A188-607657125066",
"5AD28DB7-4736-4C44-A2AC-4DFC0300C075",
"765F9A73-639B-4D7A-BFD1-C7E03D2AED4B",
"E30266DD-47E6-41E9-BF67-B40319F3E8C0",
"F374DD6F-D993-47F2-90E6-95D40C803C2A",
"75FA870E-463E-40DB-B08A-22A0B5BE63AA",
"59D9C421-E720-40EB-8270-EA09DD574A2C",
"2918F703-AB53-45F7-8A2F-709D6B548901",
"866DC01C-EA3F-493F-8172-D92D0C5713DF",
"C2F49A97-42A9-4C6C-A16C-754E044CBD5A",
"1E969979-5DA0-40EE-B6CF-02A2CB7E70B7",
"7C7BBCAA-7E0E-4625-8F9E-C237FE3CD01F",
"4DE9580B-05EA-4824-829A-04E7341EBFD6",
"03708FA8-A0B3-4788-ACEF-EC319EB5E200",
"B0F13FB1-F15D-453C-90D3-2C531A0407F9",
"ACC086D1-CB68-4203-9F89-C375E01FD9C1",
"B637F3EA-DB27-4E62-808B-7DF1DB1F4E98",
"BCEB4E53-02DC-4F8E-ABF5-1FDDC27CBF8E",
"C4468419-5B29-44E0-A32C-B58D8733B292",
"F49B4BF6-2ADC-4312-94BD-354DAA50757A",
"A146BCC8-1EBC-4ADD-9437-46268178D2D7",
"DAF8E986-FB18-444C-8262-979DC80664D9"
],
"refViews": [],
"refDiagrams": [],
"refDicts": [],
"id": "49E9B70A-2A3A-4C9F-829E-4B9A6C7098B2"
}
],
"dataTypeMapping": {
"referURL": "",
"mappings": [
{
"defKey": "string",
"id": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"defName": "字串",
"29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "VARCHAR",
"A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "VARCHAR2",
"BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARCHAR",
"DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "VARCHAR",
"89504F5D-94BF-4C9E-8B2E-44F37305FED5": "VARCHAR",
"0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "VARCHAR2",
"592C7013-143D-4E7B-AF64-0D7BF1E28230": "VARCHAR",
"77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "VARCHAR",
"11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
"B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
"797A1496-D649-4261-89B4-544132EC3F36": "String",
"895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
"A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
"F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
"81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
"B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
"BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
"56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "VARCHAR",
"483F9346-C99E-4014-A1D2-A554606BD8A3": "VARCHAR",
"ABF5836C-0B7C-4007-A41C-F869325E5842": "VARCHAR"
},
{
"defKey": "double",
"id": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"defName": "小数",
"29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DECIMAL",
"A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DECIMAL",
"BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DECIMAL",
"DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "NUMERIC",
"89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DECIMAL",
"0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DECIMAL",
"592C7013-143D-4E7B-AF64-0D7BF1E28230": "NUMERIC",
"77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "NUMERIC",
"11D1FB71-A587-4217-89BA-611B8A1F83E0": "DOUBLE",
"B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "REAL",
"797A1496-D649-4261-89B4-544132EC3F36": "Double",
"895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Double",
"A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Double",
"F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "decimal",
"81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "double",
"B91D99E0-9B7C-416C-8737-B760957DAF09": "*float64",
"BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "f64",
"56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DECIMAL",
"483F9346-C99E-4014-A1D2-A554606BD8A3": "DECIMAL",
"ABF5836C-0B7C-4007-A41C-F869325E5842": "NUMERIC"
},
{
"defKey": "int",
"id": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"defName": "整数",
"29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "INT",
"A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "INT",
"BFC87171-C74F-494A-B7C2-76B9C55FACC9": "INT",
"DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "INTEGER",
"89504F5D-94BF-4C9E-8B2E-44F37305FED5": "INT",
"0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "INTEGER",
"592C7013-143D-4E7B-AF64-0D7BF1E28230": "INTEGER",
"77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "INT4",
"11D1FB71-A587-4217-89BA-611B8A1F83E0": "INT",
"B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "INTEGER",
"797A1496-D649-4261-89B4-544132EC3F36": "Integer",
"895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Integer",
"A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Integer",
"F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "float",
"81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "int",
"B91D99E0-9B7C-416C-8737-B760957DAF09": "*int",
"BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "i32",
"56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "INTEGER",
"483F9346-C99E-4014-A1D2-A554606BD8A3": "INT",
"ABF5836C-0B7C-4007-A41C-F869325E5842": "INTEGER"
},
{
"defKey": "date",
"id": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"defName": "日期",
"29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "DATETIME",
"A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "DATE",
"BFC87171-C74F-494A-B7C2-76B9C55FACC9": "DATETIME",
"DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TIMESTAMP",
"89504F5D-94BF-4C9E-8B2E-44F37305FED5": "DATE",
"0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "DATE",
"592C7013-143D-4E7B-AF64-0D7BF1E28230": "DATE",
"77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "DATE",
"11D1FB71-A587-4217-89BA-611B8A1F83E0": "DATETIME",
"B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NUMERIC",
"797A1496-D649-4261-89B4-544132EC3F36": "Date",
"895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "Date",
"A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "Date",
"F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "DateTime",
"81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "timestamp",
"B91D99E0-9B7C-416C-8737-B760957DAF09": "*time.Time",
"BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "DateTime",
"56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "DATE",
"483F9346-C99E-4014-A1D2-A554606BD8A3": "DATETIME",
"ABF5836C-0B7C-4007-A41C-F869325E5842": "DATE"
},
{
"defKey": "bytes",
"id": "D516E75B-90F5-4741-B9B3-A186A263F04C",
"defName": "二进制",
"29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "BLOB",
"A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "BLOB",
"BFC87171-C74F-494A-B7C2-76B9C55FACC9": "VARBINARY",
"DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "BYTEA",
"89504F5D-94BF-4C9E-8B2E-44F37305FED5": "BLOB",
"0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "BLOB",
"592C7013-143D-4E7B-AF64-0D7BF1E28230": "BYTEA",
"77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "BYTEA",
"11D1FB71-A587-4217-89BA-611B8A1F83E0": "BINARY",
"B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "NONE",
"797A1496-D649-4261-89B4-544132EC3F36": "byte[]",
"895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "byte[]",
"A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "byte[]",
"F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "binary",
"81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "binary",
"B91D99E0-9B7C-416C-8737-B760957DAF09": "[]byte",
"56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "BYTE",
"ABF5836C-0B7C-4007-A41C-F869325E5842": "BYTEA"
},
{
"defKey": "largeText",
"id": "B17BDED3-085F-40E1-9019-3B79CF2BF075",
"defName": "大文本",
"29D1CE08-4C35-4D2D-AAA9-23D93305B52E": "TEXT",
"A4E23CB7-BB01-4BD1-9F71-F73F3E15A542": "CLOB",
"BFC87171-C74F-494A-B7C2-76B9C55FACC9": "TEXT",
"DFBEC1DD-AA84-456E-BBF3-C95DD0DB2022": "TEXT",
"89504F5D-94BF-4C9E-8B2E-44F37305FED5": "CLOB",
"0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307": "CLOB",
"592C7013-143D-4E7B-AF64-0D7BF1E28230": "TEXT",
"77BD85E5-9D0D-4096-8427-CBA306FC9C6A": "TEXT",
"11D1FB71-A587-4217-89BA-611B8A1F83E0": "STRING",
"B363BE0B-F852-49B8-9B2E-F6D2174DEAC1": "TEXT",
"797A1496-D649-4261-89B4-544132EC3F36": "String",
"895CFD1D-4273-4D32-A2C4-CAC70200AB5B": "String",
"A2EE7B4A-CE62-4290-B00C-B26C1BF18073": "String",
"F3AC2415-E86B-40C6-9FEB-F4B7937D2C30": "string",
"81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2": "string",
"B91D99E0-9B7C-416C-8737-B760957DAF09": "string",
"BDF457FD-9F98-4AC3-A705-7587B00A3BAB": "String",
"56F4B55B-F0B8-4049-9E6B-50B95C1D793A": "TEXT",
"483F9346-C99E-4014-A1D2-A554606BD8A3": "STRING",
"ABF5836C-0B7C-4007-A41C-F869325E5842": "TEXT"
}
]
},
"domains": [
{
"defKey": "DefaultString",
"defName": "默认字串",
"applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"len": 255,
"scale": "",
"uiHint": "",
"id": "9092C4E0-1A54-4859-ABBB-5B62DBC27573"
},
{
"defKey": "IdOrKey",
"defName": "主键标识",
"applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"len": 32,
"scale": "",
"uiHint": "",
"id": "16120F75-6AA7-4483-868D-F07F511BB081"
},
{
"defKey": "Name",
"defName": "名称",
"applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"len": 90,
"scale": "",
"uiHint": "",
"id": "54611CCC-CA4B-42E1-9F32-4944C85B85A6"
},
{
"defKey": "Int",
"defName": "整数",
"applyFor": "1D764C4A-6F9F-421E-B11A-6F3E23B51811",
"len": "",
"scale": "",
"uiHint": "",
"id": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E"
},
{
"defKey": "Double",
"defName": "小数",
"applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"len": 24,
"scale": 6,
"uiHint": "",
"id": "FF4459C5-6B45-4DBF-8FC0-E06239BC05B4"
},
{
"defKey": "Money",
"defName": "金额",
"applyFor": "1A0BDC09-0792-4174-9E8E-80BE8DF44B8E",
"len": 24,
"scale": 6,
"uiHint": "",
"id": "C3B1681B-99F9-4818-9E80-DE1652A51D85"
},
{
"defKey": "DateTime",
"defName": "日期时间",
"applyFor": "89D69E81-EA34-42EE-9FA2-93B8BD27E098",
"len": "",
"scale": "",
"uiHint": "",
"id": "7CFFA0D3-6A93-4DDC-BC10-DF21211064DC"
},
{
"defKey": "YesNo",
"defName": "是否",
"applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"len": "1",
"scale": "",
"uiHint": "",
"id": "6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF"
},
{
"defKey": "Dict",
"defName": "数据字典",
"applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"len": "32",
"scale": "",
"uiHint": "",
"id": "73FD2BAD-2358-4336-B96D-45DC897BD792"
},
{
"defKey": "DescText",
"defName": "描述文本",
"applyFor": "FC9790A7-36B8-4A48-8F9A-BC1042BCFE64",
"len": "900",
"scale": "",
"uiHint": "",
"id": "3E948CEC-3070-472C-AF92-F3CA11EC9D15"
}
],
"diagrams": [],
"standardFields": [],
"dbConn": [
{
"defKey": "1C2EE2C3-8758-4E05-AC32-EBF312AC5217",
"defName": "118sqlserver",
"type": "BFC87171-C74F-494A-B7C2-76B9C55FACC9",
"properties": {
"driver_class_name": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"url": "jdbc:sqlserver://192.168.1.118:1433;DatabaseName=LXZN_TEST_HANGYU",
"password": "123",
"username": "sa"
}
}
],
"logicEntities": [],
"namingRules": [
{
"id": "63F1DC0E-6A76-4B75-B3DA-4B00657B4E1B",
"defName": "属性代码不能超过32",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "L",
"applyFieldType": "field",
"programCode": "return (data.field.defName||\"\").length <= 32",
"enable": true
},
{
"id": "668CBEE6-E0B7-4ACE-B72E-63942963B191",
"defName": "长度不能超过32位",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "entity",
"programCode": "return (data.entity.defName||\"\").length <= 32",
"enable": true
},
{
"id": "11BD987F-82E7-418E-A752-FDD84F1582A2",
"defName": "长度不能超过32位",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "return (data.field.defName||\"\").length <= 32",
"enable": true
},
{
"id": "29D0A8D9-ABE2-451F-8A39-52FAB02E62B9",
"defName": "索引名-长度不超过32个字符",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "index",
"programCode": "return (data.index.defName||\"\").length <= 32",
"enable": true
},
{
"id": "B425A96F-6A31-4DBD-8743-A00DE28FB50F",
"defName": "不能使用保留字",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "index",
"programCode": "let sysWords = \"action,add,aggregate,all,alter,after,and,as,asc,avg,avg_row_length,auto_increment,between,bigint,bit,binary,blob,bool,both,by,cascade,case,char,character,change,check,checksum,column,columns,comment,constraint,create,cross,current_date,current_time,current_timestamp,data,database,databases,date,datetime,day,day_hour,day_minute,day_second,dayofmonth,dayofweek,dayofyear,dec,decimal,default,delayed,delay_key_write,delete,desc,describe,distinct,distinctrow,double,drop,end,else,escape,escaped,enclosed,enum,explain,exists,fields,file,first,float,float4,float8,flush,foreign,from,for,full,function,global,grant,grants,group,having,heap,high_priority,hour,hour_minute,hour_second,hosts,identified,ignore,in,index,infile,inner,insert,insert_id,int,integer,interval,int1,int2,int3,int4,int8,into,if,is,isam,join,key,keys,kill,last_insert_id,leading,left,length,like,lines,limit,load,local,lock,logs,long,longblob,longtext,low_priority,max,max_rows,match,mediumblob,mediumtext,mediumint,middleint,min_rows,minute,minute_second,modify,month,monthname,myisam,natural,numeric,no,not,null,on,optimize,option,optionally,or,order,outer,outfile,pack_keys,partial,password,precision,primary,procedure,process,processlist,privileges,read,real,references,reload,regexp,rename,replace,restrict,returns,revoke,rlike,row,rows,second,select,set,show,shutdown,smallint,soname,sql_big_tables,sql_big_selects,sql_low_priority_updates,sql_log_off,sql_log_update,sql_select_limit,sql_small_result,sql_big_result,sql_warnings,straight_join,starting,status,string,table,tables,temporary,terminated,text,then,time,timestamp,tinyblob,tinytext,tinyint,trailing,to,type,use,using,unique,unlock,unsigned,update,usage,values,varchar,variables,varying,varbinary,with,write,when,where,year,year_month,zerofill\".split(\",\");\nreturn sysWords.indexOf(data.index.defKey.toLowerCase())<0;",
"enable": true
},
{
"id": "EF9E44D0-691A-4352-A079-CFF300107531",
"defName": "索引名-全小写",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "index",
"programCode": "return !/[A-Z]+/.test(data.index.defKey);",
"enable": true
},
{
"id": "972EB2FB-4428-429D-8B0A-F082A8C7A94D",
"defName": "名称不能为空",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "L",
"applyFieldType": "entity",
"programCode": "return data.logicEntity.defName",
"enable": true
},
{
"id": "EEAEB9C5-BB6C-4E92-949B-D27928690D85",
"defName": "名称长度不超过32",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "L",
"applyFieldType": "entity",
"programCode": "return (data.logicEntity.defName||\"\").length <=32",
"enable": true
},
{
"id": "24E3F7E5-730D-4378-B72D-195D6B940352",
"defName": "不能使用保留字",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "entity",
"programCode": "let sysWords = \"action,add,aggregate,all,alter,after,and,as,asc,avg,avg_row_length,auto_increment,between,bigint,bit,binary,blob,bool,both,by,cascade,case,char,character,change,check,checksum,column,columns,comment,constraint,create,cross,current_date,current_time,current_timestamp,data,database,databases,date,datetime,day,day_hour,day_minute,day_second,dayofmonth,dayofweek,dayofyear,dec,decimal,default,delayed,delay_key_write,delete,desc,describe,distinct,distinctrow,double,drop,end,else,escape,escaped,enclosed,enum,explain,exists,fields,file,first,float,float4,float8,flush,foreign,from,for,full,function,global,grant,grants,group,having,heap,high_priority,hour,hour_minute,hour_second,hosts,identified,ignore,in,index,infile,inner,insert,insert_id,int,integer,interval,int1,int2,int3,int4,int8,into,if,is,isam,join,key,keys,kill,last_insert_id,leading,left,length,like,lines,limit,load,local,lock,logs,long,longblob,longtext,low_priority,max,max_rows,match,mediumblob,mediumtext,mediumint,middleint,min_rows,minute,minute_second,modify,month,monthname,myisam,natural,numeric,no,not,null,on,optimize,option,optionally,or,order,outer,outfile,pack_keys,partial,password,precision,primary,procedure,process,processlist,privileges,read,real,references,reload,regexp,rename,replace,restrict,returns,revoke,rlike,row,rows,second,select,set,show,shutdown,smallint,soname,sql_big_tables,sql_big_selects,sql_low_priority_updates,sql_log_off,sql_log_update,sql_select_limit,sql_small_result,sql_big_result,sql_warnings,straight_join,starting,status,string,table,tables,temporary,terminated,text,then,time,timestamp,tinyblob,tinytext,tinyint,trailing,to,type,use,using,unique,unlock,unsigned,update,usage,values,varchar,variables,varying,varbinary,with,write,when,where,year,year_month,zerofill\".split(\",\");\nreturn sysWords.indexOf(data.entity.defKey.toLowerCase())<0;",
"enable": true
},
{
"id": "039BF435-DC77-4DA4-81C7-7F8076BF22BB",
"defName": "表名-全小写",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "entity",
"programCode": "return !/[A-Z]+/.test(data.entity.defKey);",
"enable": true
},
{
"id": "CBEB0E30-19C6-427D-A8BF-61FF10E27A0B",
"defName": "表名-不允许空格",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "entity",
"programCode": "return !/\\s+/.test(data.entity.defKey);",
"enable": true
},
{
"id": "1168C7C2-8E8E-4FB7-B639-B3DE839C395A",
"defName": "表名-英文及下划线",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "entity",
"programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.entity.defKey);",
"enable": true
},
{
"id": "D373637C-D3A6-4621-B656-6841A5444A76",
"defName": "表必须有comment注释",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "entity",
"programCode": "return (data.entity.defName||\"\").length > 0 || (data.entity.comment||\"\").length > 0",
"enable": true
},
{
"id": "2BAB122B-8811-40BB-89F3-CDC24B5862D3",
"defName": "主键命名为 id,类型为 int 或 bigint,且为自增",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "entity",
"programCode": "let fields = data.entity.fields;\nfor(let i=0;i=0){\n count ++;\n }\n}\nreturn count==2;",
"enable": true
},
{
"id": "BEC54F19-52D5-4882-BCE1-4439785F8001",
"defName": "不能使用保留字",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "let sysWords = \"action,add,aggregate,all,alter,after,and,as,asc,avg,avg_row_length,auto_increment,between,bigint,bit,binary,blob,bool,both,by,cascade,case,char,character,change,check,checksum,column,columns,comment,constraint,create,cross,current_date,current_time,current_timestamp,data,database,databases,date,datetime,day,day_hour,day_minute,day_second,dayofmonth,dayofweek,dayofyear,dec,decimal,default,delayed,delay_key_write,delete,desc,describe,distinct,distinctrow,double,drop,end,else,escape,escaped,enclosed,enum,explain,exists,fields,file,first,float,float4,float8,flush,foreign,from,for,full,function,global,grant,grants,group,having,heap,high_priority,hour,hour_minute,hour_second,hosts,identified,ignore,in,index,infile,inner,insert,insert_id,int,integer,interval,int1,int2,int3,int4,int8,into,if,is,isam,join,key,keys,kill,last_insert_id,leading,left,length,like,lines,limit,load,local,lock,logs,long,longblob,longtext,low_priority,max,max_rows,match,mediumblob,mediumtext,mediumint,middleint,min_rows,minute,minute_second,modify,month,monthname,myisam,natural,numeric,no,not,null,on,optimize,option,optionally,or,order,outer,outfile,pack_keys,partial,password,precision,primary,procedure,process,processlist,privileges,read,real,references,reload,regexp,rename,replace,restrict,returns,revoke,rlike,row,rows,second,select,set,show,shutdown,smallint,soname,sql_big_tables,sql_big_selects,sql_low_priority_updates,sql_log_off,sql_log_update,sql_select_limit,sql_small_result,sql_big_result,sql_warnings,straight_join,starting,status,string,table,tables,temporary,terminated,text,then,time,timestamp,tinyblob,tinytext,tinyint,trailing,to,type,use,using,unique,unlock,unsigned,update,usage,values,varchar,variables,varying,varbinary,with,write,when,where,year,year_month,zerofill\".split(\",\");\nreturn sysWords.indexOf(data.field.defKey.toLowerCase())<0;",
"enable": true
},
{
"id": "082E186D-7B02-4F1C-9ECE-378AB98C4845",
"defName": "字段-全小写",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "return !/[A-Z]+/.test(data.field.defKey);",
"enable": true
},
{
"id": "F3CE5C67-23B6-4E7B-BA91-D5F0BCBC9E6A",
"defName": "字段-不允许空格",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "return !/\\s+/.test(data.field.defKey);",
"enable": true
},
{
"id": "21AFEAC8-96D7-467F-8320-A33887FC0C5D",
"defName": "字段-英文及下划线",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.field.defKey);",
"enable": true
},
{
"id": "2BBDE47B-6926-4E1A-AE57-D4F6E5399EE6",
"defName": "字段-必需有comment注释",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "return (data.field.defName||\"\").length > 0 || (data.field.comment||\"\").length > 0",
"enable": true
},
{
"id": "5E181E43-0D72-498F-8178-4C1CDBC89A16",
"defName": "字段-不能与表名相同",
"intro": "",
"controlIntensity": "F",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "return data.field.defKey != data.entity.defKey;",
"enable": true
},
{
"id": "DE8F8598-5D53-4727-A837-7816C2AF99D9",
"defName": "外键-字段必须具有表名及其主键",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "let relas = data.entity.correlations;\nfor(let i=0;i=0 || data.field.defName.lastIndexOf(\"时间\")>=0 ){\n if(data.field.dbType.toLowerCase().indexOf(\"date\")>=0){\n return true;\n }else{\n return false;\n }\n};\nreturn true;",
"enable": true
},
{
"id": "2E7FDA44-989A-4C5B-A0C5-12B1E40E57B1",
"defName": "索引名-英文及下划线",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "index",
"programCode": "return /^[a-zA-Z_][a-zA-Z0-9_]*$/.test(data.index.defKey);",
"enable": true
},
{
"id": "023450B3-AAE2-4DC1-AE63-2196DD82823D",
"defName": "索引名-主键的名称以pk_开头,唯一键以uk_开头,普通索引以 ix_开头",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "index",
"programCode": "if(data.index.unique){\n return data.index.defKey.indexOf(\"uk_\")==0;\n}else{\n return data.index.defKey.indexOf(\"ix_\")==0;\n}",
"enable": true
},
{
"id": "1C563E17-262B-4EB6-87F0-203CAC667CF0",
"defName": "不允许存在blob、text等大字段",
"intro": "",
"controlIntensity": "S",
"applyObjectType": "P",
"applyFieldType": "field",
"programCode": "if(\"blob,text\".indexOf(data.field.dbType.toLowerCase())>=0){\n return false;\n}\nreturn true;",
"enable": true
}
]
}