java110
2020-04-25 2646433c86f6ca21839d12b6e43e3b6380438d3d
java110-code-generator/src/main/resources/web/template_1.json
@@ -1,132 +1,127 @@
{
  "templateName":"审核业主绑定",
  "templateCode":"auditAppUserBindingOwner",
  "templateKey":"appUserId",
  "templateKeyName":"绑定ID",
  "searchCode": "name",
  "searchName": "名称",
  "templateName":"旧货",
  "templateCode":"junkRequirement",
  "templateKey":"junkRequirementId",
  "templateKeyName":"旧货编码",
  "searchCode": "junkRequirementId",
  "searchName": "旧货编码",
  "conditions": [
    {
      "name": "业主名称",
      "inputType": "input",
      "code": "appUserName",
      "name": "类别",
      "inputType": "select",
      "selectValue":"10001,10002",
      "selectValueName":"家具,电器",
      "code": "classification",
      "whereCondition": "equal"
    },
    {
      "name": "业主身份证",
      "name": "发布人",
      "inputType": "input",
      "code": "idCard",
      "code": "publishUserName",
      "whereCondition": "equal"
    },
    {
      "name": "状态",
      "inputType": "input",
      "inputType": "select",
      "selectValue":"10000,12000,13000",
      "selectValueName":"审核中,审核成功,审核失败"
      "selectValue":"12001,13001,14001,15001",
      "selectValueName":"未审核,审核通过,审核失败,处理完成",
      "code": "publishUserLink",
      "whereCondition": "equal"
    },
    {
      "name": "业主手机",
      "name": "发布电话",
      "inputType": "input",
      "code": "link",
      "code": "publishUserLink",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code":"memberId",
      "cnCode":"业主ID",
      "desc":"必填,请填写业主ID",
      "code":"classification",
      "cnCode":"类别",
      "desc":"必填,请选择类别",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "inputType": "select",
      "selectValue":"10001,10002",
      "selectValueName":"家具,电器",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"任务编码格式错误",
      "show": true
    },
    {
      "code": "inspectionPlanId",
      "cnCode":"巡检计划",
      "desc":"必填,请填写收费项目",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxin",
      "limitParam":"1,64",
      "limitErrInfo":"业主ID不能超过64位",
      "limitParam":"1,100",
      "limitErrInfo":"收费项目不能超过100位",
      "show": true
    },
    {
      "code": "communityId",
      "cnCode":"小区ID",
      "desc":"必填,请填写小区ID",
      "code":"context",
      "cnCode":"内容",
      "desc":"必填,请选择内容",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"小区ID格式错误",
      "show": true
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"内容不能超过200个字符",
      "show": false
    },
    {
      "code": "communityName",
      "cnCode":"小区名称",
      "desc":"必填,请填写小区名称",
      "code": "referencePrice",
      "cnCode":"参考价格",
      "desc":"必填,请填写参考价格",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"num",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"小区名称格式错误",
      "limitErrInfo":"参考价格格式错误",
      "show": true
    },
    {
      "code": "appUserName",
      "cnCode":"关联业主",
      "desc":"必填,请填写业主",
      "code": "publishUserName",
      "cnCode":"发布人",
      "desc":"必填,发布人不能为空",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"关联业主格式错误",
      "limit":"maxLength",
      "limitParam":"50",
      "limitErrInfo":"发布人不能超过50",
      "show": true
    },
    {
      "code": "idCard",
      "cnCode":"身份证",
      "desc":"必填,请填写身份证",
      "code":"publishUserLink",
      "cnCode":"联系方式",
      "desc":"必填,请填写联系方式",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"身份证不是有效数字",
      "show": true
    },
    {
      "code":"link",
      "cnCode":"手机号",
      "desc":"必填,请填写手机号",
      "required":true,
      "hasDefaultValue":false,
      "inputType":"input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"手机号不是有效的身份证号",
      "limitErrInfo":"联系方式不是有效的电话格式",
      "show": true
    },
    {
      "code": "state",
      "code":"state",
      "cnCode":"状态",
      "desc":"必填,请填写状态",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "inputType": "select",
      "selectValue":"12001,13001,14001,15001",
      "selectValueName":"未审核,审核通过,审核失败,处理完成",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"不是有效的时间格式",
      "show": true
    },
    {
      "code": "createTime",
      "cnCode":"申请时间",
      "desc":"必填,请选择结束时间",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "limitParam":"",
      "limitErrInfo":"不是有效的时间格式",
      "limitErrInfo":"状态格式错误",
      "show": true
    }
  ]