| | |
| | | { |
| | | "templateName": "业务轨迹", |
| | | "templateCode": "businessTableHis", |
| | | "templateKey": "hisId", |
| | | "templateKeyName": "轨迹ID", |
| | | "searchCode": "hisId", |
| | | "searchName": "轨迹ID", |
| | | "directories": "dev", |
| | | "conditions": [ |
| | | { |
| | | "name": "动作", |
| | | "inputType": "select", |
| | | "selectValue":"ADD,MOD,DEL", |
| | | "selectValueName":"添加,修改,删除", |
| | | "code": "action", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "表名", |
| | | "inputType": "input", |
| | | "code": "actionObj", |
| | | "whereCondition": "equal" |
| | | }, |
| | | { |
| | | "name": "业务类型", |
| | | "inputType": "input", |
| | | "code": "businessTypeCd", |
| | | "whereCondition": "equal" |
| | | } |
| | | ], |
| | | "templateKeyName": "商家购买记录表ID", |
| | | "templateName": "商家购买记录表", |
| | | "columns": [ |
| | | { |
| | | "code": "businessTypeCd", |
| | | "cnCode": "业务类型", |
| | | "desc": "必填,请填写业务类型", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limit": "maxLength", |
| | | "limitParam": "30", |
| | | "limitErrInfo": "业务类型超过30位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "action", |
| | | "cnCode": "动作", |
| | | "desc": "必填,请选择动作", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "select", |
| | | "selectValue":"ADD,MOD,DEL", |
| | | "selectValueName":"添加,修改,删除", |
| | | "code": "detailId", |
| | | "limitErrInfo": "记录ID不能超过30", |
| | | "cnCode": "记录ID", |
| | | "limit": "maxLength", |
| | | "limitParam": "12", |
| | | "limitErrInfo": "动作不能为空", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "actionObj", |
| | | "cnCode": "表名", |
| | | "desc": "必填,请填写表名", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,记录ID" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "poolId", |
| | | "limitErrInfo": "优惠券不能超过30", |
| | | "cnCode": "优惠券", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,优惠券" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "30", |
| | | "code": "shopId", |
| | | "limitErrInfo": "店铺ID不能超过30", |
| | | "cnCode": "店铺ID", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "desc": "必填,店铺ID" |
| | | }, |
| | | { |
| | | "hasDefaultValue": false, |
| | | "limitParam": "64", |
| | | "limitErrInfo": "表名超过64位", |
| | | "show": true |
| | | }, |
| | | { |
| | | "code": "actionObjHis", |
| | | "cnCode": "轨迹表名", |
| | | "desc": "必填,请填写轨迹表名", |
| | | "code": "couponName", |
| | | "limitErrInfo": "优惠券名称不能超过64", |
| | | "cnCode": "优惠券名称", |
| | | "limit": "maxLength", |
| | | "show": true, |
| | | "inputType": "input", |
| | | "required": true, |
| | | "hasDefaultValue": false, |
| | | "inputType": "input", |
| | | "limit": "maxLength", |
| | | "limitParam": "64", |
| | | "limitErrInfo": "轨迹表名超过64位", |
| | | "show": true |
| | | "desc": "必填,优惠券名称" |
| | | }, |
| | | { |
| | | "code": "remark", |
| | | "cnCode": "备注", |
| | | "desc": "可填,请填写备注", |
| | | "required": false, |
| | | "hasDefaultValue": false, |
| | | "defaultValue": "", |
| | | "inputType": "input", |
| | | "limitParam": "10", |
| | | "code": "actualPrice", |
| | | "limitErrInfo": "面值不能超过10", |
| | | "cnCode": "面值", |
| | | "limit": "maxLength", |
| | | "limitParam": "200", |
| | | "limitErrInfo": "备注内容不能超过200", |
| | | "show": false |
| | | "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" |
| | | } |