java110
2022-02-22 225fa712204ccb8953998a0e4cc64ad828399dc3
java110-generator/src/main/resources/web/template_1.json
@@ -1,57 +1,85 @@
{
  "templateName": "版本构建",
  "directories": "admin",
  "templateCode": "appVersionJob",
  "templateKey": "jobId",
  "templateKeyName": "构建ID",
  "searchCode": "jobId",
  "searchName": "构建ID",
  "conditions": [
    {
      "name": "名称",
      "inputType": "input",
      "code": "jobName",
      "whereCondition": "equal"
    },
    {
      "name": "状态",
      "inputType": "select",
      "selectValue":"1001,2002,3003,4004",
      "selectValueName":"未构建,构建中,构建失败,构建成功",
      "code": "state",
      "whereCondition": "equal"
    },
    {
      "name": "构建ID",
      "inputType": "input",
      "code": "jobId",
      "whereCondition": "equal"
    }
  ],
  "templateKeyName": "编号",
  "templateName": "镜像",
  "columns": [
    {
      "code": "jobName",
      "cnCode": "名称",
      "desc": "必填,请填写名称",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limitParam": "64",
      "code": "name",
      "limitErrInfo": "镜像名称不能超过64",
      "cnCode": "镜像名称",
      "limit": "maxLength",
      "limitParam": "128",
      "limitErrInfo": "名称太长",
      "show": true
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,name"
    },
    {
      "code": "jobShell",
      "cnCode": "脚本",
      "desc": "必填,请填写脚本",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limitParam": "12",
      "code": "imagesType",
      "limitErrInfo": "镜像类型不能超过12",
      "cnCode": "镜像类型",
      "limit": "maxLength",
      "limitParam": "1024",
      "limitErrInfo": "脚本错误",
      "show": false
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,imagesType"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "512",
      "code": "typeUrl",
      "limitErrInfo": "类型地址不能超过512",
      "cnCode": "类型地址",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,typeUrl"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "12",
      "code": "imagesFlag",
      "limitErrInfo": "镜像标识不能超过12",
      "cnCode": "镜像标识",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,imagesFlag"
    }
  ]
}
  ],
  "searchName": "编号",
  "directories": "admin",
  "searchCode": "id",
  "templateCode": "businessImages",
  "conditions": [
    {
      "whereCondition": "equal",
      "code": "id",
      "name": "id",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "name",
      "name": "name",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "imagesType",
      "name": "imagesType",
      "inputType": "input"
    },
    {
      "whereCondition": "equal",
      "code": "imagesFlag",
      "name": "imagesFlag",
      "inputType": "input"
    }
  ],
  "templateKey": "id"
}