wfy
2021-09-18 0417d31de9980cbc1735daffffb308d050ce35b4
java110-generator/src/main/resources/web/template_1.json
@@ -1,96 +1,68 @@
{
  "templateName": "业务轨迹",
  "templateCode": "businessTableHis",
  "templateKey": "hisId",
  "templateKeyName": "轨迹ID",
  "searchCode": "hisId",
  "searchName": "轨迹ID",
  "directories": "dev",
  "templateName":"收据模板",
  "directories": "property",
  "templateCode":"feePrintPage",
  "templateKey":"pageId",
  "templateKeyName":"收据ID",
  "searchCode": "pageId",
  "searchName": "收据ID",
  "conditions": [
    {
      "name": "动作",
      "inputType": "select",
      "selectValue":"ADD,MOD,DEL",
      "selectValueName":"添加,修改,删除",
      "code": "action",
      "whereCondition": "equal"
      "whereCondition": "equal",
      "code": "pageId",
      "name": "页面ID",
      "inputType": "input"
    },
    {
      "name": "表名",
      "inputType": "input",
      "code": "actionObj",
      "whereCondition": "equal"
      "whereCondition": "equal",
      "code": "pageName",
      "name": "名称",
      "inputType": "input"
    },
    {
      "name": "业务类型",
      "inputType": "input",
      "code": "businessTypeCd",
      "whereCondition": "equal"
      "whereCondition": "equal",
      "code": "state",
      "name": "状态",
      "inputType": "input"
    }
  ],
  "columns": [
    {
      "code": "businessTypeCd",
      "cnCode": "业务类型",
      "desc": "必填,请填写业务类型",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limitParam": "128",
      "code": "pageName",
      "limitErrInfo": "名称不能超过128",
      "cnCode": "名称",
      "limit": "maxLength",
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,名称"
    },
    {
      "hasDefaultValue": false,
      "limitParam": "30",
      "limitErrInfo": "业务类型超过30位",
      "show": true
    },
    {
      "code": "action",
      "cnCode": "动作",
      "desc": "必填,请选择动作",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "select",
      "selectValue":"ADD,MOD,DEL",
      "selectValueName":"添加,修改,删除",
      "code": "communityId",
      "limitErrInfo": "小区ID不能超过30",
      "cnCode": "小区ID",
      "limit": "maxLength",
      "limitParam": "12",
      "limitErrInfo": "动作不能为空",
      "show": true
    },
    {
      "code": "actionObj",
      "cnCode": "表名",
      "desc": "必填,请填写表名",
      "required": true,
      "hasDefaultValue": false,
      "show": true,
      "inputType": "input",
      "limit": "maxLength",
      "limitParam": "64",
      "limitErrInfo": "表名超过64位",
      "show": true
    },
    {
      "code": "actionObjHis",
      "cnCode": "轨迹表名",
      "desc": "必填,请填写轨迹表名",
      "required": true,
      "hasDefaultValue": false,
      "inputType": "input",
      "limit": "maxLength",
      "limitParam": "64",
      "limitErrInfo": "轨迹表名超过64位",
      "show": true
      "desc": "必填,小区ID"
    },
    {
      "code": "remark",
      "cnCode": "备注",
      "desc": "可填,请填写备注",
      "required": false,
      "hasDefaultValue": false,
      "defaultValue": "",
      "inputType": "input",
      "limitParam": "512",
      "code": "pageUrl",
      "limitErrInfo": "收据页面不能超过512",
      "cnCode": "收据页面",
      "limit": "maxLength",
      "limitParam": "200",
      "limitErrInfo": "备注内容不能超过200",
      "show": false
      "show": true,
      "inputType": "input",
      "required": true,
      "desc": "必填,收据页面"
    }
  ]
}
}