lanan-system/数据库设计/.back_蓝安集团一体化平台/T20241009115745.pdma.json
2024-10-09 12:08:03 +08:00

1 line
632 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"name":"蓝安集团一体化平台","describe":"蓝安集团项目数据库设计","avatar":"","version":"4.9.2","createdTime":"2024-10-9 10:34:15","updatedTime":"2024-10-9 11:57:45","dbConns":[],"profile":{"default":{"db":"29D1CE08-4C35-4D2D-AAA9-23D93305B52E","dbConn":"44923143-8F96-4E7A-8536-C3C2C49A10F0","entityInitFields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"8B03BA11-56AE-4ECA-934B-DB23548E7524","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"ADB3AD14-6603-43E2-8261-114E32442B5B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"92BF430E-01FA-4AEF-944F-25A142632654","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","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":"create_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":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","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":"update_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"}],"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 /// <summary>\n /// {{=it.func.join(field.defName,field.comment,';')}}\n /// </summary>\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 /// <summary>\n /// {{=it.func.join(it.entity.defName,it.entity.comment,';')}}\n /// </summary>\n {{=sqlSugartable}}\n public class {{=it.entity.defKey}}\n {\n {{~it.entity.fields:field:index}}\n /// <summary>\n /// {{=it.func.join(field.defName,field.comment,';')}}\n /// </summary>\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}","FreeSql":"using System;\r\nusing FreeSql.DataAnnotations;\r\n\r\n$blankline\r\n{{\r\n var today=new Date();\r\n var fullYear=today.getFullYear();\r\n var month=today.getMonth() + 1;\r\n var days=today.getDate();\r\n var nameSpace=it.entity.env.base.nameSpace +'.Models';\r\n \r\n function getTableAttribute(){ \r\n return `[Table(Name = \"${it.func.camel(it.entity.defKey,true)}\")]`;\r\n }\r\n \r\n function getIndexAttribute(){\r\n var indexAtrr=[]; \r\n it.entity.indexes.forEach(function(field){\r\n var fields=[];\r\n for(var item of field.fields){\r\n fields.push(it.func.camel(item.fieldDefKey,true)+(item.ascOrDesc!='A'?' desc':''));\r\n }\r\n index=`[Index(\"${field.defKey}\",\"${it.func.join(fields)}\",${field.unique})]`;\r\n indexAtrr.push(index)\r\n });\r\n return indexAtrr.join('\\n ');\r\n }\r\n \r\n function getColumnAttribute(){\r\n var atrrs=[];\r\n if(field.primaryKey) atrrs.push('IsPrimary = true');\r\n if(field.autoIncrement) atrrs.push('IsIdentity = true'); \r\n if(field.type=='string' && field.len ) atrrs.push(`StringLength = ${field.len}`);\r\n if(field.type=='string' && field.notNull ) atrrs.push('IsNullable = false');\r\n if(field.type=='decimal' && field.len ) atrrs.push(`Precision = ${field.len}`);\r\n if(field.type=='decimal' && field.scale ) atrrs.push(`Scale = ${field.scale}`);\r\n if(field.defKey=='Version' || field.defName=='乐观锁' || field.comment=='乐观锁') atrrs.push('IsVersion = true');\r\n return atrrs.length>0?`[Column(${it.func.join(atrrs)})]`:'';\r\n }\r\n \r\n function getProperty(){\r\n var stype = field.type ;\r\n if(field.notNull && field.type!='string') stype+='?'; \r\n var name = it.func.camel(field.defKey,true);\r\n var defaultValue = field.defaultValue ? '= '+field.defaultValue.replaceAll('\\'','\\\"')+';':'';\r\n return `public ${stype} ${name} { get; set; } ${defaultValue}`;\r\n }\r\n}}\r\n\r\n/*\r\n * @author : Alen\r\n * @date : {{=fullYear}}-{{=month}}-{{=days}}\r\n * @desc : {{=it.func.join(it.entity.defName,it.entity.comment,'-')}}\r\n */\r\nnamespace {{=nameSpace}}\r\n{\r\n\t/// <summary>\r\n\t/// {{=it.func.join(it.entity.defName,it.entity.comment,';')}}\r\n\t/// </summary>\r\n {{=getTableAttribute()}}\r\n {{=getIndexAttribute()}}\r\n public partial class {{=it.func.camel(it.entity.defKey,true) }}\r\n {\r\n {{~it.entity.fields:field:index}}\r\n /// <summary>\r\n /// {{=it.func.join(field.defName,field.comment,';')}}\r\n /// </summary>\r\n {{=getColumnAttribute()}}\r\n {{=getProperty()}}\r\n $blankline\r\n {{~}}\r\n }\r\n}\r\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<Page<{{=beanClass}}>> 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<Boolean> 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}}<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n<mapper namespace=\"{{=pkgName}}.mapper.{{=beanClass}}Mapper\">\n <resultMap type=\"{{=pkgName}}.entity.{{=beanClass}}\" id=\"{{=beanClass}}Map\">\n {{~it.entity.fields:field:index}}\n <result property=\"{{=it.func.camel(field.defKey,false)}}\" column=\"{{=field.defKey}}\" jdbcType=\"{{=field.type}}\"/>\n {{~}}\n </resultMap>\n $blankline\n <!-- 通过ID查询单条数据 -->\n <select id=\"queryById\" resultMap=\"{{=beanClass}}Map\">\n select\n {{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}}\n from {{=it.entity.defKey}}\n where {{=pkField}} = #{{{=pkVarName}}}\n </select>\n $blankline\n <!--分页查询指定行数据-->\n <select id=\"queryAllByLimit\" resultMap=\"{{=beanClass}}Map\">\n select\n {{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}}\n from {{=it.entity.defKey}}\n <where>\n {{~it.entity.fields:field:index}}\n <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n and {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}}\n </if>\n {{~}}\n </where>\n limit #{pageable.offset}, #{pageable.pageSize}\n </select>\n $blankline\n <!--统计总行数-->\n <select id=\"count\" resultType=\"java.lang.Long\">\n select count(1)\n from {{=it.entity.defKey}}\n <where>\n {{~it.entity.fields:field:index}}\n <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n and {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}}\n </if>\n {{~}}\n </where>\n </select>\n $blankline\n <!--新增数据-->\n <insert id=\"insert\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\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 </insert>\n $blankline\n <!-- 批量新增数据 -->\n <insert id=\"insertBatch\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values\n <foreach collection=\"entities\" item=\"entity\" separator=\",\">\n ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n </foreach>\n </insert>\n $blankline\n <!-- 批量新增或按主键更新数据 -->\n <insert id=\"insertOrUpdateBatch\" keyProperty=\"{{=pkField}}\" useGeneratedKeys=\"true\">\n insert into {{=it.entity.defKey}}({{=it.entity.fields.map(function(e,i){return e.defKey}).join(',')}})\n values\n <foreach collection=\"entities\" item=\"entity\" separator=\",\">\n ({{=it.entity.fields.map(function(e,i){return '#{entity.'+it.func.camel(e.defKey,false)+'}'}).join(',')}})\n </foreach>\n on duplicate key update\n {{=it.entity.fields.map(function(e,i){return e.defKey + '=values('+e.defKey+')'}).join(',\\n\\t\\t')}}\n </insert>\n $blankline\n <!-- 更新数据 -->\n <update id=\"update\">\n update {{=it.entity.defKey}}\n <set>\n {{~it.entity.fields:field:index}}\n <if test=\"{{=it.func.camel(field.defKey,false)}} != null and {{=it.func.camel(field.defKey,false)}} != ''\">\n {{=field.defKey}} = #{{{=it.func.camel(field.defKey,false)}}},\n </if>\n {{~}}\n </set>\n where {{=pkField}} = #{{{=pkVarName}}}\n </update>\n $blankline\n <!--通过主键删除-->\n <delete id=\"deleteById\">\n delete from {{=it.entity.defKey}} where {{=pkField}} = #{{{=pkVarName}}}\n </delete>\n</mapper>\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<PageImpl<{{=beanClass}}>> 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<Boolean> 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}}<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE mapper PUBLIC \"-//mybatis.org//DTD Mapper 3.0//EN\" \"http://mybatis.org/dtd/mybatis-3-mapper.dtd\">\n$blankline\n\n<mapper namespace=\"{{=pkgName}}.mapper.{{=beanClass}}Mapper\">\n <select id=\"selectByPage\" resultType=\"{{=pkgName}}.entity.{{=beanClass}}\">\n select * from user ${ew.customSqlSegment}\n </select>\n</mapper>\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.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= 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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n","deleteTable":"DROP TABLE IF EXISTS {{=it.entity.defKey}};","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","deleteIndex":"{{~ it.entity.indexes:index}}\nDROP INDEX IF EXISTS {{=index.defKey}} ;\n{{~}}","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{{~ entity.data.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=entity.data.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}\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.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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n","deleteTable":"DROP TABLE {{=it.entity.defKey}};","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","deleteIndex":"{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}","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{{? 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.defName === after.defName\n && before.comment === after.comment\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 += ` COMMENT '${after.defName}${after.comment ? `;${after.comment}` : ''}')`;\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{{~ entity.data.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=entity.data.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}\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.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? ' IDENTITY(1,1)' : '' }}{{= 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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}EXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, null, null;{{?}}\n{{~it.entity.fields:field:index}}\nEXEC sp_addextendedproperty 'MS_Description', '{{=it.func.join(field.defName,field.comment,';')}}', 'SCHEMA', dbo, 'table', {{=it.entity.defKey}}, 'column', {{=field.defKey}};\n{{~}}\n","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n","deleteTable":"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}}];","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","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{{?}}","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{{~ entity.data.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=entity.data.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}\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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n","deleteTable":"DROP TABLE IF EXISTS {{=it.entity.defKey}};","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","deleteIndex":"{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}","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{{?}}","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{{~ entity.data.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=entity.data.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}\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.type}}{{?field.len>0}}{{='('}}{{=field.len}}{{?field.scale>0}}{{=','}}{{=field.scale}}{{?}}{{=')'}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= field.autoIncrement ? '' : '' }}{{= 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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"},{"applyFor":"0BBCABA5-B8E4-41B0-B8E4-8F5EA6029307","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.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'IDENTITY(1,1)' : '' }}{{= 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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n","deleteTable":"","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","deleteIndex":"","message":"","update":""},{"type":"dbDDL","applyFor":"592C7013-143D-4E7B-AF64-0D7BF1E28230","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.type}}{{?field.len>0}}{{='('}}{{=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 }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"},{"type":"dbDDL","applyFor":"77BD85E5-9D0D-4096-8427-CBA306FC9C6A","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.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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"},{"applyFor":"11D1FB71-A587-4217-89BA-611B8A1F83E0","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.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= 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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT '{{=it.func.join(it.entity.defName,it.entity.comment,';') }}';\n$blankline\n","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n","deleteTable":"","createIndex":"","deleteIndex":"","message":"","update":""},{"applyFor":"B363BE0B-F852-49B8-9B2E-F6D2174DEAC1","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.type}}{{?field.len>0}}{{='('}}{{=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 }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) ; --{{=it.func.join(it.entity.defName,it.entity.comment,';') }}\n$blankline\n","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline\n"},{"type":"dbDDL","applyFor":"dictSQLTemplate","content":"/* 插入字典总表[{{=it.dict.defKey}}-{{=it.dict.defName}}] */\nINSERT INTO SYS_DICT(KEY_,LABEL,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=it.dict.defName}}','{{=it.dict.intro}}',1);\n/* 插入字典明细表 */\n{{~it.dict.items:item:index}}\nINSERT INTO SYS_DICT_ITEM(DICT_KEY,KEY_,LABEL,SORT_,INTRO,REVISION) VALUES('{{=it.dict.defKey}}','{{=item.defKey}}','{{=item.defName}}','{{=item.sort}}','{{=item.intro}}',1);\n{{~}}"},{"applyFor":"81CCA482-3F4D-4EAC-8CF9-F5E7BC098AD2","type":"dbDDL","createTable":"/**字段名,关键字等全部用的小写*/\ndrop table if exists {{=it.entity.defKey}};\n/**补充上库名,external关键字根据建表规范看是否添加*/\ncreate [external] table if not exists {{=it.entity.defKey}}(\n{{ pkList = [] ; }}\n/**这里把varchar,char,text,date,datetime字段全部映射为string类型.tinyint unsigned,bit,Integer,tinyint,smallint,mediumint映射为int类型,int unsigned映射为bigint.其它自定义映射规则根据自己情况修改*/\n/**当长度>0只有为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<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n);\n$blankline\n{{? it.entity.defKey || it.entity.defName}}COMMENT ON TABLE {{=it.entity.defKey}} IS '{{=it.func.join(it.entity.defName,it.entity.comment,';')}}';{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.defName || field.comment}}COMMENT ON COLUMN {{=it.entity.defKey}}.{{=field.defKey}} IS '{{=it.func.join(field.defName,field.comment,';')}}';{{?}}\n{{~}}","createView":"CREATE VIEW {{=it.view.defKey}} AS\nSELECT \n{{~it.view.fields:field:index}}\n {{=field.refEntity}}.{{=field.refEntityField}} AS {{=field.defKey}}{{= index < it.view.fields.length-1 ? ',' : ''}}\n{{~}}\nFROM {{~it.view.refEntities:refEntity:index}}{{=refEntity}}{{= index < it.view.refEntities.length-1 ? ',' : ''}}{{~}};\n$blankline","deleteTable":"DROP TABLE IF EXISTS {{=it.entity.defKey}};","createIndex":"{{~ it.entity.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=it.entity.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}","deleteIndex":"{{~ it.entity.indexes:index}}\nDROP INDEX {{=index.defKey}} ;\n{{~}}","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{{? 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{{~ entity.data.indexes:index}}\nCREATE {{? index.unique}}UNIQUE {{?}}INDEX {{=index.defKey}} ON {{=entity.data.defKey}}({{ fieldsKeys = index.fields.map(function(field){return field.fieldDefKey}) ; }}{{=it.func.join(...fieldsKeys,',')}});\n{{~}}\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{{?}}"}],"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":"refDict","hideInGraph":true,"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":"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":false,"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","extAttrProps":{"attr1":{"editType":"","optionsData":"","optionsFetcher":""},"attr2":{"editType":"","optionsData":"","optionsFetcher":""},"attr3":{"editType":"","optionsData":"","optionsFetcher":""},"attr4":{"editType":"","optionsData":"","optionsFetcher":""},"attr5":{"editType":"","optionsData":"","optionsFetcher":""},"attr6":{"editType":"","optionsData":"","optionsFetcher":""},"attr7":{"editType":"","optionsData":"","optionsFetcher":""},"attr8":{"editType":"","optionsData":"","optionsFetcher":""},"attr9":{"editType":"","optionsData":"","optionsFetcher":""}},"menuWidth":"312px"},"entities":[{"id":"8BE13179-7DB6-4B43-B024-D8EE92334D55","defKey":"sys_dept","defName":"部门表","comment":"","properties":{},"fields":[{"defKey":"dept_id","defName":"部门id","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":true,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"48410389-7277-4DFD-BF9D-02358B0F8821","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"parent_id","defName":"父部门id","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D90BCF6A-F3C6-4FF7-9814-4F34CD7FB155","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"ancestors","defName":"祖级列表","comment":"","domain":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A06463ED-650C-4473-974E-6C381DD0E89E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_name","defName":"部门名称","comment":"","domain":"","type":"VARCHAR","len":30,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"415CAF82-F2B1-4971-913C-33CE57F97C97","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"order_num","defName":"显示顺序","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DDE43B7B-1890-45F0-B6E6-05710AB097C3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"leader","defName":"负责人","comment":"","domain":"","type":"VARCHAR","len":20,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"134796AC-D857-440B-BAA2-C7EEA4B3498D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"phone","defName":"联系电话","comment":"","domain":"","type":"VARCHAR","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"79BC9DCD-2370-4BB7-8116-46BD239039C9","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"email","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":"D640E0C2-1A7B-4CB3-9CF0-E06460105426","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"status","defName":"部门状态0正常 1停用","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"04E02914-427A-471D-A178-EB1A8A9A48BB","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"del_flag","defName":"删除标志0代表存在 2代表删除","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"266535DC-7BED-435C-8418-EDAC5F5B2827","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"create_by","defName":"创建者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"96EE6994-F9C1-4FDD-A598-E374BF1061A5","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E2C3AE18-26EE-40A4-9B68-9AF24E83720A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"update_by","defName":"更新者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"241B886E-D30D-4F7A-A3E9-E0D02DBA5059","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1EF75124-BE11-413B-9FB7-354DF67B52EB","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":"refDict","hideInGraph":true},{"freeze":false,"refKey":"len","hideInGraph":false},{"freeze":false,"refKey":"scale","hideInGraph":false},{"freeze":false,"refKey":"comment","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},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"correlations":[],"type":"P","sysProps":{}},{"id":"926E2CE2-FA08-4DA3-AE65-058B337AC0AF","defKey":"sys_dict_data","defName":"字典数据表","comment":"","properties":{},"fields":[{"defKey":"dict_code","defName":"字典编码","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":true,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BF7EE6C7-EEB5-42F7-87E0-1B5B3731072C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"dict_sort","defName":"字典排序","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C5314A11-F553-471A-9533-904D7559295B","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"dict_label","defName":"字典标签","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DD71E39C-B614-45B0-863D-41D36ACB1772","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dict_value","defName":"字典键值","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1FC2912D-0A23-4F92-B9A1-838292389F83","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dict_type","defName":"字典类型","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"50D4DA42-44A1-478F-8C7F-8A4AE74961C0","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"css_class","defName":"样式属性(其他样式扩展)","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"14D92C9B-EC93-4AE6-9EA5-427A65DE90D3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"list_class","defName":"表格回显样式","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9A8C5B46-6203-47C9-ACCA-EEDA58F26185","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"is_default","defName":"是否默认Y是 N否","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'N'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E964BCAF-EB89-4DC9-BF7B-58EC618C1450","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"status","defName":"状态0正常 1停用","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"45C4D701-3931-4291-9C5E-6589C0256897","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"create_by","defName":"创建者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"255F1F87-C98F-44FA-81A2-9D205F6FA72C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3E46DCA6-B100-4A74-A4CE-81259CE9B5A4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"update_by","defName":"更新者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9663BE83-C7F3-400B-AE82-4FE4D490CA72","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BF3CD929-9ED2-41ED-AF02-4BDF2CDF08C2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E63FDE6A-5C58-40E6-8F99-82E47ADCE61E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"indexes":[],"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":"refDict","hideInGraph":true},{"freeze":false,"refKey":"len","hideInGraph":false},{"freeze":false,"refKey":"scale","hideInGraph":false},{"freeze":false,"refKey":"comment","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},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"correlations":[],"type":"P","sysProps":{}},{"id":"3526566A-6742-46B7-AC57-EDCB16A16BB9","defKey":"sys_dict_type","defName":"字典类型表","comment":"","properties":{},"fields":[{"defKey":"dict_id","defName":"字典主键","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":true,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AE2FA7F2-CA32-4751-AC8A-53E92F802E70","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"dict_name","defName":"字典名称","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8BD9219E-B123-4C9E-85EA-0684A028180E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dict_type","defName":"字典类型","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"EA632F22-5A48-4B53-B56B-AD5411A29145","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"status","defName":"状态0正常 1停用","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"05AE7C76-436E-4BE1-9853-0F0E1F6D33C3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"create_by","defName":"创建者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2FA4859D-753B-49B3-B1CD-C8CABAF8A98F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AA46E695-BB2D-4BCF-B401-DF47D24216E1","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"update_by","defName":"更新者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8109B4D1-22C2-41C0-9892-61AECDAB3FCC","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CD73D38E-DE49-4B01-9B12-4D758CA014AD","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6930BF2F-8A60-4AD2-A7C8-D7726CFD3140","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"indexes":[{"defKey":"dict_type","unique":true,"defName":null,"comment":"","fields":[{"ascOrDesc":"A","id":"02E5D188-8B09-42C7-B6DF-8AB0B82EA546","fieldDefKey":"EA632F22-5A48-4B53-B56B-AD5411A29145"}],"id":"E8ED8C23-ADA4-4ADD-99EF-E8909212E3D7"}],"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":"refDict","hideInGraph":true},{"freeze":false,"refKey":"len","hideInGraph":false},{"freeze":false,"refKey":"scale","hideInGraph":false},{"freeze":false,"refKey":"comment","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},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"correlations":[],"type":"P","sysProps":{}},{"id":"227BD0A3-4292-4A1F-9629-D5E280A69480","defKey":"sys_role","defName":"角色信息表","comment":"","properties":{},"fields":[{"defKey":"role_id","defName":"角色ID","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":true,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DD69F78A-F6EA-4C21-A2BE-E5DC7A6867D3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"role_name","defName":"角色名称","comment":"","domain":"","type":"VARCHAR","len":30,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"EAFF289B-9206-463E-8534-053593B0BC08","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"role_key","defName":"角色权限字符串","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1621B20E-E0F7-48CA-BC87-D9F6D5586EC3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"role_sort","defName":"显示顺序","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"23C657BD-C1A5-42F0-992A-A8FF4E991D3B","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"data_scope","defName":"数据范围1全部数据权限 2自定数据权限 3本部门数据权限 4本部门及以下数据权限","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'1'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2C232DCC-C061-4501-8CD1-03CBF9053703","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"menu_check_strictly","defName":"菜单树选择项是否关联显示","comment":"","domain":"","type":"BIT","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"1","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"59B08131-EEB8-4ACA-B561-72BD121BF41E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"dept_check_strictly","defName":"部门树选择项是否关联显示","comment":"","domain":"","type":"BIT","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"1","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CA3CB7AD-547C-4396-9C78-30329E9D8277","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"status","defName":"角色状态0正常 1停用","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F7E0D611-1072-4A4D-A96F-30347283F789","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"del_flag","defName":"删除标志0代表存在 2代表删除","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"4F574BA5-2FB9-4C26-946F-9BF41A1231AA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"create_by","defName":"创建者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"09284A7F-6D08-435B-9574-C8B8F319FC7C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"419261BB-E3E6-40F9-8A1C-E3EC60C413E8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"update_by","defName":"更新者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CDCBD19B-942A-4B26-9B2F-EE3FC3BCE026","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E483F22B-B2CE-4554-8F17-B4068F0D6349","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C257F4F4-0294-46F4-84EE-31C02011EB98","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"indexes":[],"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":"refDict","hideInGraph":true},{"freeze":false,"refKey":"len","hideInGraph":false},{"freeze":false,"refKey":"scale","hideInGraph":false},{"freeze":false,"refKey":"comment","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},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"correlations":[],"type":"P","sysProps":{}},{"id":"415D0550-4F6C-4797-BF2F-EC258BAB5A07","defKey":"sys_user","defName":"用户信息表","comment":"","properties":{},"fields":[{"defKey":"user_id","defName":"用户ID","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":true,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F41C4BE2-B5EB-4E10-9C69-F3508B19D742","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"dept_id","defName":"部门ID","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"100","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C6E4D414-A3E3-4A20-A1BC-6106D3E22C84","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"user_name","defName":"用户账号","comment":"","domain":"","type":"VARCHAR","len":30,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"17A72159-1457-4D14-AA16-704AA256D521","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"real_name","defName":"用户姓名","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"91835068-2BF3-4D8E-862D-B0F83ECA8D76","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"nick_name","defName":"用户昵称","comment":"","domain":"","type":"VARCHAR","len":30,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D88518EB-2759-42F5-9EC7-A43A9720B500","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_type","defName":"用户类型00系统用户","comment":"","domain":"","type":"VARCHAR","len":2,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'00'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"34F8C3A6-39D6-439C-93F2-2FE2E3EAA369","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"email","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":"29F4A239-2BED-46FE-BC5C-3A8B61B465DA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"phonenumber","defName":"手机号码","comment":"","domain":"","type":"VARCHAR","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"50D893DB-965E-492C-877A-7C49CCB66C84","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"sex","defName":"用户性别0男 1女 2未知","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CEA2A0C9-2DE9-4A24-BE9F-88C03A2D2927","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"avatar","defName":"头像地址","comment":"","domain":"","type":"VARCHAR","len":300,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C46A526D-F509-451F-9DFC-57FDAC69260A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"password","defName":"密码","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CFF7512C-DADC-4343-B3E2-B05731A963E2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"status","defName":"帐号状态0正常 1停用","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3B22B7D5-073D-4CF9-A870-F4E0DB748364","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"del_flag","defName":"删除标志0代表存在 2代表删除","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6C1F5C37-AF26-434B-8953-616DC5F8E8D3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"login_ip","defName":"最后登录IP","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":"AC45C006-AE04-40DC-BACA-40D74AB4D27E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"login_date","defName":"最后登录时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3FD63D80-F91F-47F7-B149-4B29A1D28BD1","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"invite_id","defName":"邀请用户的id","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F6EAA5F3-7FF6-44C4-A4B9-030D97D8CDA3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"create_by","defName":"创建者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"86B13EF7-B5BF-489C-9B88-C51EDACE2AA5","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8B5C0AE9-09DD-4EA6-80F2-2BCDBFED91DF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"update_by","defName":"更新者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9451A68F-D860-45A5-9611-D7B38EADC5A8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F1DEB389-1BA9-4994-A9DF-7E34D17AA0D5","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8F5A0A86-D0F1-47EA-852B-2E9C834EDFA2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"open_id","defName":"微信open_id","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D47D2739-7C22-4A40-9963-3945F2598A11","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"jc_open_id","defName":"检测小程序openId","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"76E2B484-0395-4787-B303-8FF38D1933E5","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"rescue_open_id","defName":"救援小程序openId","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"79085F06-A307-4A6B-89A2-AAD3F68BDBA7","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"union_id","defName":"微信union_id","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"41EF526D-BF8E-4271-8E8F-7B929A1F1953","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_level","defName":"用户等级","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"901C31A7-BB3C-4623-90E3-1D0669C2A29E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"user_age","defName":"年龄","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6C9C9487-B35F-4E3F-9521-A8842E6B5F44","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"id_card","defName":"身份证号","comment":"","domain":"","type":"VARCHAR","len":30,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DC18A974-C2EB-4AD4-94F4-12E85B376F75","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"id_card_image","defName":"身份证照片","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"60031549-1E85-4093-B91C-E9BD18784062","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"is_student","defName":"是否为学员0否1是","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9775E44C-03FB-4475-803A-B95E9818F367","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dealers_name","defName":"经销商名称","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"446D127F-A611-4997-9DFE-511ED6B9A2DC","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dealers_address","defName":"经销商地址","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CF3BB822-7AA8-4A47-8475-1A68253369A8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dealers_pic","defName":"经销商营业执照","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6C2178B8-B942-49B7-A527-0A39D40B9D9E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"is_authentication_dealers","defName":"是否认证经销商 0否1是","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B84407F9-7023-4FB9-8449-07855DE8E2BD","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"partner_verify_status","defName":"合作商审核状态 n待审核 y已审核","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D169FF20-9858-463D-AE15-07DB2547BB27","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"indexes":[{"defKey":"phonenumber","unique":true,"defName":null,"comment":"","fields":[{"ascOrDesc":"A","id":"F9EA398B-6705-4FAD-8D0F-3E4734D2AFC9","fieldDefKey":"50D893DB-965E-492C-877A-7C49CCB66C84"}],"id":"32F67F55-A0D9-4A00-9E9E-B6EE8E7585AD"}],"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":"refDict","hideInGraph":true},{"freeze":false,"refKey":"len","hideInGraph":false},{"freeze":false,"refKey":"scale","hideInGraph":false},{"freeze":false,"refKey":"comment","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},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"correlations":[],"type":"P","sysProps":{}},{"id":"BE8A2278-6312-499D-BF94-8900981557ED","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_customer_main","defName":"客户信息主表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"uuid","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"84437537-978B-43AB-B6EB-A76F25E759EC","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"sys_user表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"0BC9A987-D050-476F-A769-553442574B6F","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"type_code","defName":"用户类型","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"97484E88-5B85-489A-A2D1-099509360FEB","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"4BB40237-E062-4AEF-8C68-827C09535C6E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_code","defName":"所属企业code部门表code","comment":"","type":"VARCHAR","len":45,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"7EE1DADA-DA0B-468E-AF6C-4654895973A2"},{"defKey":"cus_name","defName":"客户名称(政企客户填企业名称)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"3588EB00-236C-49D8-A1DC-82FCF127E417"},{"defKey":"phone_number","defName":"联系方式","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"40155F19-CB20-4397-940D-6D094A6DD256"},{"defKey":"birthday","defName":"生日","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"FD843AD5-F5F4-48C2-8863-61845C5E07EB"},{"defKey":"address","defName":"住址","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"3EEFD79C-9D09-4118-9F10-E5AD0DF91AE2"},{"defKey":"sex","defName":"性别","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"1EA6158D-5F93-49AC-BB25-09EBC515AF45","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"E25437C0-5863-4404-95CD-C5A25DDDBAEE"},{"defKey":"id_card","defName":"身份证号","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"20197F95-E506-45FC-9A33-0FC6170A7607"},{"defKey":"id_card_image","defName":"身份证照片","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"E882ED36-3F08-4B7E-B1FC-28C886DFC871"},{"defKey":"data_from","defName":"客户初始来源","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"22B75B83-F1AF-4E27-8F6D-9AA04C7554C8","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"072960F9-2AA2-4B42-998E-A70FD6342B89"},{"defKey":"near_do_time","defName":"最近业务办理时间","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"1C75457A-5018-4257-ACB2-1FD8949BB236"},{"defKey":"near_do_content","defName":"最近办理业务(数据字典业务标识)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"C7D9AA17-C9A2-4CD2-9D36-577EF3E91550"},{"defKey":"inviter","defName":"邀请者user_id","comment":"","type":"VARCHAR","len":60,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"5FE3EEC6-5DD0-45E0-A14F-578B2BF90035"},{"defKey":"inviter_type","defName":"邀请者类型","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"7EE18D03-8F8F-48F4-B3D7-6B3DC228DCCE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"825448BE-1F8A-4CAE-ABFF-B9466C38F7E7"},{"defKey":"status","defName":"客户状态","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"63296630-7085-4217-9D2E-C67C41951968"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"88AB438C-F2EC-4B0B-865E-7AAA6376F042","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"删除状态删除标志","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","uiHint":"","id":"850ADD21-202B-4C8F-A3AF-44BEFCE24C3D","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"FB7736A0-AF14-417E-A814-F35F0A7D9ACE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"BE332A2E-559F-4F0E-B08D-7963033BB234","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"193BCBAD-BC53-40D7-A4A4-28D024021A03","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"2D4B74C7-85A8-4DCB-9B6E-927256275254","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"672A2E12-DFC6-4168-8722-F92BE2394498","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_car_main","defName":"车辆信息表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"5CD491F7-7865-4E43-8104-9DDA572B8F27","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"engine_number","defName":"发动机号码","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"F4065C27-6639-46D3-930D-8392622581D5","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"vin","defName":"车架号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"A7320063-A151-4213-B963-E2B201DD9B47","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"license_number","defName":"车牌号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"DF1704E9-56A5-4CEA-AC48-0EE153BA2DFB","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_model","defName":"车辆型号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"4459097C-6CA6-40E3-83F8-8C0B687AA82C"},{"defKey":"maintenance_date","defName":"保养日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"2F228307-A85F-4E6D-B520-58BF92E95990"},{"defKey":"maintenance_mileage","defName":"保养里程","comment":"","type":"VARCHAR","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"563BB12D-EDC8-4276-9F70-6AB5ACFE6CE8"},{"defKey":"inspection_date","defName":"年检日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"CDBA2BDA-DDEA-44E7-8968-28D452D7A6A0"},{"defKey":"insurance_date","defName":"保险日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"FA65B1B6-E92E-409A-84A8-523191590F39"},{"defKey":"check_date","defName":"二级维护时间","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"8651550F-72E6-4AEB-AF77-34CCEEC31C74"},{"defKey":"next_maintenance_date","defName":"下次保养日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"F0BCA0D8-9DA7-4F54-808F-49007D8FF99D"},{"defKey":"next_maintenance_mileage","defName":"下次保养里程","comment":"","type":"INT","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"","id":"24C0D5F6-8B8D-4C9F-AC1F-78CE0CD22529"},{"defKey":"next_inspection_date","defName":"下次年检日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"7B79E6B3-8272-4C4C-A352-85EFB9256B52"},{"defKey":"insurance_expiry_date","defName":"保险到期日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"A34B1DB4-66B9-4E6C-8D66-F5E9EBE381B2"},{"defKey":"next_check_date","defName":"下次二级维护时间","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"8732690F-55C1-4A4F-A026-723FC1BAE59E"},{"defKey":"car_brand","defName":"车辆品牌","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"31E45E99-2C45-4627-AC6E-8CDE8F0312BE"},{"defKey":"car_nature","defName":"车辆性质:营运 非营运等","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"753530E7-71EF-4895-A89A-1C246E34756A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"E230657A-8C40-4F8B-95C0-0B824A1EE519"},{"defKey":"car_register_date","defName":"车辆注册日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"","id":"6D4D9E61-135A-4E1C-A77F-E466F9303836"},{"defKey":"car_license_img","defName":"行驶证图片","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"0A7D4698-AD5C-4F1D-B3C7-6AEA643A13C4"},{"defKey":"deleted","defName":"删除状态删除标志","comment":"","domain":"","type":"BIT","len":"1","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"89381BE4-5F56-49DE-BDF7-4A7B3FD763C6","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"8EDD6F2A-D860-4D64-A13C-0B66BBE1903C","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"07977F15-4FD1-4CAB-A7D4-FD9966557BD1","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"8F89557B-4A46-441F-A638-799B7C4250A0","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"27B603FD-BBD1-4A2A-A8DF-858FC1EDA69E","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"842150A7-AD3C-457B-AA05-000C02C679EC","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_customer_car","defName":"客户车辆关联表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"8782A426-45CE-4FAD-8995-2A8B6A4144B9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_id","defName":"客户信息主表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"1D0CCBF4-D523-4FB8-B856-93DC523B46BE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_id","defName":"车辆表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"B92C5DCC-A8A5-46F9-ADB8-A338223FC7BF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"is_owner","defName":"是否车主","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"FA7F294D-D46F-470F-B159-8730EB858893","extProps":{},"domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","id":"B5C11220-576B-4EB7-AFDC-5F057EB49614","attr1":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"9AC38EDC-56BB-4C6E-8980-6C6E082FE677","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"删除状态删除标志","comment":"","domain":"","type":"BIT","len":"1","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"9C423E43-97AE-4CB6-9DC5-E3A75B6697EE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"A3EC42A1-C83C-4419-93A7-24C1DC686FD4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"55625644-43D7-4B73-9971-9BF1D367F90B","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2AF1C1B5-1A40-4C12-B7CF-6079E224F995","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"F3E8FD35-A228-4C5D-A9DA-CFB655CF75D9","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"9D3B3D1E-09A3-412A-9EE8-07A8D88F2069","defKey":"sys_menu","defName":"菜单权限表","comment":"","properties":{},"fields":[{"defKey":"menu_id","defName":"菜单ID","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":true,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"FD543908-EC1D-4141-9D27-796A7664D3F7","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"menu_name","defName":"菜单名称","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"07641788-12E3-4BB0-AACB-0AAFB749A9B4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"parent_id","defName":"父菜单ID","comment":"","domain":"","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"EEE0D678-D956-4F15-9303-A46253B92887","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"order_num","defName":"显示顺序","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"716DE764-563E-4218-BBC5-6D684143FEEF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"path","defName":"路由地址","comment":"","domain":"","type":"VARCHAR","len":200,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3834448E-A78F-41D9-A7AB-F752A36CEF5A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"component","defName":"组件路径","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"4D4B13FB-CAE7-4A70-B7ED-C8CBB758362C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"query","defName":"路由参数","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BC6778E8-D25A-4AB8-A491-2C438AD6F9C9","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"is_frame","defName":"是否为外链0是 1否","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"1","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C4B4BC0F-AA0D-4480-ACB4-E2F99680CBA8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"is_cache","defName":"是否缓存0缓存 1不缓存","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C8868D35-7F80-4A66-A53E-4088C2BFEAEA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"menu_type","defName":"菜单类型M目录 C菜单 F按钮","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"0D9E1955-8C23-4C33-B38E-3E43A3F11199","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"visible","defName":"菜单状态0显示 1隐藏","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E48D1705-0D35-4A5A-AA71-3B28337D037F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"status","defName":"菜单状态0正常 1停用","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"68E9BC54-5752-48AD-A4F2-8E6698EDDF06","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"perms","defName":"权限标识","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"59ED6EDF-5D3B-4126-9BD3-4742BA58773E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"icon","defName":"菜单图标","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'#'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"0CA08AB5-52FB-4522-9493-2A43D9165FB1","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_by","defName":"创建者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E52628ED-4388-4B57-A9E2-B6B55D190D93","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C8565459-A3D9-47F6-BE03-BF023FA3D9D8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"update_by","defName":"更新者","comment":"","domain":"","type":"VARCHAR","len":64,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"7A32AA65-AD0E-4267-AD5A-3D268980B7E5","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8BA2D615-976E-4516-BEFA-D0A548DF6094","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"remark","defName":"备注(复用字段存系统标识,通用菜单存空)","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AA33EF61-2793-47A0-B4A4-A6D2A0B4DDF7","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"indexes":[],"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":"refDict","hideInGraph":true},{"freeze":false,"refKey":"len","hideInGraph":false},{"freeze":false,"refKey":"scale","hideInGraph":false},{"freeze":false,"refKey":"comment","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},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"correlations":[],"notes":{},"type":"P","sysProps":{}},{"id":"3BC3BF5D-14E1-4BAB-9081-32B2EA230649","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_customer_item","defName":"客户信息扩展表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"D0A17958-3579-4AF8-A6F4-84BDC7D5AACD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_id","defName":"客户信息主表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"478239AA-0D7E-4103-8F71-449E328D195D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"system_code","defName":"系统标识","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"9E9597D6-568E-439E-AB47-6F79A0AD9338","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"5148AB8C-4316-480B-824A-1A57366F25D4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_level","defName":"会员等级","comment":"不同的业务表会员等级是独立的","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"D01EC02E-28C7-442B-8C4B-57B03A66DDBA"},{"defKey":"ser_content","defName":"服务内容","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"A5E0F112-3E15-49C8-9D35-CE033B784B2D"},{"defKey":"ser_time_start","defName":"服务开始时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"24FB84D6-E4C0-4F14-9A71-E4F7D22285CF"},{"defKey":"ser_time_end","defName":"服务结束时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"118F796B-6AE0-42D1-A357-DA4231F89883"},{"defKey":"big_json","defName":"其他字段","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"684FD847-E544-4270-A4E1-29D53C976366"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"A5FC8E33-A635-44DC-88B1-0F91AA84B43D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"删除状态删除标志","comment":"","domain":"","type":"BIT","len":"1","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","uiHint":"","id":"BE14334C-87BE-4F60-94AC-676FC5B16329","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"735627C6-E79C-4BAC-8C61-F9BE594C58C3","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"4669C4AF-E23F-48FA-B769-78940F19F57F","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"D4DA44E0-2261-4B96-95D5-BAD2E9DA63B2","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"800C7EA5-383D-4D52-994E-B740212B7AE0","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"9B2F50D3-8720-4A28-9814-2BCF5DBC3389","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_business_log","defName":"客户车辆业务记录表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"6B7B1FC6-163D-4FC0-9414-A381995C4018","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_id","defName":"客户主表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"06271B5E-A8AC-4324-B480-6F62E55400A9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"opt_id","defName":"办理人id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"02BAA535-86E2-4078-B94E-77F999A70701","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_id","defName":"车辆id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"DDDE22DA-8D35-475D-8DAC-207012247F6B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"system_code","defName":"系统标识","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"9E9597D6-568E-439E-AB47-6F79A0AD9338","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"89A660A8-6759-4BD8-9C80-B52592412565","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"business_id","defName":"业务id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"456CBA30-3E56-4645-9BE2-BC10ED02AC30","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"D6611346-16C3-4CB3-867E-4513A2988C39","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"5E197A21-96D9-4DAE-B7F3-5E7A312C82F9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"删除状态删除标志","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"C6072E83-7C65-4526-BE61-1D37CBD030B2","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"DE3AD550-5DFD-4551-B1E8-BFD34D2E331D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"985B27E1-81E7-44A9-810A-F4241EF126B8","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"3EA90DB7-7A68-4E79-8358-E57647023090","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"EC3807BC-572D-4E75-A202-9C5283C343FB","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"6B830226-BD18-4D3D-AAD8-5EA36090BC2E","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_tenant","defName":"租户表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"070CC96B-B753-4203-83DF-C44C99578601","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"name","defName":"租户名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","refDict":"","uiHint":"","id":"3F468F2F-1476-481D-8B87-0BA0F156B54D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"begin_date","defName":"有效期开始时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"1305F395-E585-48D0-BB40-19FECBF3627A","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"end_date","defName":"有效期结束时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"0858FB7D-9B70-4420-B885-EFCF77C36892","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"status","defName":"租户状态,是否冻结","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"FA7F294D-D46F-470F-B159-8730EB858893","extProps":{},"domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","id":"C4B0B2A5-656E-4ABA-A271-BEF25DC70077","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"system_code","defName":"开放系统标识,多个英文逗号拼接","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"9E9597D6-568E-439E-AB47-6F79A0AD9338","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"97C0204C-B87D-4E79-A7FC-F991D5F5982C","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"删除状态删除标志","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"45691B5A-9877-44EA-90B6-39E2612936BE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"E4EDF7E2-65CD-4E30-9EFF-9620917C45AF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"595E9194-A47A-4D0B-994C-08704DB134C3","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6B818B4C-B9C6-49D4-8372-97086B6B74F7","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"059BB5CB-07F8-4BB4-B6E2-47617EDA1B26","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"1C55A6CD-B298-4425-BEC7-5DAA774EDAFB","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_busi_lable","defName":"业务标签表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"FFC2DA9C-68A9-4F81-8166-515204E26CF4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"F712CEEE-AABB-4928-A641-58C52D62A3C4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"main_table","defName":"主表名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"A0D05821-41C6-4326-A233-D72F81F1B5BC"},{"defKey":"main_id","defName":"主表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"D5EDED72-D540-4F52-87F7-AE6884A5DCE7"},{"defKey":"lable_id","defName":"标签库标签id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"60F4F918-53B8-4371-A1DA-FF858A31F976"},{"defKey":"lable_name","defName":"标签名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"3497F2B6-0A14-42B6-86F4-4AB74E4D4318"},{"defKey":"lable_content","defName":"标签内容","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"3A364D0B-DB7D-401C-AAC1-83CF21D93279"},{"defKey":"system_code","defName":"系统标识","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"49E7843E-4786-4130-BF0C-E031EEA7C1AD"},{"defKey":"deleted","defName":"删除状态删除标志","comment":"","domain":"","type":"BIT","len":"1","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","uiHint":"","id":"C81434C5-C3DF-4464-BB24-D2B2BCC96DE6","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"E45B8F74-106B-4192-BCDA-5DCAD91260A6","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"74EB422E-E851-483C-9174-F4CA8AF2F4D6","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"D3ED821C-AF89-4533-A0B4-5099327745BA","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"2096E931-CEC5-4180-819A-98867D93B69B","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"13D6C572-46EA-4D3F-A37A-65875A23AB6B","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_lable","defName":"标签库","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"033BDE3D-310C-429C-9DD7-DF61377F91A5","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"lable_name","defName":"标签名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"3D174A9D-2B53-4E52-83B8-E44D662A725B"},{"defKey":"lable_desc","defName":"标签描述","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"098A320C-C9E0-4BED-BAE5-C1FEAC30D436"},{"defKey":"system_code","defName":"系统标识","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"1FAB46C9-21C0-4B0F-998C-058E0EB088FB"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"75DBF2CD-2DF0-4B27-9415-1DD8C1E07B8C","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"删除状态删除标志0代表存在 2代表删除","comment":"","domain":"","type":"BIT","len":"1","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","uiHint":"","id":"B1F8F10D-4930-4CEA-A882-745C7BB2150B","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"7769E8CE-94F2-446B-8CA7-EBFED46E4440","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"51D33A69-3B31-4634-A387-4B424FE79593","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"6446BCF8-8301-4103-922E-53B323979C2A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"37E3606A-310A-4198-B57B-1F5D816EC893","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"A1A0C1C6-B78D-47E0-AB05-F5A38DAA4D08","env":{"base":{"nameSpace":"com.dianliang.module.custom","codeRoot":"DlCompany"},"template":{"JavaMybatisPlus":{"Controller":{"suffix":"controller/{{=it.codeRoot}}Controller.java","enable":true},"Service":{"suffix":"service/{{=it.codeRoot}}Service.java","enable":true},"ServiceImpl":{"suffix":"service/impl/{{=it. codeRoot}}ServiceImpl.java","enable":true},"Mapper":{"suffix":"mapper/{{=it.codeRoot}}Mapper.java","enable":true},"Mapper.xml":{"suffix":"mapper/{{=it.codeRoot}}Mapper.xml","enable":true},"Entity":{"suffix":"entity/{{=it.codeRoot}}Entity.java","enable":true}}},"custom":{}},"defKey":"dl_company","defName":"企业信息表(每个租户的下属企业信息)","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"DE9E4349-2705-4AB0-9CEA-9B965E15CAAD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_name","defName":"企业名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"75EE81A7-6720-4C4D-B732-7E23079373A3","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"org_card","defName":"统一社会信用代码","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"592D1028-3F46-4123-AE19-E715B609BA04","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"regist_fund","defName":"注册资本(单位:万元)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","id":"9D74FFC9-6962-4201-9232-55F54CC46AA1","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"regist_date","defName":"注册日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"20402B17-5CAA-4E9C-AF74-CC658EFBF88D","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"address","defName":"详细地址","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"8179554E-C940-4105-A538-38C027ABA632","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"legal_name","defName":"法人姓名","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"3AC61D33-F7E8-499F-A6F1-60C3CFE3CED8","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"legal_card","defName":"法人身份证号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"11A7A037-5245-42D6-A017-099E2372DDA8","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"contact_name","defName":"联系人","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"712A44C3-8964-4979-8E71-B57DF27913D9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"mobile_phone","defName":"联系方式","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"4B5DD9F4-AA73-417A-A0EA-A4DF41F88B45","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_content","defName":"企业简介","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"4DBAD5BB-A973-45E1-9B36-E380459CA164","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"business","defName":"经营范围","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"E9F263A2-2AB9-41C9-8DE6-6E9738562281","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"login_account","defName":"管理员登录账号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"C66B6FB1-A401-4ACF-BF00-71FC9E9C19C2","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"menu_ids","defName":"关联的菜单编号(实际就是这个企业的用户登录后有哪些菜单权限)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"AA4D5F74-732E-426C-A639-8842B4BC52B2","id":"950070F2-F9AB-4759-AFF8-FF9DA2A064BA","baseType":"B17BDED3-085F-40E1-9019-3B79CF2BF075"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"DA9DD28E-2CCB-4142-B51A-475898277C75","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"B6D2BD85-42D6-40D7-A1EC-3593F11797DB","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6F7DD7A2-6E76-4883-9CBF-E9F482EE3CD5","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"DD1D4D8F-A21E-49B5-B5AE-8AB35B4AB67D","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"114488D0-DB78-4954-9662-110D249D2753","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6FFAC49B-F9AF-42C9-986C-73CD334CD971","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"D47FC836-3F02-4B09-A584-E66CD6AF2D7A","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_company_quals","defName":"企业资质表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"EB677B16-D3D2-4E02-94CB-6B10838A743E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"企业id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"2A601517-FA32-41D3-8599-8D71ED1679CE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"quals_type","defName":"资质证书类型数据字典quals_type","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"E223425A-8E09-4382-B0ED-EBE8EBB471E4","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"56135B97-CFBF-4611-9767-DDAC27FA9535","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"quals_name","defName":"资质证书名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"B7D38C99-B8F4-45B3-A6F1-4AAFC181AD22","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"quals_no","defName":"资质证书编号","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"A8E96869-CDF8-4E1D-8CB2-C09FF7139D75","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"file_id","defName":"附件id(表infra_file)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"B533F2A8-2788-4C7F-90FF-8AB571852047","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"start_date","defName":"有效期开始日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"E157CE71-5DE9-44F0-98EB-B5F5E7D76CE9","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"end_date","defName":"有效期截止日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"A3C73248-A3DF-4B2D-BBF1-9291FAF01134","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"77570042-7480-4AAC-9C34-7C85255A7445","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"5B5A811B-280D-4070-8C5F-C16570C501C7","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"FB2B10E0-D7B7-4695-86AB-7BD14C954B65","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6F0CC332-A82F-43FA-9837-658307BE50A6","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"9349CDBD-1BCC-4AB1-8F15-469CED4C735B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"1CAB9114-739F-4C39-984A-740072844549","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"1D2729CE-2B79-40B2-BE7B-E3EE2B01670E","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"company_staff","defName":"企业管理-员工信息表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"F1286BCB-4181-4E4C-8F66-44410A9B2541","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"企业idbase_company表中的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"A956EA6B-F3B2-45C3-9D63-3E0228FC5EA0","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"用户idsystem_users表的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"2B0EB41F-27AB-47D6-B7D5-3D5DA8A4A0CE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"dept_id","defName":"部门id(system_dept表中的id)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"6F99277D-9EC8-4271-AA2D-58EC49C2ABF8","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"work_no","defName":"工号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"CF711913-7FFE-4AE0-92AF-8537ABEE6007","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"name","defName":"姓名","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"8484F14C-83B0-47F9-8EE0-1EFD5B62BAE4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tel","defName":"手机号","comment":"","type":"VARCHAR","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"","id":"3D050494-09A6-416A-AE5F-34461F6DE823","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"sex","defName":"性别","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"1EA6158D-5F93-49AC-BB25-09EBC515AF45","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"498E1AE0-3749-46FC-A98D-B8C423E108D7","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"address","defName":"家庭住址","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"662283E4-4692-461E-BB8A-C5993195A096","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"work_date","defName":"工作日期","comment":"","type":"DATE","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"","id":"B343EBC6-5282-45BA-959A-B72B77346E3D","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"work_year","defName":"工龄","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"FF4459C5-6B45-4DBF-8FC0-E06239BC05B4","id":"A6B701D5-AA72-49B7-A712-BC839E4E0FE5","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"joined_date","defName":"入职日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"193F2FBC-5DFB-40B0-B5AF-132AB7B823F6","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"joined_year","defName":"司龄","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"FF4459C5-6B45-4DBF-8FC0-E06239BC05B4","id":"FFA9CA4B-6F0A-4DD1-B864-43C7EE57F6F7","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"education","defName":"学历","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"164BFC78-6690-432C-B62E-280AC395952D","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"6E57698E-0E2D-4D1C-A549-5030F632D047","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"content","defName":"个人简介","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"126D9307-6266-4352-8A42-B0DCC9D0891B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"unique_code","defName":"唯一推广码(须保证全平台唯一,规则:字母+数字;字母全大写)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"B2FBF911-97FA-4543-BD97-03B644752F64","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"file_ids","defName":"附件idsinfra_file表中的id多个英文逗号拼接","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"0A167C27-BC3E-47CE-822F-FF96D0704807","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"EC52AD2E-0CC2-4D5F-A354-94D2A18928E4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"CAEC6D36-2650-4141-AE1D-91895C1C0D4E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"4B5D66D7-A752-418E-8817-D57A62439E3F","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6F222075-0F0E-41D2-ACC3-A1C2E9043E45","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"4F4E6C22-9366-4D45-A5BD-37F4EDD4793E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"3D6EC8E8-D6A2-4D10-B0FA-6EABB3B05C29","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"87F7C584-4DD5-42CE-A776-3F33752CDE84","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"company_property","defName":"企业管理-资产表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"8D6AC443-2B82-4890-9AD2-F7B299D91B4E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","uiHint":null},{"defKey":"corp_id","defName":"企业idbase_company表中的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"2F135125-EE6A-4B9B-83EE-A536B5036300","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_id","defName":"部门idsystem_dept表中的id用来做数据权限控制","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"E9C85A06-B977-4B67-964F-DEBFD8A78EC1","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"pos_id","defName":"存放位置idcompany_property_pos","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"43A5A38E-2B57-40E3-A16C-60DED25873E2","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"使用人idsys_users","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"97C5D1CA-0CAB-4888-9AD4-E5D91B08253F","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"prop_no","defName":"资产编号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"F6002395-8034-4B14-BD59-66CE802CBE60","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"prop_name","defName":"资产名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"AECB0E4A-96E3-41DE-9E08-1EE63849E306","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"prop_catg","defName":"资产分类(分类字典)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"598E1491-CA4F-4904-9E07-2EABB1BFFBFA","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"A1D9AE11-CC5B-424C-AEAF-29A629FFBAC5","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"use_year","defName":"预计使用年限","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","id":"986DF8ED-15EE-47D5-8EDF-D768903D83DD","uiHint":null,"baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"cost_type","defName":"价值类型","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"C8A6E85C-ABC4-465D-9EE7-4C98AAC319CF","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"8881F9B6-0233-425C-A911-91A2FF3BEC55","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"prop_num","defName":"资产数量","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","id":"2BF64E69-366E-4A9A-9542-36681796544B","uiHint":null,"baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"cost_total","defName":"资产原值(元)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"FF4459C5-6B45-4DBF-8FC0-E06239BC05B4","id":"C5885745-122C-40FB-B9BF-72BB42A2B2BD","uiHint":null,"baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"prop_status","defName":"资产状态","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"C4DC61A4-8382-43C5-91F4-73195F481472","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"EEC75619-40CD-4C7B-B1CF-208746F2FF0A","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"brand","defName":"品牌","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"92B39602-8AE8-43D0-AD95-EC51F54CB517","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"spec","defName":"规格型号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"C4997D16-DF83-4768-9796-FB0E36C77108","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"factory","defName":"生产厂家","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"4BD8E875-C9AF-4943-AB62-C1888F38092C","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"serial_no","defName":"出场序列号/编号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"B375A0C0-8794-4176-B2CF-FBFA33BFC500","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"unit","defName":"数量计量单位","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"B7B5FDFE-7403-453D-B94F-3199FE7B3C5D","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"get_date","defName":"取得日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"ED715336-DC40-4A01-8E74-91D954269A3A","uiHint":null,"baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"prod_date","defName":"出厂日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"88DFE45E-3055-41CF-8BAE-157CCC8C9DCF","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"supplier","defName":"供应商","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"69A8D6A4-304C-42EC-B834-486601E0326B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"open_date","defName":"启用日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"704B989B-E975-4CB2-AD5D-8435376CFB5E","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"net_value","defName":"净值(元)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"FF4459C5-6B45-4DBF-8FC0-E06239BC05B4","id":"EDC6B2C8-5D89-47F8-8BFD-58D2FC6AD263","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"voucher_no","defName":"凭证号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"3C495F7C-2EC0-44C4-8166-E922DFC15F3A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"keep_cycle_type","defName":"维修/保养周期单位(年/月/天)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"D27AA9D8-81FD-4896-ABE6-CC73CEFCF06D","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"3A5757A4-709B-48B5-AD46-B768FB77FDC5","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"keep_cycle","defName":"维修/保养周期(具体数字)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","id":"C4D7345F-677C-43CF-80D4-F6FB26DC6A59","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"last_keep_date","defName":"上次维修/保养日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"CD8D0896-108D-41D0-BE06-1801D0488A0C","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"next_keep_date","defName":"下次维修/保养日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"47B774EE-098C-4FB9-BE21-91BEEDF2893E","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"file_urls","defName":"附件urlsinfra_file表中的url多个英文逗号拼接","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"31CBCCED-DD5A-4316-BCD2-7DA0C873D46E","uiHint":null,"baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":null,"uiHint":null,"id":"8395CC22-7A0E-4E08-9A3B-4A5ABD388A7E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":null,"uiHint":null,"id":"337F2FE7-5BBB-4B73-AAD5-71E95F6748DE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"402583B0-3455-4881-BD01-2116F8C02F67","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"198E81EB-A4A7-4A66-B864-C36B153ED65F","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"EEC62372-21CA-43B5-BBFA-23ECB0D8AF25","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"EDE7B8AA-EE2D-47AC-8396-009941C55107","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"0654E6E2-252A-4D26-BBDD-7ABC00B92C48","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"company_property_keep","defName":"资产维修/保养记录表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"84B1B807-F932-42C0-A0B2-9D04064BBFE9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"property_id","defName":"资产id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"4D5CEA64-D130-4DFE-AC71-B7809207F3E3","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"keep_date","defName":"维修/保养日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"07E40FC3-73D7-46F9-8126-22B151DB7592","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"D5902733-10A6-42D2-8296-ABEA7211CD8A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"file_urls","defName":"附件urlsinfra_file表中的url多个英文逗号拼接","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"43EB8EEB-9D08-4D71-BEFB-7221BFCA3BC9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"B76B644A-1075-4E30-A3A3-F7CB0A5ACC7E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"DE083031-DAB3-49B8-8BA4-7A22CDF3E88B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"ABBF7464-5BBD-41B2-B4E7-F362FD246E05","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"3FC134A4-B4C0-4CD5-B99D-24B6F0064403","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"EA67552B-6E58-4694-B2C7-E432A50FCE5B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"D55B03E3-51AC-4635-9378-224A1C8F1056","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"AE164C6D-235E-4420-87C7-F215C8B1E275","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"company_staff_change","defName":"企业管理-员工交接记录表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"A1A75173-6A7E-4C08-8D33-05B30B382871","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"old_user_id","defName":"原用户idsystem_users表的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"A7F32BBF-CDFB-4B46-907C-944A01D02E4A","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"new_user_id","defName":"新用户idsystem_users表的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"69093BD3-2D42-4A6E-9A86-3908E517F517","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"change_time","defName":"交接时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"D9626DD6-04FC-488D-9731-DE95830278D9","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"file_ids","defName":"附件idsinfra_file表中的id多个英文逗号拼接","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"902024CE-BDF1-4A72-A408-E16432C2C47D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"91A11D50-4502-4C17-8BAA-A8D6BA5AAEAE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"5BEC3C7E-6985-45C3-B855-2A7C87E89EDD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"1FF50497-052B-4349-8474-BCEC79A8DB6D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"03F437AC-9689-4458-B276-692E4DF43D72","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2CC8A2D6-489F-45E1-85F1-9142037E532D","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2D6DA437-7248-42A4-83E8-76502D09DBD9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2048B84A-BFA4-4E16-B708-F4D59A5FC152","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"FC3A9B49-EF15-4D18-8F5E-8FA8688C6702","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"base_promotion","defName":"推广记录表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"ED148983-18D5-4C03-AD2E-6D62606717C1","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"old_user_id","defName":"推广用户idsystem_users表的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"14584BE0-506C-437C-A5FB-64C894E18C8B","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"old_user_name","defName":"推广用户姓名","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"1250E083-DBA4-477C-BC43-8D7E7CD997C3","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"promotion_channel","defName":"推广渠道","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"DF437743-B1F7-4A14-8E22-1AE5391D41C8","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"63FE4111-D1CE-4A7A-A360-94BD14B99D6C","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"new_user_id","defName":"被推广用户idsystem_users表的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"B1888688-6CA3-45B6-8A78-9BFEE799C87E","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"new_user_name","defName":"被推广用户姓名","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"442A33C3-8062-4DEF-BBF2-727B57AF095C","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"register_time","defName":"被推广用户注册时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"93FD3AC7-8BAF-4CDF-8EF5-7935CFE3DC64","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"unique_code","defName":"被推广用户注册时填写的推广码","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"3A63809D-1D1F-48D7-926E-E63E9AEF7940","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"3E948CEC-3070-472C-AF92-F3CA11EC9D15","id":"21994EDA-3A85-4E3F-B0DC-78C32EAB448F","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"4CA69896-C6E9-4E53-8F91-FCAA358FAA29","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2B3EA269-E5EE-4551-8C76-6B43D880091C","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"7CBC769C-1B3F-45AF-BA7F-2CA6F0849136","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"651AA232-DD6A-4B55-8A35-8FD9F9C54264","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"082272D9-2314-4E3D-92C3-2F6D95F3D9B4","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"8DA534EB-787C-4E48-B761-F370C60CC3AC","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"company_property_pos","defName":"企业管理-资产存放位置","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"038A9C31-9FAB-4C1B-A8E2-7C50D7598619","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"企业idbase_company表中的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"F791CDD5-0803-454C-B398-29CFB734F12A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_id","defName":"部门idsystem_dept表中的id用来做数据权限控制","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"821D60A8-7AC0-4EFF-965C-1C804A8986A7","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"pos_name","defName":"存放地名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"B27BA6F7-1AA0-40F0-B977-85D5B1CB6125","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"address","defName":"存放地地址","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"CF983002-F310-4970-AC02-290FE28A0807","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"area","defName":"面积","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"FF4459C5-6B45-4DBF-8FC0-E06239BC05B4","id":"48DA2BF5-3DAB-42A1-AB09-59DD83D55119","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"deposit_type","defName":"存放类型","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"D1D9BBC5-78B6-4B22-BD25-FD4AEF0487CE","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"86C53B40-4268-4B1A-8518-FDD4E2A93655","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"9ACEE820-9BC1-43DD-B192-B1DA90853FD8","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"2F238D0A-767C-41CD-A2C6-A9EC1E40A2AC","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"0BB4A353-F730-4711-AB3A-3EBAE34211C4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"060E5965-0678-4BF8-9823-C5E3B2CBF9AC","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"C2D84707-5F68-466F-9204-E2F9FFC6014E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"9250AE97-1537-4F48-8733-CE9D2CCE9DC0","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"14AA4B49-725C-4E32-9E1E-C581D6D00950","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"company_property_deal","defName":"企业管理-资产处置单/变动单","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"BCA15085-C788-4D84-B772-81DE407038AC","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"企业idbase_company表中的id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"F1916536-3669-4E4F-9054-358D3D5BAC96","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_id","defName":"部门idsystem_dept表中的id用来做数据权限控制","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"A29A0515-F5EC-498C-BFFE-6205D285B89F","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"data_type","defName":"数据类型","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"389D2747-6853-47F7-8082-4659AECD1911","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"7B079565-4942-4725-AFE7-8C9FFB984EF2","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deal_no","defName":"处置/变动单号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"71207923-039B-4509-953E-396E9B7765CF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deal_date","defName":"处置/变动日期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"8CB8AB83-9711-4B94-B70D-971395801BDB","id":"06EB0399-ED56-40AD-A4AE-90141BC541B3","baseType":"2E722820-04DF-4F02-B422-837F0A5ECACD"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"6BB4FC8A-8BBD-494F-A43B-C124E07F6BF3","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"A7B88EF6-BCB2-414D-B143-726084174FDF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"37A636D8-9A34-47A5-9E3F-CA63136063A8","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"5299F6A5-AAE4-4D80-88AB-6790E3C236EA","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"5001FEC3-7A5D-46E8-A10B-08C23E147550","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"CC51BD09-47F3-4D87-B40D-B9639AAEECF6","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"31770F8B-4FAD-4DB6-A35E-B270F413E8E9","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"company_property_deal_item","defName":"企业管理-资产处置子表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"6D73F60F-D9A0-4E8D-A248-0348BEE1FF12","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deal_id","defName":"处置单/变动单id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"71AD4C68-E24F-4970-B63D-0673C7C030F4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"property_id","defName":"资产id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"3117B4D3-C5B5-404C-8BF0-9E1773D9B9C1","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deal_way","defName":"处置方式","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"CF39F423-A6BA-435A-871A-DC541F58FDA8","extProps":{},"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","id":"BB75A177-A6B7-4A7E-B668-A497AB60624F","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"old_corp_id","defName":"原企业id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"A51C2A29-2B15-49D3-A43F-EFAC5DF340E7","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"调入企业id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"99DF9F03-3504-4294-BB18-0E7CDCACEEE6","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"old_dept_id","defName":"原部门id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"DEFA4726-3D23-421B-803B-5E495099F664","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"dept_id","defName":"调入部门id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"75FCC09A-CD98-48DD-9D1D-9DF8A1D68595","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"old_pos_id","defName":"原存放地id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"CDAE0C3E-2A2F-405A-ABFA-4AF284F63941","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"pos_id","defName":"调入存放地id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"7D1BE82D-C1F2-4EEC-B9EB-20438D7FDF92","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"old_user_id","defName":"原使用人id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"701B7C1D-38FE-42F1-90FD-A4DD99E18339","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"user_id","defName":"调入使用人id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","id":"3A169A45-6E93-4067-B30F-503099521380","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"0C87A6F0-BC97-4CE1-AF05-BD34E613C177","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"BEF9F31A-38D9-43ED-8A87-11777B975443","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"DDCC5F98-2926-4821-A6A1-69E373475862","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"CE395FA7-EC75-415C-82E9-2DFF3A67BD4D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"AEAD3399-4DC9-4518-908B-A233BE659FB7","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"CEEE5E76-195B-46F1-9FE1-9B7F43099C1A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"3288B97E-B20C-4CE1-B441-0A07096A67E9","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"88412BE6-8090-4432-8E99-0CE72F14998A","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"system_category","defName":"分类字典","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"C30681F1-164C-47C0-B88A-714E7BD24000","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"pid","defName":"父级节点","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"8C7ABF61-1038-452A-A89A-810510ED84DE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"name","defName":"类型名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"0F0F5DE6-E660-434A-9310-2C68B967C3BC","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"code","defName":"类型编码","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"F834783B-6281-4592-8096-20B68D0ECF2B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"has_child","defName":"是否有子节点(1有|0没有)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","id":"F0CF00BE-0E93-491E-8869-AA1BC6207DAD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"44D8518A-F937-42D3-A523-F0484E7F2A91","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"038AAEDF-CAA2-4D2C-A840-47371A2AD593","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"7F18D49A-1E69-41F9-AE5D-6C6501561987","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"56058898-5F24-4D85-868F-2E3082CEB534","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"E36A666F-7D2B-445D-B1D9-78C47060F4DB","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"461E75E1-0C07-4E26-9082-F133B225A506","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P","sysProps":{}},{"id":"53901845-C3DA-4072-8985-024CBA194AFB","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"DL_BASE_CORP","defName":"供应商表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"43483B09-9CB7-4BD0-95DD-9B1879F93DA8","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"50CA08EC-5672-4CF5-A842-8127B5CA60BD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"name","defName":"供应商名称","comment":"","type":"VARCHAR","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"EFD2490C-7735-4614-837C-E52A870CE9DE"},{"defKey":"link_name","defName":"联系人","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"3C246942-CAEB-4197-81B9-3128E7E3F925"},{"defKey":"phone","defName":"联系方式","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"3F523AAB-8362-4B1D-8387-8980D0C1B57B"},{"defKey":"fax","defName":"传真","comment":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"B8937AD6-C36A-46A9-8FEF-DB8E74AA7CED"},{"defKey":"billing","defName":"结算方式(数据字典)","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"93776B75-8E36-4293-85B5-A1B3415FBCFF"},{"defKey":"sort","defName":"排序","comment":"","type":"DECIMAL","len":10,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"041DF574-A5BD-47FD-B198-03ED568C8480"},{"defKey":"address","defName":"地址","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"D37F1FCF-89D5-4DCB-86A2-E7CCE32A4F87"},{"defKey":"status","defName":"状态","comment":"","type":"VARCHAR","len":10,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"C431E7AB-740C-47AC-A37B-66F68FBDE1E4"},{"defKey":"remark","defName":"备注","comment":"","type":"TEXT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"B17BDED3-085F-40E1-9019-3B79CF2BF075","extProps":{},"domain":"","id":"2997BFCF-7CFC-4931-A633-58C51221F488"},{"defKey":"link_child_corp","defName":"关联子公司","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"79CF5C2F-821C-4F87-86C4-1EDA5EA181C1"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"34AE416A-BC5B-4E19-A750-03E975BB2EAF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"03C5414F-2E0C-4723-9C85-5FAE9A8497F6","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"FB2D1179-4D9D-4986-A241-2254FCDD16CD","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"116F2C2E-DEB0-4FC2-8499-26B0B5DD8FB1","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"5C73C09F-34B4-427A-8BDC-F6A3A92DE0A8","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"3F288197-5A6C-40F5-BE9D-4A9BCE6A00B1","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"DL_BASE_WAREHOUSE","defName":"仓库表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":null,"extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"E9428870-2361-4E5A-9AAA-891D6271FE5A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","uiHint":null},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":null,"uiHint":null,"id":"5AF12B53-60B4-48B9-9776-19A343935B44","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"parent_id","defName":"父id","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"64D5EFF9-509F-44B2-B7EC-0ADB2F0F2EC9"},{"defKey":"name","defName":"仓库/货架名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"4D9DB5F7-9264-483E-B36A-47D2ADBE3C6F"},{"defKey":"code","defName":"仓库/货架编码","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"2D757C6E-55E8-4895-99D4-B11D82B34549"},{"defKey":"status","defName":"状态01启用02禁用","comment":"","type":"VARCHAR","len":5,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"FA68738F-3796-4429-9694-5D932ED97A31"},{"defKey":"remark","defName":"备注","comment":"","type":"TEXT","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"B17BDED3-085F-40E1-9019-3B79CF2BF075","extProps":{},"domain":"","id":"D61EBDEF-092B-4D73-8A4F-55548FA0EE15"},{"defKey":"link_child_corp","defName":"所属子公司","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"730015A4-C710-4EB4-8B3D-5D68673C1B92"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":null,"uiHint":null,"id":"092810D0-EB25-41F1-B418-D57F040EDC37","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"5A6F78A2-38E2-4640-9D72-A6B8EF46811E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"FDCE869F-57F4-4A79-9104-B5FBC8F0233F","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"B81B37A0-A1F9-4253-8C14-398E8FDCCB50","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":null,"uiHint":null,"id":"4ADD691C-F766-4D8E-BC30-A97E4E3614CD","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"A29CC305-E61C-4556-849A-3E4220E1369F","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"DL_BASE_TYPE","defName":"配置类型表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"728F738D-340F-464B-AD7C-60C5820A319D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"163E84B3-8CFA-4202-91DE-B72B8D36C6D0","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"parent_id","defName":"父类id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"A2A60731-8876-4008-8851-C88535BDFF0E"},{"defKey":"name","defName":"分类名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"F9D83791-6844-4CC1-9517-1238C78C5807"},{"defKey":"code","defName":"分类编码","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"50AC2C56-AC37-48D8-A1AC-3FA494804FA7"},{"defKey":"type","defName":"类型01账目分类02配件分类03服务分类","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"C68FA833-990E-4165-87A2-41C7952BF5A5"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"E2794D93-A840-44F9-8AC7-042393D6DC95"},{"defKey":"link_child_corp","defName":"关联子公司","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"70D7FD3C-3C2D-4D18-B923-86D83658A588"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"70440AF8-9644-4326-9576-7737FF3954CD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6DC12670-E913-4C01-B1AD-606E4F232DB2","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"5C219398-F9A2-4F90-81C7-F2AE33E6BCDC","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"24D14937-98CF-4548-9CBB-959CC7631C62","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"9DC6E401-1E8D-4553-BCF2-B40AAFCA66A7","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"84889055-0548-4D33-92F9-7AA3C6692C38","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"DL_BASE_CORP_COUNT","defName":"供应商关联账户表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"E3A349D2-F5F3-40DE-9B21-5A23AE05E2F1","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"ABE4204D-E8BA-4152-B919-FF8206B73BB3","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"供应商id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"24597190-0C18-45CD-A5D7-251E999ED201"},{"defKey":"bank_name","defName":"开户行","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"85705198-A859-48B1-8183-3BBB938C5926"},{"defKey":"count_name","defName":"开户名","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"2F09B431-C782-4532-835A-489D6EEE1929"},{"defKey":"count_no","defName":"银行卡号","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"4C336AED-1B6B-4C77-9D33-E6B75C0EEEB8"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"604662E6-504B-40AD-8D83-842035956233","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"34ADF3A5-665C-43CD-B803-8880E31386F3","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"9C4A7B9A-F165-4769-8257-D7AAD41ECA03","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"4A24860B-66C9-4841-908E-85439892AED7","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"B28B94D5-7A46-42F9-B4F3-D03F45B02F7F","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"A59C71BB-A99A-45C2-9F79-B9083AD814A9","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"DL_REPAIR_PROJECT","defName":"维修项目表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{"nameTemplate":"{defKey}[{defName}]"},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true,"freeze":false},{"refKey":"defKey","freeze":true,"hideInGraph":false},{"refKey":"defName","freeze":true,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"76D17F3B-CEC6-48AB-B53A-6D37204DD438","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"236B00AF-EE1C-4630-A27C-FBDC4E3B8A40","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"name","defName":"名称","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"F2BCBCB5-541D-456B-9A7C-9C937B2A4C9A","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"cost","defName":"成本","comment":"","type":"DECIMAL","len":10,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"2BD9CBF4-9385-44D7-A7B4-E377238425C5","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"spec","defName":"规格","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"2A2D1A0C-0317-4E44-9255-133595597BC3","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"price","defName":"售价","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"3B9B50F6-5094-43EF-A139-70EB2844AB81","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"worker_id","defName":"维修工人id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"03C3CCE7-3E38-4A7A-93A8-461BC34A5A24","attr1":""},{"defKey":"code","defName":"编码","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"CB2539F3-CAB2-43C5-A298-E5B635655CBB","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"unit","defName":"单位","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"54933794-2207-4B22-879D-76A114762DD0","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"type","defName":"分类","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"28D1D837-8102-429E-B9A7-9332A66DA8C3","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"man_hour","defName":"工时","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"1D010492-DC10-41B4-8B4F-9EEF5861A35A","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"is_self","defName":"是否自助0否1是","comment":"","type":"VARCHAR","len":5,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1","extProps":{},"domain":"","id":"2632DBA0-D4CA-4080-9D56-65DE56BF4915","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"is_public","defName":"是否允许分店公用此产品0否1是","comment":"","type":"VARCHAR","len":5,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1","extProps":{},"domain":"","id":"1A109582-9157-41F6-80F4-D48453343069","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"remark","defName":"备注","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"DA17475E-D892-44EE-856E-8677E88E305E","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"link_child_corp","defName":"关联子公司","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"D33981CF-F118-4B88-9509-9E6718EFFFD9","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","uiHint":"","id":"C2462114-4609-4B8B-B425-6D1DE8B899B0","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"8B054EAC-C2DC-4200-BE3C-750C4B40B214","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"242AC536-C8F5-4E85-BF00-C3BA9A8FE2A6","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"B8F486C3-EA96-4E08-BCB2-6268FCCF3856","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"42DA3E66-5827-4E6E-9C5E-301C54F46F0F","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"corp_id","defName":"关联供应商","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"0B32CEB5-0505-43FC-90F6-2528347D01BE","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"correlations":[],"indexes":[],"type":"P"},{"id":"072D09F1-C2A7-4DCE-8670-2275E42F0E89","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"DL_REPAIR_WARES","defName":"配件库","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{"nameTemplate":"{defKey}[{defName}]"},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true,"freeze":false},{"refKey":"defKey","freeze":true,"hideInGraph":false},{"refKey":"defName","freeze":true,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"E96F90F2-4778-4D8F-9917-816F2FC35A8D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"CD0DBB10-3375-4F83-A5C6-F8022DDFFCFD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"bar_code","defName":"条形码","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"DBE6BD89-AC7C-4333-B9BF-D0DE65F2E3CD","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"code","defName":"商品编码","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"2B1B9B5F-34FA-4733-9F6A-650FB16DEFE0","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"name","defName":"商品名称","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"DECC7752-6F1A-446B-8B60-E488E1188C3A","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"model","defName":"规格型号","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"BE3C5E40-D798-4518-A789-246B8AB5E058","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"price","defName":"销售价格","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"1813DEFE-CD03-41E2-80A7-232F7844BC94","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"type","defName":"所属分类","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"9ED3096A-52AF-4231-9062-514C52A8BF22","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"unit","defName":"计量单位","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"22106749-CDEF-4BE6-B101-0ADBC96DC8BE","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"warehouse","defName":"默认仓库","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"8BB2DE3B-424F-451D-89BD-4815737E6E26","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"mini_stock","defName":"最低库存","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"3C87D5D6-17E7-4AAF-BAEE-E6D6BC887FE9","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"max_stock","defName":"最高库存","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"2A574E1A-1C6B-4B7A-AA20-1DA4DC13B837","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"img","defName":"产品图片","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"D9B43BD1-5E49-4D6C-84E1-83324B4CA510","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"attribute","defName":"配件属性","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"08FCF5C2-F607-4C1E-ACF2-1F99DF03BD66","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"corp_id","defName":"适用子公司","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"4B868BD3-B4C2-4CF3-83F9-38905355D72C","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"cover_img","defName":"封面图片","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"F1718C4A-E1B7-4FAE-882C-41784285C397","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"car_model","defName":"适用车型","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"A74B9C8B-DE60-4B08-BC78-D548455C23A8","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"remark","defName":"备注","comment":"","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"CEF0488F-F7EA-4A0E-BA68-D6FC4981CE98","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","uiHint":"","id":"BB6DCFF3-617A-4757-800A-36687BD0A907","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"C942365A-BCFA-4283-8310-4361D88F20BF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"E5364F56-F863-4157-B367-41170E137C52","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"EDD6EB87-225B-4027-B72A-AD1BA10CA598","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","uiHint":"","id":"4623D711-AC15-457F-A6AA-6700DF891764","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","extProps":{}},{"defKey":"stock","defName":"当前库存","comment":"","domain":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"931B16B2-321E-47B7-9D13-A4367221EC80","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"data_form","defName":"来源","comment":"","domain":"","type":"VARCHAR","len":20,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"7C49F0C5-8322-40A6-9D17-2080654EDB44","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"status","defName":"状态01正常、02禁用","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F96B8BD4-541B-4227-B0B9-329FFB24EC2C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"correlations":[],"indexes":[],"type":"P"},{"id":"49B3A95D-DA5F-4272-932B-63638120DEE8","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_member_coupon","defName":"基础卡券表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"A7865BA0-E190-4BF4-B70B-4E0F92CC89BC","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"0E4EC511-64EE-477E-BE78-329DB79313EC","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"name","defName":"卡券名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"F0414B98-F9BB-484B-9EC6-F14588850FBC"},{"defKey":"type","defName":"卡券类型(保养卡、优惠券、礼包卡、计次卡)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"2F9769EB-AC4B-4E8A-A8C2-07FFE414346D"},{"defKey":"car_model","defName":"适用车型(数据字典)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"A06AD159-8EE4-4EF5-8DCD-340F51014044"},{"defKey":"begin_time","defName":"开始有效期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"417DB0BD-AEC4-4E63-B05D-042B684EA0AB"},{"defKey":"end_time","defName":"结束有效期","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"4A5D2BFC-2C0D-4A0A-926F-9AE3DB0D2848"},{"defKey":"corp_ids","defName":"适用子公司","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"E400C9BE-E5CA-4876-A1AF-E0C99AAD7B58"},{"defKey":"amount","defName":"面额","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"F4D35F49-7FB1-4A63-BB65-A5FDFD320EF2"},{"defKey":"image","defName":"效果图片","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"DBBDABE1-A1F8-47FC-A830-983DBC7A4096"},{"defKey":"remark","defName":"备注","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"AC10B8D9-1D77-4C40-9D8A-FB2E04DEFF15"},{"defKey":"out_rule","defName":"核销规则(记次核销、面额核销、一次性核销)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"DA029466-8776-488A-9513-5F6762B671D5"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"BB70556B-1B3B-4CAC-A7C0-11AF45D06006","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"165AEBE0-E665-419C-9525-328A02201D54","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"BF46BE00-DB61-4C9D-805B-90D47A84852C","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"1DBEFA7D-F64E-4F7D-8457-1A3A27119F41","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"5D60A364-18FD-43AB-8CA4-1FD26B8757DD","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"311BB755-BBC7-4AD9-B84F-67E4B5A1C66C","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_member_level","defName":"会员等级表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"0D3DDFDE-CB69-4559-B666-CB8E0A781227","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"63730346-F1CC-4D70-82A7-618E1036B1D6","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"sort","defName":"等级排序","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"9DD2E7E8-EAC0-4BF2-AB2B-B922C31D4697"},{"defKey":"name","defName":"等级名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"59A1BFE0-43B8-4730-AF9C-44045432B013"},{"defKey":"status","defName":"状态01启用02禁用","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"B88F1A64-EE3E-4530-B94B-D2E8CC0BE0B5"},{"defKey":"growth_value","defName":"升级所需积分","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"FE8877D9-D147-42B0-96BA-FD5162304034"},{"defKey":"remark","defName":"等级说明","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"D624D77A-7735-4F8A-9C0A-6EEFC1C067F8"},{"defKey":"user_equity","defName":"等级权益","comment":"","type":"TEXT","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"B17BDED3-085F-40E1-9019-3B79CF2BF075","extProps":{},"domain":"","id":"84DA541B-0042-4240-9024-7B57226276CF"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"99BD01C4-39E7-4380-A657-00B7B5767672","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"35EAF18B-6757-4B40-A56F-E31A5165E11A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2D9DB514-682D-4B9B-A3AF-B871AE32EA96","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"54713C93-B43B-4CF4-B051-4FC5226B52BB","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"49CB1FD7-BB83-4B49-BA6E-C176D6C91679","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"A2FF9ED7-9CA8-4630-9379-C5EACD0C4939","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_active_main","defName":"营销活动表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"8B90FB0A-A4A3-4F55-A8EC-400CC10289CF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"A3A72282-6094-436C-9A2C-B48F33BD7371","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"name","defName":"活动名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"091566BC-AD3C-45BC-A706-B4720E198DD2"},{"defKey":"type","defName":"活动类型(充值有礼;注册有礼;开卡有礼)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"D4ACDF26-7BA0-4E7E-BE2A-735A6A257480"},{"defKey":"begin_time","defName":"活动开始时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"76F9EF84-116E-4577-8A18-943D58A56EF5"},{"defKey":"end_time","defName":"活动结束时间","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098","extProps":{},"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","id":"56D1A8F1-2202-4443-81F6-233BAE8541CB"},{"defKey":"status","defName":"活动状态","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"860205AC-D7D7-495E-8DA1-4A7FBFA0B46B"},{"defKey":"remark","defName":"活动描述","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"0B642AE4-0280-4027-AFF0-EB43B6709A46"},{"defKey":"is_member","defName":"是否区分会员等级","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"1567BF6F-9087-443E-B9CA-6D2993F9D015"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"16C4EB74-7A77-4AC7-A28B-68EFDAA92E81","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"511478F7-272A-41EE-9BC0-85064C646791","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"C0629A05-DF55-4AF3-B451-7D22106D4A1C","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"51F0FE08-7E3C-4C3F-A5FA-2D17B9323A31","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"CB32A2C1-E895-47F3-80BB-D0AA9ADCC3F9","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"ED1D9322-A08D-45FE-9463-D6196B9D319B","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_active_rule","defName":"营销活动规则表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"1F3A77E2-36E2-4DD0-A890-2BAD389E30CE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"67EC9DBD-1B07-411C-A421-1470A4568EC7","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"active_id","defName":"活动id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"CDB3F6F6-5753-477C-A954-99DBF8C4654D"},{"defKey":"name","defName":"规则名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"2A79B7DB-E3EB-4BC8-82D1-28F7238528D5"},{"defKey":"member_level","defName":"会员等级","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"8C4C68F5-BE8C-4C43-9158-ABBB57933D64"},{"defKey":"rech_amount","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":"7E1132E8-4F15-40E5-986C-9CECB69FE169"},{"defKey":"give_amount","defName":"赠送金额","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"BCC7545D-2FD5-4A40-8E8F-A14266F87E92"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"CF31B05B-0B10-4036-BB16-852D94298885","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2CAA5D44-274B-4E0C-9163-D9F2ADE98DFF","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6E4662CB-56F4-41AF-97EA-77CE1C82637F","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"FC776FC6-2BD5-4F32-AA63-973737777E55","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"2A815329-F06B-4678-8BF2-4AAD81BED926","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"D498EBA0-D8ED-4360-AC31-C6813677C12B","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_active_rule_coupon","defName":"营销活动、规则及会员等级与基础卡券关联关系表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"58FD71E1-7766-49B3-BF53-51712BD2AC50","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"coupon_id","defName":"基础卡券表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"1FB4DB85-1883-4072-9DDB-7DD32B238B83"},{"defKey":"main_id","defName":"营销活动、规则、会员等级表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"62FE9301-C332-4728-A754-92F4653C87CD"},{"defKey":"main_table","defName":"主表名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"C5D13546-65AA-49DF-BC09-EB6036F97322"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"954A88ED-4E0B-4EC1-B7A8-A93A9C43C19D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"7EA2AA1B-2E54-46BE-A868-4DDEEF46C220","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"9315EB5A-BDD1-44CB-A4BA-4159BEF25901","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"97841F12-F05F-4F64-BA6E-37683367B55D","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"3E6060B7-BF21-485E-9330-53E4EE0A5194","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6CB4B2C1-CC91-4119-8BDF-D540BDD78926","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"E6F1FC0D-441F-4D93-A5B3-04A11D0E9AEC","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_customer_active","defName":"用户参与活动记录表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"70C85113-768E-4CAC-9097-09E521B6304A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_id","defName":"客户id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"025697BB-51A1-40E3-8487-448287458D3B"},{"defKey":"user_id","defName":"用户id","comment":"","type":"INT","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"","id":"8D879088-D6C0-4728-A468-5AA6A80C10E5"},{"defKey":"active_id","defName":"参加活动id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"CA887AFE-C086-4044-8D1B-3C115337DEF9"},{"defKey":"active_name","defName":"参加活动名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"AC6B833C-0000-4CAA-84BF-3D507BF0E136"},{"defKey":"active_type","defName":"参加活动类型(数据字典)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"2A7F098A-D07D-44C2-B8A5-14A4DC599023"},{"defKey":"remark","defName":"描述","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"B17BDED3-085F-40E1-9019-3B79CF2BF075","extProps":{},"domain":"AA4D5F74-732E-426C-A639-8842B4BC52B2","id":"1402AD55-87B4-4C8D-8804-ECB27C2E40C0"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"EF6A82AA-DCF7-4F2F-8AE5-95E532363640","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"5CB77AF6-A518-4D3C-AC51-DE973195783D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"20B4F2AE-0749-49DA-B901-85DB141F9742","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"E67EC117-178E-4519-8F89-802B25403D75","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"BFBF1029-759B-4838-9E55-EDDD0CF7C35F","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"AA61777D-4B21-463C-95E2-0C698FB262F1","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"F60C784F-FB2A-42E6-B6C5-F4222774B530","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_customer_coupon","defName":"用户卡券表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"DACD9D4D-4AFA-406A-85E5-E8C241243216","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_id","defName":"客户id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"CE456010-1E96-4B42-90D6-81CB363BA0A8"},{"defKey":"user_id","defName":"用户id","comment":"","type":"INT","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"","id":"AEB6C20B-AE0B-415E-84EF-012E72AE5C8D"},{"defKey":"coupon_id","defName":"卡券id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"3936B911-8BDC-49CC-8DE1-4E1696BB36EF"},{"defKey":"active_id","defName":"来源活动id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"19E0D62C-CC7F-4E18-AC58-FF3FAD6C0BE6"},{"defKey":"amount","defName":"卡券面额","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"D5F3E4E2-943D-43F2-8AA6-947263B16FC5"},{"defKey":"balance","defName":"剩余额度","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"C8A5200C-0CFE-41F9-8B48-2228D41C3119"},{"defKey":"unit_price","defName":"单价","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"E640B936-8057-4F85-8BE7-E66B40B33D69"},{"defKey":"use_num","defName":"计次","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","id":"0F655D8C-F876-487C-89AC-487F9EF02567"},{"defKey":"out_rule","defName":"核销方式(计次核销、面额核销、一次性核销)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"1400CB55-39E7-4570-BB7F-F28EEAA03B8A"},{"defKey":"is_valid","defName":"是否有效(0否1是)","comment":"","type":"VARCHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"4975EAB3-5E5D-44FC-8334-5E5B23C96E95"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"D525A9BE-E257-4A41-BC03-3BC8744E6617","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"C0CBF8EA-B1CD-4F78-A2BC-70B366B24E06","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"864DAB94-CD78-45DF-B6CC-BA2FCADB93FC","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"689A67F0-B085-4107-8169-EF8018715BE6","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"A29C6564-38AF-4A78-9B3B-B81039E5F2A0","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"5993B84C-E4F3-4E1F-BE3D-ADE507BD2D15","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"3FF2FF0A-8628-4B50-889C-73B3CE121E6D","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_customer_balance","defName":"用户积分(余额)表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"B332A70D-E294-4E9C-A339-E99244A3AF32","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_id","defName":"客户id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"9D0D072F-C028-4433-AC9E-605FDE858832"},{"defKey":"user_id","defName":"用户id","comment":"","type":"INT","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"","id":"83722A01-0BAC-41F3-8B2B-93CA5B449047"},{"defKey":"balance","defName":"积分余额","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"ACD82D6D-13AF-4C5A-B9BA-D4CCBD4FC110"},{"defKey":"forze_balance","defName":"冻结积分","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"30C262E2-8BC7-4281-BD18-806EF7E35727"},{"defKey":"all_balance","defName":"累计充值额度","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"6CBFE9F1-1B92-49DB-8D56-3DFEAD18C1B7"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"921E5569-DBCF-4CAE-9EE7-F1A10ACBA2B1","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"4B99E3DF-80AE-43A9-B5C2-CD4F326257BD","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"94CC6D31-83E6-4E4F-8CAC-BFD1D87799F0","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"94011D7A-C272-4B67-93B8-9201DE1755C0","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"A50863B6-9B95-416F-91CD-75EB11DBC58D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"6F25D93C-39F5-41FC-B02D-CD024EF75D11","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"34A4ABA0-D44D-4E4E-9E54-A74BC992C245","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_customer_balance_change","defName":"用户积分(余额)、卡券变动记录表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"9142A7FD-D2C0-46F8-BC35-003957FC5C0A","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_id","defName":"客户id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"5C70F025-87D7-4678-9342-4D2572A67FE9"},{"defKey":"user_id","defName":"用户id","comment":"","type":"INT","len":255,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"","id":"3651E7D2-21F3-4191-BF36-87108401EE1A"},{"defKey":"coupon_id","defName":"关联卡券id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"48901A7D-1652-4A7A-B1DC-BE2F9E346004"},{"defKey":"change_type","defName":"变动类型(充值、消费、退款、赠送、卡券核销)","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"D88AA372-EB2E-4A2A-AB7A-AD25BBCEB273"},{"defKey":"change_main","defName":"变动主体(余额、卡券)","comment":"","type":"VARCHAR","len":50,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"2F1F3C1A-FC21-4458-B657-BC747049461D"},{"defKey":"change_rule","defName":"变动规则(计次、面额)","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"B019B42B-B13C-4528-B31B-24CB2A434D7F"},{"defKey":"change_balance","defName":"变动金额","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"7E789F82-306E-4C6E-BB80-E1CAB995DBA2"},{"defKey":"change_num","defName":"变动次数","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","id":"F5477856-D61B-47D1-B1F1-CA84CF8BBFAB"},{"defKey":"rem_balance","defName":"变动后剩余积分","comment":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E","extProps":{},"domain":"","id":"580DAE09-01A8-4B68-A2B1-E82B9AA699CE"},{"defKey":"rem_num","defName":"变动后剩余次数","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811","extProps":{},"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","id":"5C8C099E-810A-4083-9A1C-2FA6CD30158A"},{"defKey":"reason","defName":"变动原因","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"60AD7236-61DD-49F5-9F02-5B30E24B2866"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"01EFFDA1-96FD-4CB1-9494-F48143E4BBD2","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"7A5E25E4-9D85-4A64-830D-14D3EDDBD505","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"B5E65ECE-7DB4-4408-9193-B262699952B4","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"234C5F9D-32F2-4227-BF98-E7F1CB560D62","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"23C0315D-7021-4BF0-8B0D-9748669AC54E","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"69DE6700-9C85-4AA5-9516-22842F8A4CB8","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"8073EDED-5C19-4281-8E38-3AE08D6EFD16","defKey":"dl_repair_booking","defName":"维修预约表","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6345EB86-78B4-43E2-AB1A-9B1B6A045BD1","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"用户ID(system_users的id)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B79FAEA9-328A-430E-994E-990E1D71469C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"user_name","defName":"用户姓名","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8C0C4557-BDC6-426F-A73A-7409B4CCFA1E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_mobile","defName":"用户手机号","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5EE47906-ED0A-449C-8C08-E1D8E5DBBE8F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"project_id","defName":"项目ID(dl_base_type的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D8A13EF0-6C8E-4059-940A-2952E8B7586C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_id","defName":"车辆信息(base_car_main的id)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"66598B75-209D-4431-9EDF-1571988E2E98","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_no","defName":"车牌号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5AD836A8-9C50-42AB-8900-AF6486B43B2D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tickets_id","defName":"工单ID(dl_repair_tickets的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"0841DC1E-AFD9-4285-9E2D-D23CDE15C7E6","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"booking_status","defName":"预约状态(字典dl_repair_bstatus)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"16F59FBD-D4FB-4D5D-B07B-1EDFCB5A6C0E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"booking_time","defName":"预约时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E9783B64-4383-4434-BE99-0E0AEA32397A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"corp_id","defName":"门店ID(base_company表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"79B8C54C-75DD-4965-A345-1274E8988B1A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_id","defName":"部门ID","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5627B353-C148-43F3-A4E9-F21A6C5305AA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"96D42805-EB48-467C-88B9-A58BDFCF4566","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"BIT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"b'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1C2C236E-5AE0-449C-9C04-0F7D9284E628","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"929F975E-C953-4E8B-A44B-34193FEA6728","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F224BE0F-FF69-4029-8EFA-B25D8D2311B7","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3822C239-ACBB-40EA-8001-5618388843C4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C8B408F4-FA2F-4A16-9598-9AD1BB4065EC","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"63BF02E9-1D11-4464-ABF3-57251699DFEB","defKey":"dl_repair_other","defName":"维修附加内容表","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"165C8735-446C-4AD3-B229-FCC1C03F5F5B","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"name","defName":"名称","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"7CCB3DB2-3EE3-451A-BFF4-422B7C8B388A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"price","defName":"价格","comment":"","domain":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"67A0A182-F740-4848-B857-1C4B7BEC9AD8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"EDD417EF-BBA2-45F3-872D-5615761B75AD","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"关联供应商","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BD59490F-3C4A-4037-8B4B-2ADBC1BCE29E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"6F7C1C5C-D159-41E6-BF9D-54DEEFA79AFF","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E0346BFC-11CF-4FCB-8618-855DB855E273","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3CBA7FFB-8FF9-472B-80A1-5B202A716D6D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D7143A25-12EA-4BDC-8053-D5E03A2332C8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F328CF0A-19F9-4D09-B3D8-8EA88F765084","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"0D57B0DD-EC22-479A-B9DA-3F553F01B9E8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"dept_id","defName":"部门ID(system_dept表的ID)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"032C5AA2-AA1A-4077-849F-F403CA92CBE9","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"EE3A4CED-6DF9-4CB3-87D5-C97B028F6C45","defKey":"dl_repair_so","defName":"采购单领料单","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"4FD6933C-8BC2-4618-8A2A-77249E45121F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"so_type","defName":"单据类型(字典repair_so_type)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E8B181AD-09EB-4B99-99D4-A51F27304EF0","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"purchase_type","defName":"采购单类型(字典repair_purchase_type)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"03404DD6-207D-4A6A-B8C9-F02AE1539DD8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"so_no","defName":"单据编号","comment":"自动生成","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F92C995D-A0B1-47C0-8648-1B6C2A198662","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"supplier_id","defName":"供应商ID(dl_base_supplier表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5C8E7AA5-19B9-4B82-9F88-5404422507E8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"supplier_name","defName":"供应商名称(dl_base_supplier表的name)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8EC5CB3A-425C-4CE3-BF8C-22FE5C01FD8C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"采购员/领料人ID(system_users表的ID)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C7120E69-283D-4E4D-9C09-2E88CB9DB192","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"user_name","defName":"采购员/领料人名字(company_staff表的name)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"7DD07FBD-D26D-442F-8234-CF56A5501513","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"so_time","defName":"采购时间/领料时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9F296E8C-86B5-4BB3-8CB8-2658D5178599","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"item_count","defName":"商品的总数量","comment":"自动生成","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C1AFD555-4A92-4552-B278-BEFF459D819E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"total_price","defName":"商品的总价","comment":"自动生成","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"EE8A9461-91C1-4F0E-B60B-2284DCFC532E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"so_status","defName":"单据状态(字典repair_so_status)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F8A91C99-E7D2-44FB-A6F1-2C683CADE56D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"61569221-5BA9-4AE5-AF1B-D93F1A8462A7","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_id","defName":"门店ID(base_company表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C50A936C-06C7-4819-A4C6-C616BDE48BE4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"corp_name","defName":"门店名称(base_company表的corp_name)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CBFBCA0C-3B03-466F-92CE-E76AC4E0D2F3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_id","defName":"部门ID(system_dept表的ID)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"FC3CE714-2CE1-408E-96C6-9243D927CFED","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3247527C-7F1B-4124-B650-2E8FDEFD3671","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"BIT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"b'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"19F74905-0CD1-4A13-AE71-E787F8DCA321","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A1E48CBD-5AB2-4142-9EF0-7F884EC4A01E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"581E4B4F-BCF8-4686-99F3-F4650086D68C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A8314E13-8346-4EE9-8800-4A122E484C44","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2FE7C1F6-B26C-485F-90D8-C4A1A078F78F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"F8567D9F-5358-4F6F-BFB4-008593369C43","defKey":"dl_repair_soi","defName":"采购单领料单子表","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9C1608C4-43C6-4D6B-95EE-6BF96F50F369","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"so_id","defName":"采购单/领料单ID(dl_repair_so表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5B18EADD-6843-4A27-ABE2-B0259BC58277","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"soi_type","defName":"子表类型(字典repair_so_type)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"FABB4102-27C3-473F-8549-CAE234252A1A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_id","defName":"配件表ID(dl_repair_wares的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DB8D9A48-BD29-43B3-BB3A-4FC028054E31","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_type","defName":"配件类型(是否急件字典yes_no)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B3C05098-4907-4AE1-B699-653C668959AF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"ware_id","defName":"仓库ID(dl_base_warehouse的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"266C284F-BC4F-49A1-85DD-E40C33BC7626","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_count","defName":"商品数量","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"97CBED6D-2192-4CC6-9C05-382AAB30BE9A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"goods_price","defName":"商品单价","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B5255742-BFB3-42D1-A437-8F3D6F922D80","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1E0B56B4-4451-4113-AC7D-694AFF4FF07B","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"488EA2B7-90E7-43A7-8244-240BDEA32159","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"BIT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"b'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A331FDBA-FD3D-49C2-8710-D957A8CB4DF8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DFE0ECA0-57D5-41B3-8001-620B98F07B44","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"936A4E5D-CE8F-485E-AC43-F73A19B864F0","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2C80FAA3-4B54-4376-99FF-29A70210CFE4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E384AFD1-62E0-46E5-A706-4B8F13ADEF17","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"FC635C39-4D83-4078-BE77-89BAD1100913","defKey":"dl_repair_st","defName":"调拨单","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B4BC9229-31E9-420B-BF2E-66D21454A35A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"out_corp_id","defName":"调出门店(dl_base_corp表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"33DA11DC-C921-488A-A526-5E6B8D3E02C4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"in_corp_id","defName":"调入门店(dl_base_corp表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"14642FA6-827E-4DCA-8AD3-B35A28FEF2F5","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"st_no","defName":"单据编号","comment":"自动生成","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B8C2EEF3-4074-487A-B96E-65AB9AE43D02","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"调拨人(system_users表的ID)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1AAFA223-71EA-424C-B522-E9D8BEF83099","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"user_name","defName":"调拨人名字(company_staff表的name)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E17981DF-F58E-48AE-A23B-DEA8E3E33E3B","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"item_count","defName":"商品总数","comment":"自动生成","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9C37C4E4-81C3-48F0-A7F2-6E8ED8D51ECE","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"total_price","defName":"商品总价","comment":"自动生成","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AC17988C-F218-4699-BD06-C4D8015D835F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"discount_price","defName":"优惠金额","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"33D90D8B-C297-455D-B5FC-0B7F89DC7C98","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"this_collection","defName":"本次收款","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D408E360-675D-4956-9512-FBB58AAD09EA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"this_debt","defName":"本次欠款","comment":"自动生成","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A4998A03-253B-4FFC-9D51-FC7F56C34C38","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"st_status","defName":"调拨单状态(字典repair_st_status)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F4441E14-6387-49B2-831B-87CD3D2814FF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"st_time","defName":"调拔时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A5D02395-A90F-49B8-AFB2-4675D0BE94B2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F7DE3B69-29E2-4498-ACFA-CC7A8137C919","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_id","defName":"部门ID(system_dept表的ID)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C5153375-A8AD-4A8B-A5AB-3FF7388DEB94","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"567DCA74-A699-4B98-A255-B0CDCD81569E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"BIT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"b'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"47B4BFFA-1A6C-4EFA-A889-A1E92B9F8636","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1A0246C7-9C15-4531-AE54-FC3E1DEFC298","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DF6A23AE-F8F1-473E-8171-B5D04FC5E201","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"203D5392-35B6-484A-BDA7-FE77868AA7B0","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A384B142-6DA0-4EAD-B7A7-D2FA57FBAA4F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"D358B17E-A8EA-47F5-9E42-5BE83CAAB8E9","defKey":"dl_repair_sti","defName":"调拨单子表","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B735C44E-6F20-439B-91F6-12E07BC54166","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"st_id","defName":"调拨单ID(dl_repair_st表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6549820D-1288-46B3-91AF-F6F87383F0B0","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_id","defName":"配件表ID(dl_base_type的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F6174CE5-28CC-4A86-819C-68A7084E0163","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_count","defName":"商品数量","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"89872397-92E1-4E55-AC75-577CB7B293B1","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"goods_price","defName":"结算单价","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"FDDC430B-1BB8-4114-BEBA-257F4832B784","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"48B42E2B-9F83-4F7A-AE86-63BBF3D584E4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A4824339-8A82-483C-92DE-7E8AAF6C95B6","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"BIT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"b'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CAAC825C-0721-4128-A36E-139D9D13C992","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5D497F9C-6367-4ADA-BED8-0FD484F875DF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AB40B188-70BB-4C2A-BA0E-A5CA2F2AD420","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5E9A8FF4-BC31-468F-A69E-30138C053B0D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5C6A63C8-3C3C-4C3D-8DB5-3E571C0236E4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"691D06BE-9875-46F5-8561-4A72FDEED138","defKey":"dl_repair_tickets","defName":"维修工单表","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B6D72555-B3D7-4E70-8106-87DD132059A8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"ticket_no","defName":"工单号","comment":"自动生成","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9C066DA2-DF24-4E85-AECA-BD5DA24E4031","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"repair_type","defName":"业务类型(repair_type)","comment":"","domain":"","type":"VARCHAR","len":20,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8987A346-89CE-4574-9AA0-829DFD796260","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"用户ID(base_customer_main表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CA8A4FFF-5F64-4E49-9F32-E4F6A3834AE8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_name","defName":"用户名(base_customer_main表的cus_name)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AB202F71-C150-496C-A003-C1029F6400D5","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_mobile","defName":"用户手机号(base_customer_main表的phone_number)","comment":"","domain":"","type":"VARCHAR","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"530C4471-6863-41C8-BF7D-846AB5FF40BB","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_id","defName":"车辆ID(base_car_main表的ID)","comment":"选择用户之后选择车辆,有直接选,没有就添加","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"FC1268E9-4661-4517-8739-D97910D53CE3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_no","defName":"车牌号(base_car_main表的license_number)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2E1D93E5-355C-4F99-B66A-2CEC1B32ACD0","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_vin","defName":"车架号(base_car_main的vin)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"20A6879A-8D27-4759-B756-E581653C6833","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_brand_id","defName":"车辆品牌ID(base_car_brand表的ID)","comment":"车辆存在就会有品牌,没有就需要新增","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5C3D2372-0940-4B78-9A73-A2EE91BA191F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_brand_name","defName":"车辆品牌名称(base_car_brand表的brand_name)","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6463E11B-4FC8-4C28-B805-9C16C632D333","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"car_brand_type","defName":"车辆品牌类型(base_car_brand表的brand_type)","comment":"","domain":"","type":"VARCHAR","len":100,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"52DDDBC9-0EEE-4E5B-A4D0-E47ADF256CD9","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"adviser_id","defName":"服务顾问ID(system_users表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"816CD486-CC56-42D9-8530-597041B5DC41","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"adviser_name","defName":"服务顾问名字(system_user表的nickname)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F1AD640F-6538-4858-869C-D2C64CB63084","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"pay_type","defName":"结算方法(字典repair_pay_type)","comment":"可能是组合结算(微信+现金等),所以多选","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"FA409A23-F706-47F7-AA6C-672E02522B89","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"repair_advice","defName":"维修建议","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B2F136C2-E4FF-4C92-9122-918C5274B876","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"quality_mileage","defName":"质保说明(公里)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"126BEDFC-0228-44B5-B6AF-E254E83537FB","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"quality_day","defName":"质保说明(天数)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C828B948-438F-4E51-93AB-56DEC6695676","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"end_check","defName":"是否终检(字典yes_no)","comment":"已存在于系统中(是:1,否:0)","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"03DD7A37-D983-4A41-B182-400C47657E58","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"part_disposal","defName":"维修旧件处理方式(字典repair_part_disposal)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"20F66393-BBDD-494A-9AEF-14E66A1355EA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E20D87D6-CCCF-4D9B-9AFA-734964955CFC","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"ticket_type","defName":"工单类型(字典repair_tickets_type)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'01'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"389995B2-4FE6-4F3C-8AAE-D81A59782988","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"count","defName":"工单子项的总数(每一个子项的数量)","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"09536B82-0147-4221-9866-3489B4BA22C2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"project_price","defName":"工单项目总价","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"EBD4F0EC-0A4D-4960-968E-8955F20191D7","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"part_price","defName":"工单配件总价","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1E10B38D-5376-4772-9685-F1A8CB2CCB47","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"other_price","defName":"工单其他总价","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"458CA278-652C-4F2F-90B4-B75BFECFCAAE","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"total_price","defName":"工单总价","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"0C84AE0D-90D5-4DFA-B3F6-45A6E11B8EE0","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"in_time","defName":"进厂时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"68ADCE6F-3E39-482F-BE20-6DCF7EE16875","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"out_time","defName":"预计出厂时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A754DAAE-43E9-4706-8744-37C5B72F066D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"corp_id","defName":"门店ID(base_company表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E691CA2C-5536-4F3E-A94F-6318B632A1E2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"dept_id","defName":"部门ID","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2B483C5C-11DB-4063-865D-F022867EF28E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"cost","defName":"参考成本","comment":"","domain":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B8B26DDC-3FD8-4F23-A49E-9AACAD2A9C01","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"profit","defName":"参考毛利","comment":"","domain":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"754A48B1-EB50-48F6-B8C5-7FC42735D178","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"part_status","defName":"领料状态","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"99A9D51C-4976-41C6-96AD-DD077A738C68","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tickets_status","defName":"工单状态(字典repair_tickets_status)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E54F8F8B-7D8A-481B-A63C-ECD6C78697BD","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tickets_work_status","defName":"工单进行状态(字典repair_tickets_status)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D67B9D13-0006-46FF-966E-5A42DD5A531F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"08F5B50D-C1BD-4845-9024-26D0E37BC238","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"BIT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"b'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B346DE2D-72DB-4557-BEC6-192CADB7C537","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8D3CD93C-C4E4-4EB8-875B-6F4D9C6232A2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C888586D-9990-460E-A36D-6E7299045878","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3B377393-49A3-40B6-8A9E-4EF0025E18CC","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"660D2913-C251-4A4F-AFC3-9939BA9A191D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"341FA654-5D25-48C9-B558-C0C0CF2C7877","defKey":"dl_repair_titem","defName":"维修工单子表","comment":"","properties":{},"fields":[{"defKey":"id","defName":"主键标识","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AE771F73-72F1-48CA-BE7C-2A7E89BC4C38","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"ticket_id","defName":"工单ID(dl_repair_tickets表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"691BDAE0-F23C-4927-B880-117A6A3F5E91","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"item_name","defName":"名称","comment":"计划前端写的时候可以监听一下,动态查一下历史的记录推荐给使用者选","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"15C5DB65-E57C-431E-A187-7C661B29F872","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"item_count","defName":"数量","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BB49F664-C563-44C3-9AC1-1E610F4EB768","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"item_unit","defName":"单位","comment":"计划前端写的时候可以监听一下,动态查一下历史的记录推荐给使用者选","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AA2C58D5-0FAA-4238-B0E4-EEBD360B52B3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"item_price","defName":"单价","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"694ACB1B-AE3F-4AB2-B8B8-231D9CA0AE1B","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"item_discount","defName":"折扣","comment":"","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5395DCDE-27AB-45A3-BDD6-743655B5ED44","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"item_money","defName":"金额","comment":"正常是自动计算","domain":"","type":"DECIMAL","len":8,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"5FF1CE84-FEC4-4EC7-8503-D757513E864C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"repair_id","defName":"维修人员ID(system_users表的ID)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C797DF34-25E5-48ED-9537-BF842E642677","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"repair_name","defName":"维修人员名字(company_staff表的name)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"50FA67C6-00CF-48D1-917C-582292CFD1A2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"sale_id","defName":"销售人员ID(system_users表的ID)","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1CD74A12-1359-4047-A848-16E6713C1E1F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"sale_name","defName":"销售人员名字(company_staff表的name)","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C51727A0-52A6-4A21-B553-F42617317891","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"item_type","defName":"子项类型(字典repair_item_type)","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"60644402-82FB-4198-8D5C-3695AB8ED78A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"project_id","defName":"项目ID(dl_repair_project表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C858AB2C-3BB6-4F45-A1B7-F5235B385D55","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"part_id","defName":"配件ID(dl_base_type表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"37FC7912-4D30-4663-A2E2-24C9F74C68FE","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"other_id","defName":"其他ID(dl_base_type表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2384351F-6C2D-4A6B-89C2-0B9BE8A84C4D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"item_type_id","defName":"子项类型ID(dl_base_type表的ID)","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B7526598-B3D5-48D5-A1F6-541B00392B36","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"item_status","defName":"状态(字典repair_item_status)","comment":"","domain":"","type":"VARCHAR","len":20,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"E5EBA430-35B4-4EAC-8748-71B7F4A94F19","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"remark","defName":"备注","comment":"","domain":"","type":"VARCHAR","len":500,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"97EC1414-6C6E-44F7-8A18-683FD796D151","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"4D3E9BD5-1E98-41B6-B96E-F60C09DE41FA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"BIT","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"b'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D6C1803B-FD38-4F2C-B48C-99C307525DA2","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"A33DC895-0EF9-49E1-BBFF-53273522C6D1"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"6C4D0A25-2CD9-4082-929D-205B08BE898C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"989F1EE1-F66C-4108-91BF-02089FC0E92D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"75D1FE3C-70C4-4794-927A-F72C7F059C5C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"AA5DC2F7-2C93-44AC-891C-2F526197F940","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"02F5A38C-3015-4469-96C5-678874516113","defKey":"repair_order_info","defName":"维修模块 订单表","comment":"","properties":{},"fields":[{"defKey":"id","defName":"订单id","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BCF93634-ACD9-4039-AC4C-215F7DC62B61","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"order_no","defName":"订单号","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D400F9D1-15D5-4517-9AF2-A036871CA18C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_id","defName":"服务id或工单id","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8C237DB8-7C24-42C8-8D4A-DAA52FFC80DF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"active_id","defName":"活动id","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8C9F6F1F-B2AA-4AEE-BD34-3374B21E032B","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_title","defName":"服务名称","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"4E8DB31C-1236-4FCB-8927-B6D21097C539","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_type","defName":"消费类型1会员充值2维修服务","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1DD92A58-C377-4176-BEF4-15770754B554","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_name","defName":"租户名称","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A555B74A-03C2-4C82-855F-5FBAF3BE922D","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"用户id","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"DF45E47E-CF53-49E3-9203-D1504E1DF5A8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"cus_id","defName":"客户id","comment":"","domain":"","type":"VARCHAR","len":80,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C7A99A78-1807-4CBE-8BDD-CD05FA756583","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_name","defName":"客户姓名","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"68353A02-CFB0-4E8C-854D-CA216DCF488E","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"cus_phone","defName":"客户手机号","comment":"","domain":"","type":"VARCHAR","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"C48B0882-9218-4E64-9D0C-BC320E4EEB1A","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"goods_price","defName":"商品原价 元","comment":"","domain":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"8B307BF9-D565-4B66-8C00-BF9098978A86","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"pay_money","defName":"实付金额 元","comment":"","domain":"","type":"DECIMAL","len":10,"scale":2,"primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"4337DF5B-E663-451F-B042-56DEE4CAB979","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"order_time","defName":"下单时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"412DD847-DDC1-4324-9561-AD889F63DE23","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"reduce_money","defName":"会员优惠金额","comment":"","domain":"","type":"DECIMAL","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"CF05B8C2-FAF9-49E0-87AA-89C4ABA279EA","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"balance","defName":"使用会员储值卡的金额","comment":"","domain":"","type":"DECIMAL","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BD808928-8071-40F5-9337-079BA06C4D52","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1A0BDC09-0792-4174-9E8E-80BE8DF44B8E"},{"defKey":"pay_time","defName":"支付时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"30DE87BE-F035-4A1E-828C-CBEC4C246797","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"pay_type","defName":"支付方式01线上支付02现金支付03签单/挂账","comment":"","domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A52DA86A-A13B-46BF-BF6F-C6572700E0BE","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"pay_remark","defName":"支付信息备注","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":" ","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"4D32DDD2-2FB0-4173-8BBD-FC8C039682F3","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"is_online","defName":"支付方式01线上支付02现金支付03签单/挂账","comment":"","domain":"","type":"VARCHAR","len":5,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'1'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"97539CC5-304C-46C8-9DA8-12254F15F9D8","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"receivables_account","defName":"收款账号","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BE2684D4-E85F-44D0-B366-6A45EC7454D9","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"order_status","defName":"订单状态0待支付1已支付","comment":"","domain":"","type":"CHAR","len":11,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"'0'","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D4C24A1C-A4A6-4BC1-AE8C-4BA1FA3A4CF4","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"comment_desc","defName":"评价详情","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"62E8020F-6197-449B-92CE-39C5D6C93B40","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"comment_star","defName":"星级","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"9EE856B7-EFA4-45D0-8CCB-1EA0BA0EDA95","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"comment_time","defName":"评论时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"1941904B-5B23-4EFF-AFF2-D13D99F5B64F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"access_code","defName":"核销码","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"05C35903-099B-4573-BF8C-FF8F0C1D474F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"validation_time","defName":"核销时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"20995932-0F6E-4901-B051-7CC71694948F","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"validation_real_name","defName":"核销人","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"7D0BE756-9182-42B9-98B9-AF27FDBDF958","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"validation_user_id","defName":"核销人id","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"F344C37B-0493-48A2-860B-F4E468B91DEF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"is_coupon","defName":"是否使用优惠券 0 未使用 1使用","comment":"","domain":"","type":"CHAR","len":1,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"A21E7BFB-B581-4486-B183-6C89D1AA2F30","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":""},{"defKey":"coupon_id","defName":"优惠券id","comment":"","domain":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2","type":"BIGINT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"BDE4FA82-5C60-4263-B3B4-F1C684906C40","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719"},{"defKey":"coupon_code","defName":"优惠券代码","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"EF67A6C6-F744-4855-B418-D5BC3EA1A50C","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"coupon_discount","defName":"优惠金额","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"47A6171D-2D0D-474C-ABD9-4DE42B7DEEC7","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"dept_id","defName":"创建人所在部门","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"77E4AC1C-FA3F-47D6-82D8-F8A9086E01AF","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"3A6A9E03-B907-4524-9B15-880B0CCEFB59","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"creator","defName":"创建人id","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B15A4748-C3F1-4DB5-BC57-89A0A6931769","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"B37A2482-39E1-4591-834A-50BC6E5C5EC9","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人id","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"D35C8A2F-FAEB-4308-A715-8B0755922D94","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"tenant_id","defName":"租户id","comment":"","domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","type":"VARCHAR","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"2F9D3FEB-7D80-4D76-B700-910949B2C5F9","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"deleted","defName":"删除标志","comment":"","domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"0","hideInGraph":false,"refDict":"","attr1":"","attr2":"","attr3":"","attr4":"","attr5":"","attr6":"","attr7":"","attr8":"","attr9":"","id":"97FA5C46-B08A-47F5-9BD3-E906A7D88F64","extProps":{},"uiHint":"642D2E0A-8846-4549-BE56-8C0473F26EDE","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"}],"indexes":[],"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":[],"type":"P","sysProps":{"nameTemplate":"{defKey}[{defName}]"}},{"id":"B7EDCA3F-C43B-4DB1-B00C-0469F498B73A","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_repair_worker","defName":"维修工人表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{"nameTemplate":"{defKey}[{defName}]"},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"217516A4-ADF4-43A6-ADA7-9EF34D3FC372","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"user_id","defName":"用户id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"A2AE3F8D-ED96-4524-87C0-C83010FABF06"},{"defKey":"user_name","defName":"维修工人名称","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"CC553D57-2A6C-4C6A-B012-C0562C24DD7A"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"242A605C-B3BD-4E43-B995-EA6455A51C61","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"work_type","defName":"工种","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"F326C0F5-BFE0-48B2-A69D-01983366836F"},{"defKey":"is_leads","defName":"是否为组长0代表不是 1代表是","comment":"","type":"VARCHAR","len":5,"scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"","id":"6FB0F620-C672-4FAA-8B06-D10DB85B87F8"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"44A4499F-BE29-4CC6-B1E9-7D65D9C4538D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"BA0E437A-A18D-466F-9F3F-A6EDBD2EBEA0","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"93A9DA3C-6C7F-4CAF-B03E-4B28EDD425E5","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"A76A8E72-0006-449A-81A5-22DDD46DB7DA","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"14AA5262-4ABC-48B8-8CCE-34D44A8CB81D","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"},{"id":"BB73A11F-BF5B-4546-8F05-08B5503DDD8B","env":{"base":{"nameSpace":"","codeRoot":""}},"defKey":"dl_repair_records","defName":"维修记录表","comment":"","properties":{"partitioned by":"(date string)","row format delimited":"","fields terminated by ','":"","collection items terminated by '-'":"","map keys terminated by ':'":"","store as textfile;":""},"sysProps":{"nameTemplate":"{defKey}[{defName}]"},"notes":{},"headers":[{"refKey":"hideInGraph","hideInGraph":true},{"refKey":"defKey","freeze":false,"hideInGraph":false},{"refKey":"defName","freeze":false,"hideInGraph":false},{"refKey":"primaryKey","freeze":false,"hideInGraph":false},{"refKey":"notNull","freeze":false,"hideInGraph":true},{"refKey":"autoIncrement","freeze":false,"hideInGraph":true},{"refKey":"domain","freeze":false,"hideInGraph":true},{"refKey":"type","freeze":false,"hideInGraph":false},{"refKey":"refDict","freeze":false,"hideInGraph":true},{"refKey":"len","freeze":false,"hideInGraph":false},{"refKey":"scale","freeze":false,"hideInGraph":false},{"refKey":"comment","freeze":false,"hideInGraph":true},{"refKey":"defaultValue","freeze":false,"hideInGraph":true},{"refKey":"isStandard","freeze":false,"hideInGraph":false},{"refKey":"uiHint","freeze":false,"hideInGraph":true},{"refKey":"extProps","freeze":false,"hideInGraph":true},{"refKey":"attr1","freeze":false,"hideInGraph":true},{"refKey":"attr2","freeze":false,"hideInGraph":true},{"refKey":"attr3","freeze":false,"hideInGraph":true},{"refKey":"attr4","freeze":false,"hideInGraph":true},{"refKey":"attr5","freeze":false,"hideInGraph":true},{"refKey":"attr6","freeze":false,"hideInGraph":true},{"refKey":"attr7","freeze":false,"hideInGraph":true},{"refKey":"attr8","freeze":false,"hideInGraph":true},{"refKey":"attr9","freeze":false,"hideInGraph":true}],"fields":[{"defKey":"id","defName":"主键标识","comment":"","type":"","len":"","scale":"","primaryKey":true,"notNull":true,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","extProps":{},"domain":"16120F75-6AA7-4483-868D-F07F511BB081","id":"B7BC8D9F-10B9-417E-B89D-EBE783609FC7","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"tenant_id","defName":"租户号","comment":"","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"16120F75-6AA7-4483-868D-F07F511BB081","refDict":"","uiHint":"","id":"9C11B389-18F2-4F04-8BA7-4E8AC9F7CB85","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"ticket_id","defName":"工单id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"FAB07701-87FC-4FF2-A315-0A78E8421890"},{"defKey":"repair_titem_id","defName":"工单子表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"E2679421-BD54-4F56-A0B9-C5CEE795273B"},{"defKey":"remark","defName":"项目描述","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"039BA4F9-81EC-47D7-85CF-EC0605FB5C80"},{"defKey":"image","defName":"过程记录中的图片","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"B17BDED3-085F-40E1-9019-3B79CF2BF075","extProps":{},"domain":"AA4D5F74-732E-426C-A639-8842B4BC52B2","id":"F8C5FE81-D218-4562-94A4-78A48BDFFBEC"},{"defKey":"deal_user_id","defName":"处理人员工表id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"C0EEB995-7776-412F-8BCC-B5840516B5A2"},{"defKey":"deal_worker_id","defName":"处理维修工id","comment":"","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"refDict":"","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64","extProps":{},"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","id":"788D6FEE-1FA5-48F4-8AB8-E8E80F64F2F3"},{"defKey":"deleted","defName":"是否删除0代表存在 1代表删除","comment":"","domain":"F8C1B685-B82C-442F-BF3C-EF01A3884A07","type":"","len":"","scale":"","primaryKey":false,"notNull":true,"autoIncrement":false,"defaultValue":"0","hideInGraph":true,"refDict":"","uiHint":"","id":"0238585E-AFA4-4006-9DFC-5936C0BB6E24","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"creator","defName":"创建人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":32,"scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"4B00E158-389E-430A-9FC9-840E27177029","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"create_time","defName":"创建时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"64A33777-05BD-4BDD-91B9-566E259F0451","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"updater","defName":"更新人","comment":"","domain":"16120F75-6AA7-4483-868D-F07F511BB081","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"1333D690-046F-45B9-B5AE-EF0451797E58","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"update_time","defName":"更新时间","comment":"","domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","type":"","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":true,"refDict":"","uiHint":"","id":"A5AB1274-8F93-4D88-B2D0-D4E1347D2CBD","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"}],"correlations":[],"indexes":[],"type":"P"}],"views":[],"dicts":[{"defKey":"cus_type_code","defName":"客户类型","sort":"","intro":"","id":"97484E88-5B85-489A-A2D1-099509360FEB","items":[{"defKey":"01","defName":"政企客户","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"332037F1-6316-40BB-BBCD-3D91FE90A9AA"},{"defKey":"02","defName":"私人客户","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"EAE0849E-A5B3-4CEB-8B8B-FF1E6356B789"},{"defKey":"03","defName":"代办客户","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"A5DB2234-64B9-4E78-AE38-A8D6683A55AF"},{"defKey":"04","defName":"政企客户员工","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"101A039E-3E5F-4436-B61A-35EF8B9BCD40"}]},{"defKey":"system_code","defName":"系统标识","sort":"","intro":"","id":"9E9597D6-568E-439E-AB47-6F79A0AD9338","items":[{"defKey":"01","defName":"救援","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"E392BB28-1766-4B06-ADF7-A95860343E3A"},{"defKey":"02","defName":"汽修","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"4160F641-B6AF-4F9E-8557-CC70C116AD24"},{"defKey":"03","defName":"驾校","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"1F63EED7-99DE-42A8-B3B4-366C94F6FB08"},{"defKey":"04","defName":"保险","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"FBA9A002-4DD5-4F36-8531-9A138A369F23"}]},{"defKey":"yes_or_no","defName":"是否","sort":"","intro":"","id":"FA7F294D-D46F-470F-B159-8730EB858893","items":[{"defKey":"1","defName":"是","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"37F3E0DF-E28C-48CC-AAB2-02E6298B7D1D"},{"defKey":"0","defName":"否","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"437ED0D2-0D40-4969-AF66-EC4F98034F88"}]},{"defKey":"system_user_sex","defName":"用户性别","sort":"","intro":"","id":"1EA6158D-5F93-49AC-BB25-09EBC515AF45","items":[{"defKey":"1","defName":"男","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"3567D32E-538C-48D5-8AE5-FC9AFC2A76B6"},{"defKey":"2","defName":"女","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"16620C73-09C7-4BBF-84D8-29785CDB1BD3"}]},{"defKey":"inviter_type","defName":"邀请者类型","sort":"","intro":"","id":"7EE18D03-8F8F-48F4-B3D7-6B3DC228DCCE","items":[{"defKey":"1","defName":"员工邀请","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"18B94A07-21A3-4380-869F-C73F8F7114C1"},{"defKey":"2","defName":"客户邀请","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"CC2C0ECD-97ED-4FF9-B754-A92ABD870A06"},{"defKey":"3","defName":"教练邀请","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"DCDEB540-E3A6-4E8F-A396-FE5638BB6254"}]},{"defKey":"car_nature","defName":"车辆使用类型","sort":"","intro":"","id":"753530E7-71EF-4895-A89A-1C246E34756A","items":[{"defKey":"非营运","defName":"非营运","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"2747041D-8A01-447F-BCFA-A661F4AAF584"},{"defKey":"营运车","defName":"营运车","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"E3A451F1-80B2-41C1-8191-DCE07EA6A7DB"},{"defKey":"教练车","defName":"教练车","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"0BD1007D-CF48-4E90-85FA-0486FFBD0F73"}]},{"defKey":"cus_data_from","defName":"客户初始来源","sort":"","intro":"","id":"22B75B83-F1AF-4E27-8F6D-9AA04C7554C8","items":[{"defKey":"01","defName":"车辆检测","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"172CAA59-512B-49C2-90E5-1CC924DA6ACB"},{"defKey":"02","defName":"车辆救援","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"CE1304C4-2CBA-4F43-9C6C-1C6749C47578"},{"defKey":"03","defName":"驾校","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"A5BC5273-9C4B-4F85-8990-E121C758FC5C"},{"defKey":"04","defName":"二手车","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"D212A3A5-C593-4FF1-BCD7-23DF639F2787"}]},{"defKey":"quals_type","defName":"资质证书类型","sort":"","intro":"","id":"E223425A-8E09-4382-B0ED-EBE8EBB471E4","items":[{"defKey":"01","defName":"营业执照","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"83AEA7F1-1B8F-4504-9187-D304FEADAC5E"}]},{"defKey":"company_education","defName":"学历","sort":"","intro":"","id":"164BFC78-6690-432C-B62E-280AC395952D","items":[{"defKey":"01","defName":"小学","sort":"1","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"529608F1-307C-4820-A457-7A6B5D429710"},{"defKey":"02","defName":"初中","sort":"2","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"A0EBBF86-4250-4736-A4E4-CD769E226942"},{"defKey":"03","defName":"高中","sort":"3","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"6DC8A3BE-D17C-490B-BC2D-B5FDD4282F68"},{"defKey":"04","defName":"专科","sort":"4","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"D6E44406-03B9-4C44-9900-73BB6B4F6E66"},{"defKey":"05","defName":"本科","sort":"5","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"2CBE8AF6-06CB-48C3-9CCF-C9D9CD5F2C4A"},{"defKey":"06","defName":"研究生","sort":"6","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"E491A36A-A5C6-4748-8B8D-45A18FA0B99A"}]},{"defKey":"company_property_catg","defName":"资产分类","sort":"","intro":"","id":"598E1491-CA4F-4904-9E07-2EABB1BFFBFA","items":[]},{"defKey":"company_cost_type","defName":"价值类型","sort":"","intro":"","id":"C8A6E85C-ABC4-465D-9EE7-4C98AAC319CF","items":[{"defKey":"01","defName":"原值","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"A3EFF219-03F7-4392-8261-109F8A329B86"},{"defKey":"02","defName":"暂估值","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"235E629D-8CD3-450E-AFE6-D84A1A0F452D"},{"defKey":"03","defName":"重置值","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"C03E03AD-8AF8-4AA8-A2A6-82A57B9CC1C9"},{"defKey":"04","defName":"无价值","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"5A64A3CC-9ED9-473B-B95D-096EFFA5A0FE"},{"defKey":"05","defName":"评估值","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"40F274C0-D617-4B6B-B9FF-E2B4471A2F22"},{"defKey":"06","defName":"名义金额","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"E522B0C2-C599-4CCE-9DD0-0698A059243C"}]},{"defKey":"company_deposit_type","defName":"存放类型","sort":"","intro":"","id":"D1D9BBC5-78B6-4B22-BD25-FD4AEF0487CE","items":[{"defKey":"01","defName":"会议室","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"F7C15C2C-42DF-483E-8585-E0CB6A17A256"},{"defKey":"02","defName":"档案室","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"C23760F0-292B-4C51-A601-CC930302DCAC"},{"defKey":"03","defName":"维修车间","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"6A234D04-FA31-4BB1-A156-6681582CCA3E"},{"defKey":"99","defName":"其他","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"8FB66D8A-37E3-47EC-9697-4BC7DF9E4022"}]},{"defKey":"company_prop_status","defName":"资产状态","sort":"","intro":"","id":"C4DC61A4-8382-43C5-91F4-73195F481472","items":[{"defKey":"01","defName":"在用","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"A0128437-E652-42E5-BAE4-9D835528FE92"},{"defKey":"02","defName":"闲置","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"0A235A63-BFC4-49BC-82EF-75403F82020B"},{"defKey":"03","defName":"毁损待报废","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"D1DB38E5-B057-4090-A5E2-78C97367CD9D"},{"defKey":"04","defName":"处置中","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"3975ADDB-F660-46C6-904B-231C60A26F71"},{"defKey":"05","defName":"变动中","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"F6CD8700-F497-4A44-B40E-D45DCEF0FD55"},{"defKey":"06","defName":"已报废","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"2B9FECF6-BFDB-445B-86BF-DD6207BF369E"},{"defKey":"07","defName":"待处置","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"631EEC40-EAF4-469B-89AE-78933477732E"},{"defKey":"99","defName":"其他","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"F0098935-29C6-4646-958B-91BC1B46061D"}]},{"defKey":"company_keep_cycle_type","defName":"维修/保养周期单位","sort":"","intro":"","id":"D27AA9D8-81FD-4896-ABE6-CC73CEFCF06D","items":[]},{"defKey":"company_deal_way","defName":"资产处置方式","sort":"","intro":"","id":"CF39F423-A6BA-435A-871A-DC541F58FDA8","items":[{"defKey":"01","defName":"无偿调出","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"D44E6C68-AE6B-48D4-8C25-7AC351F94E92"},{"defKey":"02","defName":"出售","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"A9FCF4FA-BDB0-4A60-A1E9-EF791F6E8A0A"},{"defKey":"03","defName":"报废","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"115632AC-AE96-4FBB-81B8-9EFDF3193482"},{"defKey":"04","defName":"报损","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"CC0510C9-9266-4F2F-BE9F-DE9DC248BB42"}]},{"defKey":"company_property_data_type","defName":"资产处理单数据类型","sort":"","intro":"","id":"389D2747-6853-47F7-8082-4659AECD1911","items":[{"defKey":"deal","defName":"资产处置单","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"401E168C-1750-47EB-A1E3-C694AF0EB6BE"},{"defKey":"change","defName":"资产变动单","sort":"","parentKey":"","intro":"","enabled":true,"attr1":"","attr2":"","attr3":"","id":"D37E2C61-4811-4464-8B0E-271068D6D14B"}]},{"defKey":"promotion_channel","defName":"推广渠道","sort":"","intro":"","id":"DF437743-B1F7-4A14-8E22-1AE5391D41C8","items":[]}],"viewGroups":[{"defKey":"sys","defName":"框架自带表","refEntities":["8BE13179-7DB6-4B43-B024-D8EE92334D55","926E2CE2-FA08-4DA3-AE65-058B337AC0AF","3526566A-6742-46B7-AC57-EDCB16A16BB9","227BD0A3-4292-4A1F-9629-D5E280A69480","415D0550-4F6C-4797-BF2F-EC258BAB5A07","9D3B3D1E-09A3-412A-9EE8-07A8D88F2069","88412BE6-8090-4432-8E99-0CE72F14998A"],"refViews":[],"refDiagrams":[],"refDicts":[],"id":"A715AA6F-2A4D-414F-B9EC-FE04153D57D6"},{"defKey":"company","defName":"企业管理模块","refEntities":["1D2729CE-2B79-40B2-BE7B-E3EE2B01670E","AE164C6D-235E-4420-87C7-F215C8B1E275","87F7C584-4DD5-42CE-A776-3F33752CDE84","0654E6E2-252A-4D26-BBDD-7ABC00B92C48","8DA534EB-787C-4E48-B761-F370C60CC3AC","14AA4B49-725C-4E32-9E1E-C581D6D00950","31770F8B-4FAD-4DB6-A35E-B270F413E8E9"],"refViews":[],"refDiagrams":[],"refDicts":["1EA6158D-5F93-49AC-BB25-09EBC515AF45","164BFC78-6690-432C-B62E-280AC395952D","598E1491-CA4F-4904-9E07-2EABB1BFFBFA","C8A6E85C-ABC4-465D-9EE7-4C98AAC319CF","D1D9BBC5-78B6-4B22-BD25-FD4AEF0487CE","C4DC61A4-8382-43C5-91F4-73195F481472","D27AA9D8-81FD-4896-ABE6-CC73CEFCF06D","CF39F423-A6BA-435A-871A-DC541F58FDA8","389D2747-6853-47F7-8082-4659AECD1911"],"id":"748E3D0F-7DB2-4393-8A8D-F292D754830C"},{"defKey":"base","defName":"业务基础库","refEntities":["BE8A2278-6312-499D-BF94-8900981557ED","672A2E12-DFC6-4168-8722-F92BE2394498","842150A7-AD3C-457B-AA05-000C02C679EC","3BC3BF5D-14E1-4BAB-9081-32B2EA230649","9B2F50D3-8720-4A28-9814-2BCF5DBC3389","6B830226-BD18-4D3D-AAD8-5EA36090BC2E","1C55A6CD-B298-4425-BEC7-5DAA774EDAFB","13D6C572-46EA-4D3F-A37A-65875A23AB6B","A1A0C1C6-B78D-47E0-AB05-F5A38DAA4D08","D47FC836-3F02-4B09-A584-E66CD6AF2D7A","FC3A9B49-EF15-4D18-8F5E-8FA8688C6702"],"refViews":[],"refDiagrams":["29A5FBEB-981B-4D82-964D-C880BC8C7708"],"refDicts":["97484E88-5B85-489A-A2D1-099509360FEB","9E9597D6-568E-439E-AB47-6F79A0AD9338","FA7F294D-D46F-470F-B159-8730EB858893","1EA6158D-5F93-49AC-BB25-09EBC515AF45","7EE18D03-8F8F-48F4-B3D7-6B3DC228DCCE","753530E7-71EF-4895-A89A-1C246E34756A","22B75B83-F1AF-4E27-8F6D-9AA04C7554C8","E223425A-8E09-4382-B0ED-EBE8EBB471E4","DF437743-B1F7-4A14-8E22-1AE5391D41C8"],"id":"5CF42C53-DAB7-41F3-981A-8C4825EE0DC7"},{"defKey":"repair-维修库","defName":"","refEntities":["53901845-C3DA-4072-8985-024CBA194AFB","84889055-0548-4D33-92F9-7AA3C6692C38","3F288197-5A6C-40F5-BE9D-4A9BCE6A00B1","A29CC305-E61C-4556-849A-3E4220E1369F","8073EDED-5C19-4281-8E38-3AE08D6EFD16","63BF02E9-1D11-4464-ABF3-57251699DFEB","A59C71BB-A99A-45C2-9F79-B9083AD814A9","EE3A4CED-6DF9-4CB3-87D5-C97B028F6C45","F8567D9F-5358-4F6F-BFB4-008593369C43","FC635C39-4D83-4078-BE77-89BAD1100913","D358B17E-A8EA-47F5-9E42-5BE83CAAB8E9","691D06BE-9875-46F5-8561-4A72FDEED138","341FA654-5D25-48C9-B558-C0C0CF2C7877","072D09F1-C2A7-4DCE-8670-2275E42F0E89","02F5A38C-3015-4469-96C5-678874516113","B7EDCA3F-C43B-4DB1-B00C-0469F498B73A","BB73A11F-BF5B-4546-8F05-08B5503DDD8B"],"refViews":[],"refDiagrams":["54AD1509-B33B-4C81-A2DF-2AD78C46AF19"],"refDicts":[],"id":"5322F932-F0DC-4D8C-B003-D8B3BA374283"},{"defKey":"member","defName":"会员","refEntities":["49B3A95D-DA5F-4272-932B-63638120DEE8","311BB755-BBC7-4AD9-B84F-67E4B5A1C66C","A2FF9ED7-9CA8-4630-9379-C5EACD0C4939","ED1D9322-A08D-45FE-9463-D6196B9D319B","D498EBA0-D8ED-4360-AC31-C6813677C12B"],"refViews":[],"refDiagrams":[],"refDicts":[],"id":"4062E049-4A87-43A8-9634-AAA6476D03EF"},{"defKey":"customer_member","defName":"用户会员","refEntities":["E6F1FC0D-441F-4D93-A5B3-04A11D0E9AEC","F60C784F-FB2A-42E6-B6C5-F4222774B530","3FF2FF0A-8628-4B50-889C-73B3CE121E6D","34A4ABA0-D44D-4E4E-9E54-A74BC992C245"],"refViews":[],"refDiagrams":[],"refDicts":[],"id":"6C6A8DD8-82A7-40AC-BE34-88467DE12401"}],"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"},{"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"},{"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"},{"defKey":"datetime","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<Local>","56F4B55B-F0B8-4049-9E6B-50B95C1D793A":"DATE","483F9346-C99E-4014-A1D2-A554606BD8A3":"DATETIME"},{"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"},{"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"},{"defKey":"BIT","id":"A33DC895-0EF9-49E1-BBFF-53273522C6D1","defName":"是否删除","29D1CE08-4C35-4D2D-AAA9-23D93305B52E":"BIT"},{"defKey":"date","id":"2E722820-04DF-4F02-B422-837F0A5ECACD","defName":"日期","29D1CE08-4C35-4D2D-AAA9-23D93305B52E":"DATE"},{"defKey":"BIGINT","id":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719","defName":"BIGINT","29D1CE08-4C35-4D2D-AAA9-23D93305B52E":"BIGINT"}]},"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":50,"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":10,"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"},{"defKey":"text","defName":"大文本","applyFor":"B17BDED3-085F-40E1-9019-3B79CF2BF075","len":"","scale":"","uiHint":"","id":"AA4D5F74-732E-426C-A639-8842B4BC52B2"},{"defKey":"if_delete","defName":"是否删除","applyFor":"A33DC895-0EF9-49E1-BBFF-53273522C6D1","len":1,"scale":"","uiHint":"","id":"F8C1B685-B82C-442F-BF3C-EF01A3884A07"},{"defKey":"date","defName":"日期","applyFor":"2E722820-04DF-4F02-B422-837F0A5ECACD","len":"","scale":"","uiHint":"","id":"8CB8AB83-9711-4B94-B70D-971395801BDB"},{"defKey":"BIGINT","defName":"自增id","applyFor":"E07BF7BE-526B-4B78-BC4E-B0D4031B6719","len":"","scale":"","uiHint":"","id":"C3BDFF42-2DB6-4730-93DE-040ED6A740C2"}],"diagrams":[{"defKey":"base","defName":"基础库表关系","relationType":"field","canvasData":{"cells":[{"id":"7fc1cb33-b766-484e-8a0b-de374127535e","shape":"erdRelation","source":{"cell":"43e250a3-48b5-4657-becd-43877d30e562","port":"070CC96B-B753-4203-83DF-C44C99578601%out"},"target":{"cell":"1e5dff6b-7762-4e42-a89e-747c9ca6e89a","port":"48410389-7277-4DFD-BF9D-02358B0F8821%in"},"relation":"1:1","vertices":[],"fillColor":"#ACDAFC","router":{"name":"manhattan"},"attrs":{"line":{"strokeDasharray":""}}},{"id":"cb8dd4c0-08a7-407a-87c4-8dbb88c03f18","shape":"erdRelation","source":{"cell":"43e250a3-48b5-4657-becd-43877d30e562","port":"070CC96B-B753-4203-83DF-C44C99578601%in"},"target":{"cell":"92acb7c4-d1d0-4492-bb7f-0f0711b37306","port":"88AB438C-F2EC-4B0B-865E-7AAA6376F042%in"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"3c1ccbca-884b-415f-9702-809808645d48","shape":"erdRelation","source":{"cell":"c282a4c3-4d4c-43fa-8332-e735c2d6e306","port":"BF7EE6C7-EEB5-42F7-87E0-1B5B3731072C%out"},"target":{"cell":"43e250a3-48b5-4657-becd-43877d30e562","port":"97C0204C-B87D-4E79-A7FC-F991D5F5982C%in"},"relation":"1:n","vertices":[{"x":-70,"y":260}],"fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"4c651c19-60a8-414f-a99c-eb4e9711c0d1","shape":"erdRelation","source":{"cell":"92acb7c4-d1d0-4492-bb7f-0f0711b37306","port":"84437537-978B-43AB-B6EB-A76F25E759EC%out"},"target":{"cell":"55b98324-d969-48bc-b779-fca3372bb541","port":"478239AA-0D7E-4103-8F71-449E328D195D%out"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan"},"attrs":{"line":{"strokeDasharray":""}}},{"id":"21b9869f-c526-4266-868f-b294b3a96e2d","shape":"erdRelation","source":{"cell":"c282a4c3-4d4c-43fa-8332-e735c2d6e306","port":"BF7EE6C7-EEB5-42F7-87E0-1B5B3731072C%out"},"target":{"cell":"55b98324-d969-48bc-b779-fca3372bb541","port":"5148AB8C-4316-480B-824A-1A57366F25D4%in"},"relation":"1:n","vertices":[{"x":-80,"y":689}],"fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"d8409a49-0c91-4eb2-b2a8-4961a385a321","shape":"erdRelation","source":{"cell":"43e250a3-48b5-4657-becd-43877d30e562","port":"070CC96B-B753-4203-83DF-C44C99578601%out"},"target":{"cell":"55b98324-d969-48bc-b779-fca3372bb541","port":"A5FC8E33-A635-44DC-88B1-0F91AA84B43D%out"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"11fa0280-a864-4602-8a5d-8a272740c325","shape":"erdRelation","source":{"cell":"43e250a3-48b5-4657-becd-43877d30e562","port":"070CC96B-B753-4203-83DF-C44C99578601%out"},"target":{"cell":"587390a0-a141-4eff-afa7-a8e2a3f9c723","port":"9AC38EDC-56BB-4C6E-8980-6C6E082FE677%in"},"relation":"1:n","vertices":[{"x":540,"y":901}],"fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"04027ed4-fe9a-49c5-903d-7a55a77dc49c","shape":"erdRelation","source":{"cell":"ef6b3ec9-f0fa-408f-afcd-3ae63b3bf547","port":"5CD491F7-7865-4E43-8104-9DDA572B8F27%out"},"target":{"cell":"587390a0-a141-4eff-afa7-a8e2a3f9c723","port":"B92C5DCC-A8A5-46F9-ADB8-A338223FC7BF%out"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan"},"attrs":{"line":{"strokeDasharray":""}}},{"id":"e1edefbb-27c1-4e09-aba8-570d0c8c09df","shape":"erdRelation","source":{"cell":"92acb7c4-d1d0-4492-bb7f-0f0711b37306","port":"84437537-978B-43AB-B6EB-A76F25E759EC%out"},"target":{"cell":"587390a0-a141-4eff-afa7-a8e2a3f9c723","port":"1D0CCBF4-D523-4FB8-B856-93DC523B46BE%in"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"1ea2ad22-8683-4293-9017-f85b42d8393e","shape":"erdRelation","source":{"cell":"92acb7c4-d1d0-4492-bb7f-0f0711b37306","port":"84437537-978B-43AB-B6EB-A76F25E759EC%out"},"target":{"cell":"c80e8373-2e0a-4b12-b7a1-a896b2af5ad6","port":"06271B5E-A8AC-4324-B480-6F62E55400A9%in"},"relation":"1:n","vertices":[{"x":630,"y":1071}],"fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"5cb87937-13de-40ef-8dbd-868d98d46333","shape":"erdRelation","source":{"cell":"92acb7c4-d1d0-4492-bb7f-0f0711b37306","port":"84437537-978B-43AB-B6EB-A76F25E759EC%out"},"target":{"cell":"c80e8373-2e0a-4b12-b7a1-a896b2af5ad6","port":"02BAA535-86E2-4078-B94E-77F999A70701%in"},"relation":"1:n","vertices":[{"x":600,"y":1094}],"fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"b37e0067-8639-4556-a643-93d8b5b148be","shape":"erdRelation","source":{"cell":"ef6b3ec9-f0fa-408f-afcd-3ae63b3bf547","port":"5CD491F7-7865-4E43-8104-9DDA572B8F27%out"},"target":{"cell":"c80e8373-2e0a-4b12-b7a1-a896b2af5ad6","port":"DDDE22DA-8D35-475D-8DAC-207012247F6B%out"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan"},"attrs":{"line":{"strokeDasharray":""}}},{"id":"ef6b3ec9-f0fa-408f-afcd-3ae63b3bf547","shape":"table","position":{"x":670,"y":554},"count":0,"originKey":"672A2E12-DFC6-4168-8722-F92BE2394498","size":{"width":372.8984375,"height":123}},{"id":"f53b5779-0400-4932-9c1f-1538aea99748","shape":"erdRelation","source":{"cell":"c282a4c3-4d4c-43fa-8332-e735c2d6e306","port":"BF7EE6C7-EEB5-42F7-87E0-1B5B3731072C%in"},"target":{"cell":"c80e8373-2e0a-4b12-b7a1-a896b2af5ad6","port":"89A660A8-6759-4BD8-9C80-B52592412565%in"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan"},"attrs":{"line":{"strokeDasharray":""}}},{"id":"c282a4c3-4d4c-43fa-8332-e735c2d6e306","shape":"table","position":{"x":-570,"y":130},"count":0,"originKey":"926E2CE2-FA08-4DA3-AE65-058B337AC0AF","size":{"width":439.5078125,"height":353}},{"id":"92acb7c4-d1d0-4492-bb7f-0f0711b37306","shape":"table","position":{"x":20,"y":390},"count":0,"originKey":"BE8A2278-6312-499D-BF94-8900981557ED","size":{"width":350.875,"height":123}},{"id":"2fad92f2-d8bf-432c-8f33-c7083c31ebab","shape":"erdRelation","source":{"cell":"43e250a3-48b5-4657-becd-43877d30e562","port":"070CC96B-B753-4203-83DF-C44C99578601%out"},"target":{"cell":"c80e8373-2e0a-4b12-b7a1-a896b2af5ad6","port":"5E197A21-96D9-4DAE-B7F3-5E7A312C82F9%in"},"relation":"1:n","vertices":[{"x":570,"y":1209}],"fillColor":"#ACDAFC","router":{"name":"manhattan","args":{"excludeShapes":["group"]}},"connector":{"name":"rounded","args":{"radius":10}},"attrs":{"line":{"strokeDasharray":""}}},{"id":"43e250a3-48b5-4657-becd-43877d30e562","shape":"table","position":{"x":20,"y":130},"count":0,"originKey":"6B830226-BD18-4D3D-AAD8-5EA36090BC2E","size":{"width":486,"height":146}},{"id":"1e5dff6b-7762-4e42-a89e-747c9ca6e89a","shape":"table","position":{"x":670,"y":130},"count":0,"originKey":"8BE13179-7DB6-4B43-B024-D8EE92334D55","size":{"width":477.9609375,"height":353}},{"id":"587390a0-a141-4eff-afa7-a8e2a3f9c723","shape":"table","position":{"x":670,"y":771},"count":0,"originKey":"842150A7-AD3C-457B-AA05-000C02C679EC","size":{"width":354.4296875,"height":146}},{"id":"c80e8373-2e0a-4b12-b7a1-a896b2af5ad6","shape":"table","position":{"x":670,"y":1010},"count":0,"originKey":"9B2F50D3-8720-4A28-9814-2BCF5DBC3389","size":{"width":394,"height":215}},{"id":"55b98324-d969-48bc-b779-fca3372bb541","shape":"table","position":{"x":20,"y":605},"count":0,"originKey":"3BC3BF5D-14E1-4BAB-9081-32B2EA230649","size":{"width":370.3671875,"height":123}}]},"id":"29A5FBEB-981B-4D82-964D-C880BC8C7708","comment":""},{"defKey":"work","defName":"工人项目关系","relationType":"field","canvasData":{"cells":[{"id":"4687afa6-2e3b-48c6-85c0-ee36423198d3","shape":"erdRelation","source":{"cell":"5cbeff1a-5b26-41c7-9c9e-b8e6ba9a2276","port":"03C3CCE7-3E38-4A7A-93A8-461BC34A5A24%in"},"target":{"cell":"ad3a3d2c-7323-47db-801b-e500bddddbd3","port":"217516A4-ADF4-43A6-ADA7-9EF34D3FC372%out"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan"},"attrs":{"line":{"strokeDasharray":""}}},{"id":"ad3a3d2c-7323-47db-801b-e500bddddbd3","shape":"table","position":{"x":80,"y":117},"count":0,"originKey":"B7EDCA3F-C43B-4DB1-B00C-0469F498B73A","type":"P","size":{"width":469,"height":123}},{"id":"414d4aa0-5cee-49ed-b844-6e85f734145e","shape":"erdRelation","source":{"cell":"e0b604b0-0425-4a0d-96a3-848f6ce716b7","port":"FAB07701-87FC-4FF2-A315-0A78E8421890%out"},"target":{"cell":"e823d8a4-0e7e-4a63-96a8-d1301093ab9b","port":"B6D72555-B3D7-4E70-8106-87DD132059A8%in"},"relation":"1:n","fillColor":"#ACDAFC","router":{"name":"manhattan"},"attrs":{"line":{"strokeDasharray":""}}},{"id":"e0b604b0-0425-4a0d-96a3-848f6ce716b7","shape":"table","position":{"x":140,"y":280},"count":0,"originKey":"BB73A11F-BF5B-4546-8F05-08B5503DDD8B","type":"P","size":{"width":320,"height":123}},{"id":"5cbeff1a-5b26-41c7-9c9e-b8e6ba9a2276","shape":"table","position":{"x":80,"y":-410},"count":0,"originKey":"A59C71BB-A99A-45C2-9F79-B9083AD814A9","type":"P","size":{"width":511,"height":514}},{"id":"e823d8a4-0e7e-4a63-96a8-d1301093ab9b","shape":"table","position":{"x":660,"y":-420},"count":0,"originKey":"691D06BE-9875-46F5-8561-4A72FDEED138","type":"P","size":{"width":693,"height":997}}]},"id":"54AD1509-B33B-4C81-A2DF-2AD78C46AF19","comment":""}],"standardFields":[{"defKey":"personInfo","defName":"个人基本信息要素","fields":[{"defKey":"ID_CARD_NO","defName":"身份证号","comment":"","type":"VARCHAR","len":"60","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","refDict":"","uiHint":"","id":"A64A91C8-A41F-4113-92FB-7563D7EF054D","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"MOBILE_PHONE","defName":"手机号","comment":"","type":"VARCHAR","len":"60","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","refDict":"","uiHint":"","id":"479DA2AB-1974-411A-A81E-92FB939E75EB","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"GENDER","defName":"性别","comment":"","type":"VARCHAR","len":"32","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","refDict":"BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D","uiHint":"","id":"48473E29-6594-4912-AADE-C8AB44FCA3E9","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"BIRTH","defName":"出生日期","comment":"","type":"DATETIME","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"7CFFA0D3-6A93-4DDC-BC10-DF21211064DC","refDict":"","uiHint":"","id":"2BD3D2EE-2411-49A6-983D-84B81057312F","baseType":"89D69E81-EA34-42EE-9FA2-93B8BD27E098"},{"defKey":"AVATAR","defName":"头像","comment":"","type":"VARCHAR","len":"60","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","refDict":"","uiHint":"","id":"FDD67CEE-4B52-4BD1-A1A3-9C5EBC6037E6","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"HEIGHT","defName":"身高","comment":"","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","refDict":"","uiHint":"","id":"CAAA0E79-41A1-4758-B481-D171168C4D68","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"WEIGHT","defName":"体重","comment":"","type":"INT","len":"","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"6BC8F04B-6CFA-4995-98D3-318F5CDD774E","refDict":"","uiHint":"","id":"575482CE-64A6-4CB9-99DC-8E126D190AAA","baseType":"1D764C4A-6F9F-421E-B11A-6F3E23B51811"},{"defKey":"NATION","defName":"名族","comment":"","type":"VARCHAR","len":"32","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","refDict":"115EDEFC-0323-410E-81AB-CCAB8879837A","uiHint":"","id":"15B0D75D-0B97-4985-A816-D0EAFA90446B","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"POLITICAL","defName":"政治面貌","comment":"","type":"VARCHAR","len":"32","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","refDict":"06EED564-BBA9-4747-8D73-AF809A330CB8","uiHint":"","id":"F458E86D-84D6-45A1-9DD3-51E6C8170D7F","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"MARITAL","defName":"婚姻状况","comment":"","type":"VARCHAR","len":"32","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","refDict":"EA1587B7-3954-437A-BFE0-FCB0453BCABA","uiHint":"","id":"7275E578-6893-4922-AC69-95B261BFBD61","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"DOMICILE_PLACE_PROVINCE","defName":"籍贯(省)","comment":"","type":"VARCHAR","len":"60","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","refDict":"","uiHint":"","id":"F04BF130-3EC1-4E02-9DED-3214CA88E352","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"DOMICILE_PLACE_CITY","defName":"籍贯(市)","comment":"","type":"VARCHAR","len":"32","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"73FD2BAD-2358-4336-B96D-45DC897BD792","refDict":"","uiHint":"","id":"B97F5BC2-33DE-4857-9DB8-ECFD02C9040C","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"},{"defKey":"DOMICILE_PLACE_ADDRESS","defName":"户籍地址","comment":"","type":"VARCHAR","len":"60","scale":"","primaryKey":false,"notNull":false,"autoIncrement":false,"defaultValue":"","hideInGraph":false,"domain":"9092C4E0-1A54-4859-ABBB-5B62DBC27573","refDict":"","uiHint":"","id":"812ADF1D-8C03-40CA-B030-E539838FB889","baseType":"FC9790A7-36B8-4A48-8F9A-BC1042BCFE64"}],"id":"F30202B9-4B5D-4CE7-87CE-B3890C84D3F2"}],"dbConn":[{"defKey":"44923143-8F96-4E7A-8536-C3C2C49A10F0","defName":"122.51.230.86","type":"29D1CE08-4C35-4D2D-AAA9-23D93305B52E","properties":{"driver_class_name":"com.mysql.cj.jdbc.Driver","url":"jdbc:mysql://122.51.230.86:3306/lanan_platform_dev?characterEncoding=UTF-8&useSSL=false&useUnicode=true&serverTimezone=UTC","password":"lighting@2024","username":"lanan_dev"}}],"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<fields.length;i++){\n let field = fields[i];\n if(field.primaryKey){\n return field.autoIncrement && (field.dbType.toUpperCase()==\"INT\"||field.dbType==\"BIGINT\");\n }\n}\nreturn false;","enable":true},{"id":"0B2F0BD2-3B84-4AB1-BA29-9DE9620AF608","defName":"必须有数据的创建时间以及创建人字段","intro":"","controlIntensity":"S","applyObjectType":"P","applyFieldType":"entity","programCode":"let count = 0;\nlet fields = data.entity.fields;\nfor(let i=0;i<fields.length;i++){\n let field = fields[i];\n if(\"created_time,updated_time\".indexOf(field.defKey.toLowerCase())>=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<relas.length;i++){\n let rela = relas[i];\n if(data.field.defKey==rela.myField&&rela.myRows==\"n\"){\n if(rela.myField==(rela.refEntity+\"_\"+rela.refField)){\n return true;\n }else{\n return false;\n }\n }\n}\nreturn true;","enable":true},{"id":"D330BCC3-DBAB-4677-8C5A-A301003A5878","defName":"时间字段类型尽量选取 timestamp","intro":"","controlIntensity":"S","applyObjectType":"P","applyFieldType":"field","programCode":"if(data.field.defName.lastIndexOf(\"日期\")>=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}]}