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 | 144 +++++++++++++++++++++++++----------------------
1 files changed, 77 insertions(+), 67 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 b3bb4f7..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,38 +1,50 @@
{
- "templateName":"宸℃浠诲姟",
- "templateCode":"inspectionTask",
- "templateKey":"taskId",
- "templateKeyName":"浠诲姟缂栫爜",
- "searchCode": "taskId",
- "searchName": "浠诲姟缂栫爜",
+ "templateName":"鏃ц揣",
+ "templateCode":"junkRequirement",
+ "templateKey":"junkRequirementId",
+ "templateKeyName":"鏃ц揣缂栫爜",
+ "searchCode": "junkRequirementId",
+ "searchName": "鏃ц揣缂栫爜",
"conditions": [
{
- "name": "鎵ц浜�",
- "inputType": "input",
- "code": "planUserName",
+ "name": "绫诲埆",
+ "inputType": "select",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "code": "classification",
"whereCondition": "equal"
},
{
- "name": "宸℃璁″垝",
+ "name": "鍙戝竷浜�",
"inputType": "input",
- "code": "inspectionPlanId",
+ "code": "publishUserName",
"whereCondition": "equal"
},
{
- "name": "宸℃鏃堕棿",
+ "name": "鐘舵��",
+ "inputType": "select",
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
+ "code": "publishUserLink",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "鍙戝竷鐢佃瘽",
"inputType": "input",
- "code": "actInsTime",
+ "code": "publishUserLink",
"whereCondition": "equal"
}
],
"columns":[
{
- "code":"taskId",
- "cnCode":"浠诲姟缂栫爜",
- "desc":"蹇呭~锛岃閫夋嫨浠诲姟缂栫爜",
+ "code":"classification",
+ "cnCode":"绫诲埆",
+ "desc":"蹇呭~锛岃閫夋嫨绫诲埆",
"required":true,
"hasDefaultValue":false,
- "inputType": "input",
+ "inputType": "select",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
"limit":"num",
"limitParam":"",
"limitErrInfo":"浠诲姟缂栫爜鏍煎紡閿欒",
@@ -51,67 +63,65 @@
"show": true
},
{
- "code":"planInsTime",
- "cnCode":"宸℃鏃堕棿",
- "desc":"蹇呭~锛岃閫夋嫨璐圭敤鏍囪瘑",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "select",
- "selectValue":"1003006,2006012",
- "selectValueName":"鍛ㄦ湡鎬ц垂鐢�,涓�娆℃�ц垂鐢�",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"璐圭敤绫诲瀷鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "actInsTime",
- "cnCode":"瀹為檯宸℃鏃堕棿",
- "desc":"蹇呭~锛岃閫夋嫨璁¤垂璧峰鏃堕棿",
+ "code":"context",
+ "cnCode":"鍐呭",
+ "desc":"蹇呭~锛岃閫夋嫨鍐呭",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
- "limit":"dateTime",
- "limitParam":"",
- "limitErrInfo":"璁¤垂璧峰鏃堕棿涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
- "show": true
- },
- {
- "code": "planUserName",
- "cnCode":"宸℃浜�",
- "desc":"蹇呭~锛岃閫夋嫨璁¤垂缁堟鏃堕棿",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"dateTime",
- "limitParam":"",
- "limitErrInfo":"璁¤垂缁堟鏃堕棿涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
- "show": true
- },
- {
- "code":"actUserName",
- "cnCode":"瀹為檯宸℃浜�",
- "desc":"蹇呭~锛岃濉啓闄勫姞璐圭敤",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "select",
- "selectValue":"1001,2002",
- "selectValueName":"闈㈢Н*鍗曚环+闄勫姞璐�,鍥哄畾璐圭敤",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"璁$畻鍏紡鏍煎紡閿欒",
+ "limit":"maxLength",
+ "limitParam":"200",
+ "limitErrInfo":"鍐呭涓嶈兘瓒呰繃200涓瓧绗�",
"show": false
},
{
- "code":"signType",
- "cnCode":"宸℃鏂瑰紡",
- "desc":"蹇呭~锛岃濉啓璁¤垂鍗曚环",
+ "code": "referencePrice",
+ "cnCode":"鍙傝�冧环鏍�",
+ "desc":"蹇呭~锛岃濉啓鍙傝�冧环鏍�",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
"limit":"money",
"limitParam":"",
- "limitErrInfo":"璁¤垂鍗曚环鏍煎紡閿欒",
+ "limitErrInfo":"鍙傝�冧环鏍兼牸寮忛敊璇�",
+ "show": true
+ },
+ {
+ "code": "publishUserName",
+ "cnCode":"鍙戝竷浜�",
+ "desc":"蹇呭~锛屽彂甯冧汉涓嶈兘涓虹┖",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"maxLength",
+ "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
}
]
--
Gitblit v1.8.0