|
|
@@ -0,0 +1,154 @@
|
|
|
+{
|
|
|
+ "templateName":"服务提供",
|
|
|
+ "templateCode":"serviceProvide",
|
|
|
+ "templateKey":"id",
|
|
|
+ "templateKeyName":"提供ID",
|
|
|
+ "searchCode": "name",
|
|
|
+ "searchName": "服务名称",
|
|
|
+ "conditions": [
|
|
|
+
|
|
|
+ {
|
|
|
+ "name": "提供ID",
|
|
|
+ "inputType": "input",
|
|
|
+ "code": "id",
|
|
|
+ "whereCondition": "equal"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "服务编码",
|
|
|
+ "inputType": "input",
|
|
|
+ "code": "serviceCode",
|
|
|
+ "whereCondition": "equal"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "服务名称",
|
|
|
+ "inputType": "input",
|
|
|
+ "code": "name",
|
|
|
+ "whereCondition": "equal"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "实现方式",
|
|
|
+ "inputType": "select",
|
|
|
+ "code": "queryModel",
|
|
|
+ "selectValue":"1,3,2",
|
|
|
+ "selectValueName":"sql方式,java方式,存储过程方式",
|
|
|
+ "whereCondition": "equal"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "columns":[
|
|
|
+ {
|
|
|
+ "code":"name",
|
|
|
+ "cnCode":"服务名称",
|
|
|
+ "desc":"必填,请填写服务名称",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType":"input",
|
|
|
+ "limit":"maxin",
|
|
|
+ "limitParam":"2,50",
|
|
|
+ "limitErrInfo":"服务名称必须在2至50字符之间",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"serviceCode",
|
|
|
+ "cnCode":"服务编码",
|
|
|
+ "desc":"必填,请填写服务编码",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType":"input",
|
|
|
+ "limit":"maxin",
|
|
|
+ "limitParam":"2,50",
|
|
|
+ "limitErrInfo":"服务编码必须在2至50字符之间",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"params",
|
|
|
+ "cnCode":"参数",
|
|
|
+ "desc":"必填,请填写参数",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType":"input",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"500",
|
|
|
+ "limitErrInfo":"参数内容不能超过200",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"queryModel",
|
|
|
+ "cnCode":"实现方式",
|
|
|
+ "desc":"必填,请选择是否显示菜单",
|
|
|
+ "required":true,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "inputType":"select",
|
|
|
+ "selectValue":"1,3,2",
|
|
|
+ "selectValueName":"sql方式,java方式,存储过程方式",
|
|
|
+ "limit":"maxin",
|
|
|
+ "limitParam":"1,12",
|
|
|
+ "limitErrInfo":"实现方式错误",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"sql",
|
|
|
+ "cnCode":"sql",
|
|
|
+ "desc":"可填,请填写sql",
|
|
|
+ "required":false,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "defaultValue":"",
|
|
|
+ "inputType":"textarea",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"2000",
|
|
|
+ "limitErrInfo":"sql不能超过2000",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"template",
|
|
|
+ "cnCode":"输出模板",
|
|
|
+ "desc":"可填,请填写输出模板",
|
|
|
+ "required":false,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "defaultValue":"",
|
|
|
+ "inputType":"textarea",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"2000",
|
|
|
+ "limitErrInfo":"输出模板不能超过2000",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"proc",
|
|
|
+ "cnCode":"存储过程",
|
|
|
+ "desc":"可填,请填写存储过程",
|
|
|
+ "required":false,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "defaultValue":"",
|
|
|
+ "inputType":"textarea",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"200",
|
|
|
+ "limitErrInfo":"存储过程不能超过200",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"javaScript",
|
|
|
+ "cnCode":"java",
|
|
|
+ "desc":"可填,请填写java语句",
|
|
|
+ "required":false,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "defaultValue":"",
|
|
|
+ "inputType":"textarea",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"2000",
|
|
|
+ "limitErrInfo":"java不能超过2000",
|
|
|
+ "show": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "code":"remark",
|
|
|
+ "cnCode":"描述",
|
|
|
+ "desc":"可填,请填写描述",
|
|
|
+ "required":false,
|
|
|
+ "hasDefaultValue":false,
|
|
|
+ "defaultValue":"",
|
|
|
+ "inputType":"textarea",
|
|
|
+ "limit":"maxLength",
|
|
|
+ "limitParam":"200",
|
|
|
+ "limitErrInfo":"备注内容不能超过200",
|
|
|
+ "show": false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+}
|