old mode 100644
new mode 100755
| | |
| | | { |
| | | "templateName": "信息大类", |
| | | "directories": "property", |
| | | "templateCode": "activitiesType", |
| | | "templateKey": "typeCd", |
| | | "templateKeyName": "大类编码", |
| | | "searchCode": "typeCd", |
| | | "searchName": "大类编码", |
| | | "conditions": [ |
| | | { |
| | | "name": "大类编码", |
| | | "inputType": "input", |
| | | "code": "typeCd", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "大类名称", |
| | | "inputType": "input", |
| | | "code": "typeName", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "是否显示", |
| | | "inputType": "select", |
| | | "selectValue":"Y,N", |
| | | "selectValueName":"是,否", |
| | | "code": "defalutShow", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "templateKeyName": "商家购买记录表ID", |
| | | "templateName": "商家购买记录表", |
| | | "columns": [ |
| | | { |
| | | "code": "typeName", |
| | | "cnCode": "大类名称", |
| | | "desc": "必填,请填写大类名称", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limitParam": "30", |
| | | "code": "detailId", |
| | | "limitErrInfo": "记录ID不能超过30", |
| | | "cnCode": "记录ID", |
| | | "limit": "maxLength", |
| | | "limitParam": "100", |
| | | "limitErrInfo": "大类名称超过100位", |
| | | "show": true |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,记录ID" |
| | | }, |
| | | { |
| | | "code": "typeDesc", |
| | | "cnCode": "大类描述", |
| | | "desc": "可填,请填写类型描述", |
| | | "required": false, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limitParam": "30", |
| | | "code": "poolId", |
| | | "limitErrInfo": "优惠券不能超过30", |
| | | "cnCode": "优惠券", |
| | | "limit": "maxLength", |
| | | "limitParam": "500", |
| | | "limitErrInfo": "描述超过500位", |
| | | "show": true |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,优惠券" |
| | | }, |
| | | { |
| | | "code": "seq", |
| | | "cnCode": "显示序号", |
| | | "desc": "必填,请填写显示序号", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "shopId", |
| | | "limitErrInfo": "店铺ID不能超过30", |
| | | "cnCode": "店铺ID", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "limit": "num", |
| | | "limitParam": "", |
| | | "limitErrInfo": "显示序号不是有效数字", |
| | | "show": true |
| | | "required": true, |
| | | "desc": "必填,店铺ID" |
| | | }, |
| | | { |
| | | "code": "defalutShow", |
| | | "cnCode": "是否显示", |
| | | "desc": "必填,请填写是否显示", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "select", |
| | | "selectValue": "Y,N", |
| | | "selectValueName": "是,否", |
| | | "limitParam": "64", |
| | | "code": "couponName", |
| | | "limitErrInfo": "优惠券名称不能超过64", |
| | | "cnCode": "优惠券名称", |
| | | "limit": "maxLength", |
| | | "limitParam": "2", |
| | | "limitErrInfo": "是否显示格式错误", |
| | | "show": true |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,优惠券名称" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "actualPrice", |
| | | "limitErrInfo": "面值不能超过10", |
| | | "cnCode": "面值", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,面值" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "buyPrice", |
| | | "limitErrInfo": "购买价格不能超过10", |
| | | "cnCode": "购买价格", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,购买价格" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "10", |
| | | "code": "amount", |
| | | "limitErrInfo": "付款金额不能超过10", |
| | | "cnCode": "付款金额", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,付款金额" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "20", |
| | | "code": "buyCount", |
| | | "limitErrInfo": "购买数量不能超过20", |
| | | "cnCode": "购买数量", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,购买数量" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "20", |
| | | "code": "validityDay", |
| | | "limitErrInfo": "有效期不能超过20", |
| | | "cnCode": "有效期", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,有效期" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "`detail_id`", |
| | | "code": "primary", |
| | | "limitErrInfo": "primary不能超过`detail_id`", |
| | | "cnCode": "primary", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "primary" |
| | | } |
| | | ] |
| | | } |
| | | ], |
| | | "searchName": "商家购买记录表ID", |
| | | "directories": "admin", |
| | | "searchCode": "detailId", |
| | | "templateCode": "couponDetail", |
| | | "conditions": [ |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "poolId", |
| | | "name": "优惠券", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "shopId", |
| | | "name": "店铺ID", |
| | | "inputType": "input" |
| | | }, |
| | | { |
| | | "whereCondition": "equal", |
| | | "code": "validityDay", |
| | | "name": "有效期", |
| | | "inputType": "input" |
| | | } |
| | | ], |
| | | "templateKey": "detailId" |
| | | } |