shiyj1101
2021-06-16 4d9237c3abd3fa599ba07159593b014aec006f1d
java110-generator/src/main/resources/web/template_1.json
old mode 100644 new mode 100755
@@ -1,213 +1,85 @@
{
  "templateName":"合同信息",
  "directories": "admin",
  "templateCode":"contract",
  "templateKey":"contractId",
  "templateKeyName":"合同ID",
  "searchCode": "contractId",
  "searchName": "合同ID",
  "templateName":"账户提现",
  "templateCode":"accountWithdrawalApply",
  "templateKey":"applyId",
  "templateKeyName":"提现ID",
  "searchCode": "applyId",
  "searchName": "提现ID",
  "directories": "acct",
  "conditions": [
    {
      "name": "合同名称",
      "name": "申请人名称",
      "inputType": "input",
      "code": "contractName",
      "code": "applyUserName",
      "whereCondition": "equal"
    },
    {
      "name": "合同编号",
      "name": "申请人电话",
      "inputType": "input",
      "code": "contractCode",
      "whereCondition": "equal"
    },
    {
      "name": "合同类型",
      "inputType": "input",
      "code": "contractType",
      "code": "applyUserTel",
      "whereCondition": "equal"
    }
  ],
  "columns":[
    {
      "code": "contractName",
      "cnCode":"合同名称",
      "desc":"必填,请填写合同名称",
      "code":"amount",
      "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":"必填,请选择合同类型",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "select",
      "selectValue":"10001,10002",
      "selectValueName":"小区文化,其他",
      "limit":"num",
      "limitParam":"",
      "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":"必填,请填写甲方联系人",
      "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位",
      "show": true
    },
    {
      "code": "operatorLink",
      "cnCode":"联系电话",
      "desc":"必填,请填写经办人联系电话",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"经办人联系电话格式错误",
      "show": false
    },
    {
      "code": "amount",
      "cnCode":"合同金额",
      "desc":"必填,请填写合同金额",
      "required":false,
      "hasDefaultValue":false,
      "inputType": "input",
      "inputType":"input",
      "limit":"money",
      "limitParam":"",
      "limitErrInfo":"合同金额格式错误,如1.50",
      "limitErrInfo":"提现金额格式错误",
      "show": true
    },
    {
      "code": "startTime",
      "cnCode":"开始时间",
      "desc":"必填,请填写合同开始时间",
      "code": "applyUserId",
      "cnCode":"申请人ID",
      "desc":"必填,请选择类型",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "limit":"num",
      "limitParam":"",
      "limitErrInfo":"合同开始时间格式错误",
      "limitErrInfo":"类型格式错误",
      "show": true
    },
    {
      "code": "endTime",
      "cnCode":"结束时间",
      "desc":"必填,请填写合同结束时间",
      "code": "applyUserName",
      "cnCode":"申请人名称",
      "desc":"必填,请填写申请人名称",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "limitParam":"",
      "limitErrInfo":"合同结束时间格式错误",
      "limit":"maxin",
      "limitParam":"1,20",
      "limitErrInfo":"申请人名称不能超过20位",
      "show": true
    },
    {
      "code": "signingTime",
      "cnCode":"签订时间",
      "desc":"选填,请填写合同签订时间",
      "code": "applyUserTel",
      "cnCode":"申请人电话",
      "desc":"必填,请填写申请人电话",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"dateTime",
      "limit":"phone",
      "limitParam":"",
      "limitErrInfo":"合同签订时间格式错误",
      "show": false
      "limitErrInfo":"申请人电话格式错误",
      "show": true
    },
    {
      "code": "context",
      "cnCode":"申请说明",
      "desc":"请填写申请说明",
      "required":true,
      "hasDefaultValue":false,
      "inputType": "input",
      "limit":"maxLength",
      "limitParam":"500",
      "limitErrInfo":"申请说明不能超过500",
      "show": true
    }
  ]
}