java110
2022-02-21 46eed722cd0431aa433bea2470b23015b8d83b3e
java110-generator/src/main/resources/web/template_1.json
@@ -1,103 +1,85 @@
{
  "templateKeyName": "组件ID",
  "templateName": "报表组件",
  "templateKeyName": "编号",
  "templateName": "镜像",
  "columns": [
    {
      "hasDefaultValue": false,
      "limitParam": "64",
      "code": "name",
      "limitErrInfo": "组件名称不能超过64",
      "cnCode": "组件名称",
      "limitErrInfo": "镜像名称不能超过64",
      "cnCode": "镜像名称",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,组件名称"
      "desc": "必填,name"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "12",
      "code": "componentType",
      "limitErrInfo": "组件类型不能超过12",
      "cnCode": "组件类型",
      "code": "imagesType",
      "limitErrInfo": "镜像类型不能超过12",
      "cnCode": "镜像类型",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "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脚本代码"
      "desc": "必填,imagesType"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "512",
      "code": "remark",
      "limitErrInfo": "描述不能超过512",
      "cnCode": "描述",
      "code": "typeUrl",
      "limitErrInfo": "类型地址不能超过512",
      "cnCode": "类型地址",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": false,
      "desc": "描述"
      "required": true,
      "desc": "必填,typeUrl"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "12",
      "code": "imagesFlag",
      "limitErrInfo": "镜像标识不能超过12",
      "cnCode": "镜像标识",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,imagesFlag"
    }
  ],
  "searchName": "组件ID",
  "directories": "dev",
  "searchCode": "componentId",
  "templateCode": "reportCustomComponent",
  "searchName": "编号",
  "directories": "admin",
  "searchCode": "id",
  "templateCode": "businessImages",
  "conditions": [
    {
      "whereCondition": "equal",
      "code": "componentId",
      "name": "组件ID",
      "code": "id",
      "name": "id",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "name",
      "name": "组件名称",
      "name": "name",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "componentType",
      "name": "组件类型",
      "code": "imagesType",
      "name": "imagesType",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "imagesFlag",
      "name": "imagesFlag",
      "inputType": "input"
    }
  ],
  "templateKey": "componentId"
}
  "templateKey": "id"
}