java110
2021-07-22 3ba9add6156de541c1ee902ba899c6a2ebab9e29
java110-generator/src/main/resources/web/template_1.json
old mode 100644 new mode 100755
@@ -1,212 +1,133 @@
{
  "templateName":"合同信息",
  "directories": "admin",
  "templateCode":"contract",
  "templateKey":"contractId",
  "templateKeyName":"合同ID",
  "searchCode": "contractId",
  "searchName": "合同ID",
  "templateName":"短信配置",
  "templateCode":"smsConfig",
  "templateKey":"smsId",
  "templateKeyName":"短信编号",
  "searchCode": "smsId",
  "searchName": "短信编号",
  "directories": "property",
  "conditions": [
    {
      "name": "合同名称",
      "name": "活动标题",
      "inputType": "input",
      "code": "contractName",
      "whereCondition": "equal"
    },
    {
      "name": "合同编号",
      "inputType": "input",
      "code": "contractCode",
      "whereCondition": "equal"
    },
    {
      "name": "合同类型",
      "inputType": "input",
      "code": "contractType",
      "code": "title",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code": "contractName",
      "cnCode":"合同名称",
      "desc":"必填,请填写合同名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"合同名称不能超过64位",
      "show": true
    },
    {
      "code": "contractCode",
      "cnCode":"合同编号",
      "desc":"选填,请填写合同编号",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"30",
      "limitErrInfo":"合同编号错误",
      "show": true
    },
    {
      "code": "contractType",
      "cnCode":"合同类型",
      "desc":"必填,请选择合同类型",
      "code":"smsType",
      "cnCode":"短信商",
      "desc":"必填,请填写短信商",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"10001,10002",
      "selectValueName":"小区文化,其他",
      "selectValue":"ALI,TECENT",
      "selectValueName":"阿里,腾讯",
      "limit":"maxin",
      "limitParam":"1,20",
      "limitErrInfo":"短信商超长了",
      "show": true
    },
    {
      "code": "smsBusi",
      "cnCode":"短信业务",
      "desc":"必填,请填写短信业务",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"1001,2002",
      "selectValueName":"欠费催缴,工单通知",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"合同类型格式错误",
      "limitErrInfo":"短信业务格式有误",
      "show": true
    },
    {
      "code": "partyA",
      "cnCode":"甲方",
      "desc":"必填,请填写甲方",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"甲方名称太长",
      "show": true
    },
    {
      "code": "partyB",
      "cnCode":"乙方",
      "desc":"必填,请填写乙方",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"乙方名称太长",
      "show": true
    },
    {
      "code": "aContacts",
      "cnCode":"甲方联系人",
      "desc":"必填,请填写甲方联系人",
      "code": "templateCode",
      "cnCode":"短信模板",
      "desc":"必填,请填写短信模板",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"64",
      "limitErrInfo":"甲方联系人长度超过64位",
      "show": false
    },
    {
      "code": "bContacts",
      "cnCode":"乙方联系人",
      "desc":"必填,请填写甲方联系人",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"64",
      "limitErrInfo":"甲方联系人长度超过64位",
      "show": false
    },
    {
      "code": "aLink",
      "cnCode":"甲方联系电话",
      "desc":"必填,请填写甲方联系电话",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"甲方联系电话错误",
      "show": false
    },
    {
      "code": "bLink",
      "cnCode":"乙方联系电话",
      "desc":"必填,请填写乙方联系电话",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"乙方联系电话错误",
      "show": false
    },
    {
      "code": "operator",
      "cnCode":"经办人",
      "desc":"必填,请填写经办人",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"64",
      "limitErrInfo":"经办人超过64位",
      "limitErrInfo":"短信模板超过64位",
      "show": true
    },
    {
      "code": "operatorLink",
      "cnCode":"联系电话",
      "desc":"必填,请填写经办人联系电话",
      "code": "signName",
      "cnCode":"短信签名",
      "desc":"必填,请填写短信签名",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"经办人联系电话格式错误",
      "show": false
      "limit":"maxLength",
      "limitParam":"128",
      "limitErrInfo":"短信签名超过128位",
      "show": true
    },
    {
      "code": "amount",
      "cnCode":"合同金额",
      "desc":"必填,请填写合同金额",
      "code": "accessSecret",
      "cnCode":"短信秘钥",
      "desc":"必填,请填写短信秘钥",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"128",
      "limitErrInfo":"短信秘钥超过128位",
      "show": true
    },
    {
      "code": "accessKeyId",
      "cnCode":"访问KEY",
      "desc":"必填,请填写访问KEY",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"128",
      "limitErrInfo":"访问KEY超过128位",
      "show": true
    },
    {
      "code": "region",
      "cnCode":"区域",
      "desc":"必填,请填写区域",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"64",
      "limitErrInfo":"区域超过64位",
      "show": true
    },
    {
      "code": "logSwitch",
      "cnCode":"日志",
      "desc":"必填,请填写日志",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"ON,OFF",
      "selectValueName":"记录,不记录",
      "limit":"maxLength",
      "limitParam":"20",
      "limitErrInfo":"日志格式有误",
      "show": true
    },
    {
      "code":"remark",
      "cnCode":"备注",
      "desc":"可填,请填写备注",
      "required":false,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"合同金额格式错误,如1.50",
      "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": "signingTime",
      "cnCode":"签订时间",
      "desc":"选填,请填写合同签订时间",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "limitParam":"",
      "limitErrInfo":"合同签订时间格式错误",
      "defaultValue":"",
      "inputType":"input",
      "limit":"maxLength",
      "limitParam":"200",
      "limitErrInfo":"备注内容不能超过200",
      "show": false
    }
  ]