java110
2020-03-29 e52452de27673c6d794fc2d8ae96f33abc25dc0c
java110-code-generator/src/main/resources/web/template_1.json
@@ -1,56 +1,136 @@
{
  "templateName":"公告",
  "templateCode":"notice",
  "templateKey":"noticeId",
  "templateKeyName":"公告ID",
  "templateName":"费用项",
  "templateCode":"feeConfig",
  "templateKey":"configId",
  "templateKeyName":"费用项ID",
  "searchCode": "feeName",
  "searchName": "费用项目",
  "conditions": [
    {
      "name": "费用标识",
      "inputType": "select",
      "selectValue":"1003006,2006012",
      "selectValueName":"周期性费用,一次性费用",
      "code": "feeFlag",
      "whereCondition": "equal"
    },
    {
      "name": "费用项目",
      "inputType": "input",
      "code": "feeName",
      "whereCondition": "equal"
    },
    {
      "name": "费用类型",
      "inputType": "select",
      "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
      "selectValueName":"物业费,地上出售车位费,地下出售车位费,地上出租车位费,地下出租车位费,临时车费用",
      "code": "feeTypeCd",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code":"title",
      "cnCode":"标题",
      "desc":"必填,请填写标题",
      "code":"feeTypeCd",
      "cnCode":"费用类型",
      "desc":"必填,请选择费用类型",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxin",
      "limitParam":"4,100",
      "limitErrInfo":"小区名称必须在4至100字符之间"
    },
    {
      "code":"noticeTypeCd",
      "cnCode":"公告类型",
      "desc":"必填,请选择公告类型",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"select",
      "selectValue":"1000,1001,1002",
      "selectValueName":"业主通知,员工通知,小区通知",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"公告类型错误"
    },
    {
      "code":"context",
      "cnCode":"公告内容",
      "desc":"必填,请填写公告内容",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"500",
      "limitErrInfo":"公告内容不能超过500个字"
    },
    {
      "code":"startTime",
      "cnCode":"开始时间",
      "desc":"必选,请填写开始时间 2019-01-02",
      "required":true,
      "hasDefaultValue":false,
      "defaultValue":"",
      "inputType":"input",
      "limit":"date",
      "inputType": "select",
      "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
      "selectValueName":"物业费,地上出售车位费,地下出售车位费,地上出租车位费,地下出租车位费,临时车费用",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"开始时间不是有效的日志"
      "limitErrInfo":"费用类型格式错误",
      "show": true
    },
    {
      "code": "feeName",
      "cnCode":"收费项目",
      "desc":"必填,请填写收费项目",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxin",
      "limitParam":"1,100",
      "limitErrInfo":"收费项目不能超过100位",
      "show": true
    },
    {
      "code":"feeFlag",
      "cnCode":"费用标识",
      "desc":"必填,请选择费用标识",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"1003006,2006012",
      "selectValueName":"周期性费用,一次性费用",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"费用类型格式错误",
      "show": true
    },
    {
      "code": "startTime",
      "cnCode":"计费起始时间",
      "desc":"必填,请选择计费起始时间",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "limitParam":"",
      "limitErrInfo":"计费起始时间不是有效的时间格式",
      "show": true
    },
    {
      "code": "endTime",
      "cnCode":"计费终止时间",
      "desc":"必填,请选择计费终止时间",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "limitParam":"",
      "limitErrInfo":"计费终止时间不是有效的时间格式",
      "show": true
    },
    {
      "code":"computingFormula",
      "cnCode":"计算公式",
      "desc":"必填,请填写附加费用",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"1001,2002",
      "selectValueName":"面积*单价+附加费,固定费用",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"计算公式格式错误",
      "show": false
    },
    {
      "code":"squarePrice",
      "cnCode":"计费单价",
      "desc":"必填,请填写计费单价",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"计费单价格式错误",
      "show": true
    },
    {
      "code":"additionalAmount",
      "cnCode":"附加费用",
      "desc":"必填,请填写附加费用",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"附加费用格式错误",
      "show": true
    }
  ]
}