java110
2020-03-29 e52452de27673c6d794fc2d8ae96f33abc25dc0c
java110-code-generator/src/main/resources/web/template_1.json
@@ -1,45 +1,136 @@
{
  "templateName":"楼",
  "templateCode":"floor",
  "templateKey":"floorId",
  "templateKeyName":"楼ID",
  "searchCode": "floorNum",
  "searchName": "楼编号",
  "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":"name",
      "cnCode":"楼名称",
      "desc":"必填,请填写名称,如一号楼",
      "code":"feeTypeCd",
      "cnCode":"费用类型",
      "desc":"必填,请选择费用类型",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"楼名称不能超过50"
      "inputType": "select",
      "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
      "selectValueName":"物业费,地上出售车位费,地下出售车位费,地上出租车位费,地下出租车位费,临时车费用",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"费用类型格式错误",
      "show": true
    },
    {
      "code":"floorNum",
      "cnCode":"楼编号",
      "desc":"必填,请填写楼编号如 C_001",
      "code": "feeName",
      "cnCode":"收费项目",
      "desc":"必填,请填写收费项目",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "inputType": "input",
      "limit":"maxin",
      "limitParam":"1,12",
      "limitErrInfo":"楼编号必须在1至12字符之间"
      "limitParam":"1,100",
      "limitErrInfo":"收费项目不能超过100位",
      "show": true
    },
    {
      "code":"remark",
      "cnCode":"备注",
      "desc":"可填,请填写备注",
      "required":false,
      "code":"feeFlag",
      "cnCode":"费用标识",
      "desc":"必填,请选择费用标识",
      "required":true,
      "hasDefaultValue":false,
      "defaultValue":"",
      "inputType":"textarea",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"备注内容不能超过200"
      "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
    }
  ]
}