From d23016be1b3c02896fdfb7a57ed2b8aee70fae30 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期日, 26 四月 2020 23:09:49 +0800
Subject: [PATCH] 优化日志级别
---
java110-code-generator/src/main/resources/web/template_1.json | 211 +++++++++++++++++++---------------------------------
1 files changed, 78 insertions(+), 133 deletions(-)
diff --git a/java110-code-generator/src/main/resources/web/template_1.json b/java110-code-generator/src/main/resources/web/template_1.json
index b7187c5..fb8806f 100644
--- a/java110-code-generator/src/main/resources/web/template_1.json
+++ b/java110-code-generator/src/main/resources/web/template_1.json
@@ -1,183 +1,128 @@
{
- "templateName":"鏈嶅姟",
- "templateCode":"service",
- "templateKey":"serviceId",
- "templateKeyName":"鏈嶅姟ID",
- "searchCode": "name",
- "searchName": "鏈嶅姟鍚嶇О",
+ "templateName":"鏃ц揣",
+ "templateCode":"junkRequirement",
+ "templateKey":"junkRequirementId",
+ "templateKeyName":"鏃ц揣缂栫爜",
+ "searchCode": "junkRequirementId",
+ "searchName": "鏃ц揣缂栫爜",
"conditions": [
{
- "name": "搴旂敤鍚嶇О",
- "inputType": "choose",
- "componentName": "chooseApp",
- "code": "appName",
+ "name": "绫诲埆",
+ "inputType": "select",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "code": "classification",
"whereCondition": "equal"
},
{
- "name": "鏈嶅姟鍚嶇О",
+ "name": "鍙戝竷浜�",
"inputType": "input",
- "code": "serviceName",
- "whereCondition": "like"
+ "code": "publishUserName",
+ "whereCondition": "equal"
},
{
- "name": "鏈嶅姟缂栫爜",
- "inputType": "input",
- "code": "serviceCode",
- "whereCondition": "like"
+ "name": "鐘舵��",
+ "inputType": "select",
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
+ "code": "publishUserLink",
+ "whereCondition": "equal"
},
{
- "name": "璋冪敤鍦板潃",
+ "name": "鍙戝竷鐢佃瘽",
"inputType": "input",
- "code": "serviceUrl",
- "whereCondition": "like"
+ "code": "publishUserLink",
+ "whereCondition": "equal"
}
],
"columns":[
{
- "code":"name",
- "cnCode":"鏈嶅姟鍚嶇О",
- "desc":"蹇呭~锛岃濉啓鏈嶅姟鍚嶇О",
+ "code":"classification",
+ "cnCode":"绫诲埆",
+ "desc":"蹇呭~锛岃閫夋嫨绫诲埆",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"鏈嶅姟鍚嶇О涓嶈兘瓒呰繃50",
+ "inputType": "select",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"浠诲姟缂栫爜鏍煎紡閿欒",
"show": true
},
{
- "code":"serviceCode",
- "cnCode":"鏈嶅姟缂栫爜",
- "desc":"蹇呭~锛岃濉啓鏈嶅姟缂栫爜濡� service.saveService",
+ "code": "inspectionPlanId",
+ "cnCode":"宸℃璁″垝",
+ "desc":"蹇呭~锛岃濉啓鏀惰垂椤圭洰",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
+ "inputType": "input",
"limit":"maxin",
- "limitParam":"2,50",
- "limitErrInfo":"鏈嶅姟缂栫爜蹇呴』鍦�2鑷�50瀛楃涔嬮棿",
+ "limitParam":"1,100",
+ "limitErrInfo":"鏀惰垂椤圭洰涓嶈兘瓒呰繃100浣�",
"show": true
},
{
- "code":"businessTypeCd",
- "cnCode":"绉橀挜",
- "desc":"鍙~锛岃濉啓绉橀挜锛屽鏋滃~鍐欎簡闇�瑕佸姞瀵嗕紶杈�",
+ "code":"context",
+ "cnCode":"鍐呭",
+ "desc":"蹇呭~锛岃閫夋嫨鍐呭",
"required":true,
- "hasDefaultValue":true,
- "defaultValue":"API",
- "inputType":"none",
- "limit":"maxin",
- "limitParam":"2,4",
- "limitErrInfo":"涓氬姟绫诲瀷蹇呴』涓篈PI",
- "show": false
- },
-
- {
- "code":"seq",
- "cnCode":"搴忓垪",
- "desc":"蹇呭~锛岃濉啓搴忓垪",
- "required":true,
- "hasDefaultValue":true,
- "defaultValue":"1",
- "inputType":"none",
- "limit":"maxLength",
- "limitParam":"1",
- "limitErrInfo":"搴忓垪鏍煎紡閿欒",
- "show": false
- },
- {
- "code":"messageQueueName",
- "cnCode":"娑堟伅闃熷垪",
- "desc":"鍙~锛岃濉啓娑堟伅闃熷垪锛岃鍗曞湪寮傛璋冪敤鏃朵娇鐢�",
- "required":false,
"hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"娑堟伅闃熷垪涓嶈兘瓒呰繃50",
- "show": true
- },
- {
- "code":"isInstance",
- "cnCode":"鏄惁瀹炰緥",
- "desc":"鍙~锛岃濉啓瀹炰緥 Y 鎴朜",
- "required":true,
- "hasDefaultValue":true,
- "defaultValue":"Y",
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"瀹炰緥涓嶈兘瓒呰繃50",
- "show": false
- }
- ,
-
- {
- "code":"url",
- "cnCode":"璋冪敤鍦板潃",
- "desc":"鍙~锛岃濉啓璋冪敤鍦板潃",
- "required":false,
- "hasDefaultValue":true,
- "defaultValue":"http://order-service/orderApi/service",
- "inputType":"input",
+ "inputType": "input",
"limit":"maxLength",
"limitParam":"200",
- "limitErrInfo":"璋冪敤鍦板潃涓嶈兘瓒呰繃200",
- "show": true
+ "limitErrInfo":"鍐呭涓嶈兘瓒呰繃200涓瓧绗�",
+ "show": false
},
{
- "code":"method",
- "cnCode":"璋冪敤鏂瑰紡",
- "desc":"蹇呭~锛岃濉啓璋冪敤鏂瑰紡",
+ "code": "referencePrice",
+ "cnCode":"鍙傝�冧环鏍�",
+ "desc":"蹇呭~锛岃濉啓鍙傝�冧环鏍�",
"required":true,
"hasDefaultValue":false,
- "inputType":"select",
- "selectValue":"GET,POST",
- "selectValueName":"http get,http post",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"璋冪敤鏂瑰紡涓嶈兘瓒呰繃50",
+ "inputType": "input",
+ "limit":"money",
+ "limitParam":"",
+ "limitErrInfo":"鍙傝�冧环鏍兼牸寮忛敊璇�",
"show": true
},
{
- "code":"timeout",
- "cnCode":"瓒呮椂鏃堕棿",
- "desc":"蹇呭~锛岃濉啓瓒呮椂鏃堕棿",
+ "code": "publishUserName",
+ "cnCode":"鍙戝竷浜�",
+ "desc":"蹇呭~锛屽彂甯冧汉涓嶈兘涓虹┖",
"required":true,
- "hasDefaultValue":true,
- "defaultValue":"60",
- "inputType":"input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"瓒呮椂鏃堕棿蹇呴』涓烘暟瀛�",
- "show": false
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"maxLength",
+ "limitParam":"50",
+ "limitErrInfo":"鍙戝竷浜轰笉鑳借秴杩�50",
+ "show": true
},
{
- "code":"retryCount",
- "cnCode":"閲嶈瘯娆℃暟",
- "desc":"蹇呭~锛岃濉啓閲嶈瘯娆℃暟",
+ "code":"publishUserLink",
+ "cnCode":"鑱旂郴鏂瑰紡",
+ "desc":"蹇呭~锛岃濉啓鑱旂郴鏂瑰紡",
"required":true,
- "hasDefaultValue":true,
- "defaultValue":"3",
- "inputType":"input",
- "limit":"num",
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"phone",
"limitParam":"",
- "limitErrInfo":"閲嶈瘯娆℃暟蹇呴』涓烘暟瀛�",
- "show": false
+ "limitErrInfo":"鑱旂郴鏂瑰紡涓嶆槸鏈夋晥鐨勭數璇濇牸寮�",
+ "show": true
},
{
- "code":"provideAppId",
- "cnCode":"鎻愪緵鏈嶅姟",
- "desc":"蹇呭~锛岃濉啓鎻愪緵鏈嶅姟",
+ "code":"state",
+ "cnCode":"鐘舵��",
+ "desc":"蹇呭~锛岃濉啓鐘舵��",
"required":true,
- "hasDefaultValue":true,
- "defaultValue":"8000418002",
- "inputType":"none",
+ "hasDefaultValue":false,
+ "inputType": "select",
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
"limit":"num",
"limitParam":"",
- "limitErrInfo":"閲嶈瘯娆℃暟蹇呴』涓烘暟瀛�",
- "show": false
+ "limitErrInfo":"鐘舵�佹牸寮忛敊璇�",
+ "show": true
}
- ],
- "sql": ""
+ ]
}
\ No newline at end of file
--
Gitblit v1.8.0