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 | 222 ++++++++++++++++++++++++-------------------------------
1 files changed, 98 insertions(+), 124 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 4b7c8bc..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,154 +1,128 @@
{
- "templateName":"涓氫富鎶ヤ慨",
- "templateCode":"serviceProvide",
- "templateKey":"id",
- "templateKeyName":"鎻愪緵ID",
- "searchCode": "name",
- "searchName": "鏈嶅姟鍚嶇О",
+ "templateName":"鏃ц揣",
+ "templateCode":"junkRequirement",
+ "templateKey":"junkRequirementId",
+ "templateKeyName":"鏃ц揣缂栫爜",
+ "searchCode": "junkRequirementId",
+ "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": "瀹炵幇鏂瑰紡",
+ "name": "绫诲埆",
"inputType": "select",
- "code": "queryModel",
- "selectValue":"1,3,2",
- "selectValueName":"sql鏂瑰紡,java鏂瑰紡,瀛樺偍杩囩▼鏂瑰紡",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "code": "classification",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "鍙戝竷浜�",
+ "inputType": "input",
+ "code": "publishUserName",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "鐘舵��",
+ "inputType": "select",
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
+ "code": "publishUserLink",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "鍙戝竷鐢佃瘽",
+ "inputType": "input",
+ "code": "publishUserLink",
"whereCondition": "equal"
}
],
"columns":[
{
- "code":"name",
- "cnCode":"鏈嶅姟鍚嶇О",
- "desc":"蹇呭~锛岃濉啓鏈嶅姟鍚嶇О",
+ "code":"classification",
+ "cnCode":"绫诲埆",
+ "desc":"蹇呭~锛岃閫夋嫨绫诲埆",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
+ "inputType": "select",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"浠诲姟缂栫爜鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "code": "inspectionPlanId",
+ "cnCode":"宸℃璁″垝",
+ "desc":"蹇呭~锛岃濉啓鏀惰垂椤圭洰",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
"limit":"maxin",
- "limitParam":"2,50",
- "limitErrInfo":"鏈嶅姟鍚嶇О蹇呴』鍦�2鑷�50瀛楃涔嬮棿",
+ "limitParam":"1,100",
+ "limitErrInfo":"鏀惰垂椤圭洰涓嶈兘瓒呰繃100浣�",
"show": true
},
{
- "code":"serviceCode",
- "cnCode":"鏈嶅姟缂栫爜",
- "desc":"蹇呭~锛岃濉啓鏈嶅姟缂栫爜",
+ "code":"context",
+ "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",
+ "inputType": "input",
"limit":"maxLength",
"limitParam":"200",
- "limitErrInfo":"瀛樺偍杩囩▼涓嶈兘瓒呰繃200",
+ "limitErrInfo":"鍐呭涓嶈兘瓒呰繃200涓瓧绗�",
"show": false
},
{
- "code":"javaScript",
- "cnCode":"java",
- "desc":"鍙~锛岃濉啓java璇彞",
- "required":false,
+ "code": "referencePrice",
+ "cnCode":"鍙傝�冧环鏍�",
+ "desc":"蹇呭~锛岃濉啓鍙傝�冧环鏍�",
+ "required":true,
"hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"textarea",
- "limit":"maxLength",
- "limitParam":"2000",
- "limitErrInfo":"java涓嶈兘瓒呰繃2000",
- "show": false
+ "inputType": "input",
+ "limit":"money",
+ "limitParam":"",
+ "limitErrInfo":"鍙傝�冧环鏍兼牸寮忛敊璇�",
+ "show": true
},
{
- "code":"remark",
- "cnCode":"鎻忚堪",
- "desc":"鍙~锛岃濉啓鎻忚堪",
- "required":false,
+ "code": "publishUserName",
+ "cnCode":"鍙戝竷浜�",
+ "desc":"蹇呭~锛屽彂甯冧汉涓嶈兘涓虹┖",
+ "required":true,
"hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"textarea",
+ "inputType": "input",
"limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"澶囨敞鍐呭涓嶈兘瓒呰繃200",
- "show": false
+ "limitParam":"50",
+ "limitErrInfo":"鍙戝竷浜轰笉鑳借秴杩�50",
+ "show": true
+ },
+ {
+ "code":"publishUserLink",
+ "cnCode":"鑱旂郴鏂瑰紡",
+ "desc":"蹇呭~锛岃濉啓鑱旂郴鏂瑰紡",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"phone",
+ "limitParam":"",
+ "limitErrInfo":"鑱旂郴鏂瑰紡涓嶆槸鏈夋晥鐨勭數璇濇牸寮�",
+ "show": true
+ },
+ {
+ "code":"state",
+ "cnCode":"鐘舵��",
+ "desc":"蹇呭~锛岃濉啓鐘舵��",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "select",
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"鐘舵�佹牸寮忛敊璇�",
+ "show": true
}
]
}
\ No newline at end of file
--
Gitblit v1.8.0