java110
2021-11-12 2926d12eb0cc5f4490325fded6d35a91d8d76e77
java110-generator/src/main/resources/web/template_1.json
@@ -1,30 +1,66 @@
{
  "templateKeyName": "组ID",
  "templateName": "报表组",
  "templateKeyName": "组件ID",
  "templateName": "报表组件",
  "columns": [
    {
      "hasDefaultValue": false,
      "limitParam": "128",
      "limitParam": "64",
      "code": "name",
      "limitErrInfo": "组名称不能超过128",
      "cnCode": "组名称",
      "limitErrInfo": "组件名称不能超过64",
      "cnCode": "组件名称",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,组名称"
      "desc": "必填,组件名称"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "512",
      "code": "url",
      "limitErrInfo": "组url不能超过512",
      "cnCode": "组url",
      "limitParam": "12",
      "code": "componentType",
      "limitErrInfo": "组件类型不能超过12",
      "cnCode": "组件类型",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,组url"
      "desc": "必填,组件类型"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "1",
      "code": "queryModel",
      "limitErrInfo": "查询方式不能超过1",
      "cnCode": "查询方式",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,查询方式"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "1024",
      "code": "sql",
      "limitErrInfo": "执行sql不能超过1024",
      "cnCode": "执行sql",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": false,
      "desc": "执行sql"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "1024",
      "code": "javaScript",
      "limitErrInfo": "执行java脚本代码不能超过1024",
      "cnCode": "执行java脚本代码",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": false,
      "desc": "执行java脚本代码"
    },
    {
      "hasDefaultValue": false,
@@ -35,33 +71,33 @@
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "required": false,
      "desc": "描述"
    }
  ],
  "searchName": "组ID",
  "searchName": "组件ID",
  "directories": "dev",
  "searchCode": "groupId",
  "templateCode": "reportCustomGroup",
  "searchCode": "componentId",
  "templateCode": "reportCustomComponent",
  "conditions": [
    {
      "whereCondition": "equal",
      "code": "groupId",
      "name": "组ID",
      "code": "componentId",
      "name": "组件ID",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "name",
      "name": "组名称",
      "name": "组件名称",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "url",
      "name": "组url",
      "code": "componentType",
      "name": "组件类型",
      "inputType": "input"
    }
  ],
  "templateKey": "groupId"
  "templateKey": "componentId"
}