java110
2020-04-25 2646433c86f6ca21839d12b6e43e3b6380438d3d
java110-code-generator/src/main/resources/web/template_1.json
@@ -1,52 +1,58 @@
{
  "templateName":"费用项",
  "templateCode":"feeConfig",
  "templateKey":"configId",
  "templateKeyName":"费用项ID",
  "searchCode": "feeName",
  "searchName": "费用项目",
  "templateName":"旧货",
  "templateCode":"junkRequirement",
  "templateKey":"junkRequirementId",
  "templateKeyName":"旧货编码",
  "searchCode": "junkRequirementId",
  "searchName": "旧货编码",
  "conditions": [
    {
      "name": "费用标识",
      "name": "类别",
      "inputType": "select",
      "selectValue":"1003006,2006012",
      "selectValueName":"周期性费用,一次性费用",
      "code": "feeFlag",
      "selectValue":"10001,10002",
      "selectValueName":"家具,电器",
      "code": "classification",
      "whereCondition": "equal"
    },
    {
      "name": "费用项目",
      "name": "发布人",
      "inputType": "input",
      "code": "feeName",
      "code": "publishUserName",
      "whereCondition": "equal"
    },
    {
      "name": "费用类型",
      "name": "状态",
      "inputType": "select",
      "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
      "selectValueName":"物业费,地上出售车位费,地下出售车位费,地上出租车位费,地下出租车位费,临时车费用",
      "code": "feeTypeCd",
      "selectValue":"12001,13001,14001,15001",
      "selectValueName":"未审核,审核通过,审核失败,处理完成",
      "code": "publishUserLink",
      "whereCondition": "equal"
    },
    {
      "name": "发布电话",
      "inputType": "input",
      "code": "publishUserLink",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code":"feeTypeCd",
      "cnCode":"费用类型",
      "desc":"必填,请选择费用类型",
      "code":"classification",
      "cnCode":"类别",
      "desc":"必填,请选择类别",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
      "selectValueName":"物业费,地上出售车位费,地下出售车位费,地上出租车位费,地下出租车位费,临时车费用",
      "selectValue":"10001,10002",
      "selectValueName":"家具,电器",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"费用类型格式错误",
      "limitErrInfo":"任务编码格式错误",
      "show": true
    },
    {
      "code": "feeName",
      "cnCode":"收费项目",
      "code": "inspectionPlanId",
      "cnCode":"巡检计划",
      "desc":"必填,请填写收费项目",
      "required":true,
      "hasDefaultValue":false,
@@ -57,79 +63,65 @@
      "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":"必填,请选择计费起始时间",
      "code":"context",
      "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":"计算公式格式错误",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"内容不能超过200个字符",
      "show": false
    },
    {
      "code":"squarePrice",
      "cnCode":"计费单价",
      "desc":"必填,请填写计费单价",
      "code": "referencePrice",
      "cnCode":"参考价格",
      "desc":"必填,请填写参考价格",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"计费单价格式错误",
      "limitErrInfo":"参考价格格式错误",
      "show": true
    },
    {
      "code":"additionalAmount",
      "cnCode":"附加费用",
      "desc":"必填,请填写附加费用",
      "code": "publishUserName",
      "cnCode":"发布人",
      "desc":"必填,发布人不能为空",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"money",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"发布人不能超过50",
      "show": true
    },
    {
      "code":"publishUserLink",
      "cnCode":"联系方式",
      "desc":"必填,请填写联系方式",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"附加费用格式错误",
      "limitErrInfo":"联系方式不是有效的电话格式",
      "show": true
    },
    {
      "code":"state",
      "cnCode":"状态",
      "desc":"必填,请填写状态",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"12001,13001,14001,15001",
      "selectValueName":"未审核,审核通过,审核失败,处理完成",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"状态格式错误",
      "show": true
    }
  ]