java110
2020-05-16 a9193cfd5ae8d7fa7e0824b5f77e4deb72695dae
java110-code-generator/src/main/resources/web/template_1.json
@@ -1,45 +1,72 @@
{
  "templateName":"楼",
  "templateCode":"floor",
  "templateKey":"floorId",
  "templateKeyName":"楼ID",
  "searchCode": "floorNum",
  "searchName": "楼编号",
  "templateName":"小程序管理",
  "templateCode":"smallWeChat",
  "templateKey":"weChatId",
  "templateKeyName":"编码",
  "searchCode": "name",
  "searchName": "小程序名称",
  "conditions": [
    {
      "name": "小程序名称",
      "inputType": "input",
      "code": "name",
      "whereCondition": "equal"
    },
    {
      "name": "appId",
      "inputType": "input",
      "code": "appId",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code":"name",
      "cnCode":"楼名称",
      "desc":"必填,请填写名称,如一号楼",
      "cnCode":"小程序名称",
      "desc":"必填,请填写小程序名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"楼名称不能超过50"
      "inputType": "input",
      "limit":"max",
      "limitParam":"1,100",
      "limitErrInfo":"小程序名称不能超过100位",
      "show": true
    },
    {
      "code":"floorNum",
      "cnCode":"楼编号",
      "desc":"必填,请填写楼编号如 C_001",
      "code": "appId",
      "cnCode":"appId",
      "desc":"必填,请填写appId",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "inputType": "input",
      "limit":"maxin",
      "limitParam":"1,12",
      "limitErrInfo":"楼编号必须在1至12字符之间"
      "limitParam":"1,100",
      "limitErrInfo":"appId不能超过100位",
      "show": true
    },
    {
      "code":"remark",
      "cnCode":"备注",
      "desc":"可填,请填写备注",
      "required":false,
      "code":"appSecret",
      "cnCode":"应用密钥",
      "desc":"必填,请填写应用密钥",
      "required":true,
      "hasDefaultValue":false,
      "defaultValue":"",
      "inputType":"textarea",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"备注内容不能超过200"
      "inputType": "input",
      "limit":"maxin",
      "limitParam":"1,200",
      "limitErrInfo":"应用密钥不能超过200个字符",
      "show": true
    },
    {
      "code": "payPassword",
      "cnCode":"支付密码",
      "desc":"必填,请填写支付密码",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxin",
      "limitParam":"1,200",
      "limitErrInfo":"支付密码不能超过200个字符",
      "show": true
    }
  ]
}