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 | 170 ++++++++++++++++++++++++++++----------------------------
1 files changed, 84 insertions(+), 86 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 05a6ef3..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,129 +1,127 @@
{
- "templateName":"璁惧",
- "templateCode":"machine",
- "templateKey":"machineId",
- "templateKeyName":"璁惧ID",
- "searchCode": "machineName",
- "searchName": "璁惧鍚嶇О",
+ "templateName":"鏃ц揣",
+ "templateCode":"junkRequirement",
+ "templateKey":"junkRequirementId",
+ "templateKeyName":"鏃ц揣缂栫爜",
+ "searchCode": "junkRequirementId",
+ "searchName": "鏃ц揣缂栫爜",
"conditions": [
{
- "name": "璁惧缂栫爜",
- "inputType": "input",
- "code": "machineCode",
- "whereCondition": "equal"
- },
- {
- "name": "璁惧绫诲瀷",
+ "name": "绫诲埆",
"inputType": "select",
- "code": "machineTypeCd",
- "selectValue":"9999,9998",
- "selectValueName":"閿愮洰闂ㄧ,鍏朵粬",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
+ "code": "classification",
"whereCondition": "equal"
},
{
- "name": "璁惧鍚嶇О",
+ "name": "鍙戝竷浜�",
"inputType": "input",
- "code": "machineName",
+ "code": "publishUserName",
"whereCondition": "equal"
},
{
- "name": "璁惧IP",
- "inputType": "input",
- "code": "machineIp",
+ "name": "鐘舵��",
+ "inputType": "select",
+ "selectValue":"12001,13001,14001,15001",
+ "selectValueName":"鏈鏍�,瀹℃牳閫氳繃,瀹℃牳澶辫触,澶勭悊瀹屾垚",
+ "code": "publishUserLink",
"whereCondition": "equal"
},
{
- "name": "璁惧MAC",
+ "name": "鍙戝竷鐢佃瘽",
"inputType": "input",
- "code": "machineMac",
+ "code": "publishUserLink",
"whereCondition": "equal"
}
],
"columns":[
{
- "code":"machineCode",
- "cnCode":"璁惧缂栫爜",
- "desc":"蹇呭~锛岃濉啓璁惧缂栫爜",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxin",
- "limitParam":"1,30",
- "limitErrInfo":"璁惧缂栫爜涓嶈兘瓒呰繃30浣�",
- "show": true
- },
- {
- "code": "machineVersion",
- "cnCode":"鐗堟湰鍙�",
- "desc":"蹇呭~锛岃濉啓璁惧鐗堟湰鍙�",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limitParam":"1,30",
- "limitParam":"",
- "limitErrInfo":"璁惧鐗堟湰鍙蜂笉鑳借秴杩�30浣�",
- "show": true
- },
- {
- "code": "machineName",
- "cnCode":"璁惧鍚嶇О",
- "desc":"蹇呭~锛岃濉啓璁惧鍚嶇О",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limitParam":"1,200",
- "limitParam":"",
- "limitErrInfo":"璁惧鍚嶇О涓嶈兘瓒呰繃200浣�",
- "show": true
- },
- {
- "code":"machineTypeCd",
- "cnCode":"璁惧绫诲瀷",
- "desc":"蹇呭~锛岃閫夋嫨璁惧绫诲瀷",
+ "code":"classification",
+ "cnCode":"绫诲埆",
+ "desc":"蹇呭~锛岃閫夋嫨绫诲埆",
"required":true,
"hasDefaultValue":false,
"inputType": "select",
- "selectValue":"9999,9998",
- "selectValueName":"閿愮洰闂ㄧ,鍏朵粬",
+ "selectValue":"10001,10002",
+ "selectValueName":"瀹跺叿,鐢靛櫒",
"limit":"num",
"limitParam":"",
- "limitErrInfo":"璁惧绫诲瀷鏍煎紡閿欒",
+ "limitErrInfo":"浠诲姟缂栫爜鏍煎紡閿欒",
"show": true
},
{
- "code":"authCode",
- "cnCode":"閴存潈缂栫爜",
- "desc":"蹇呭~锛岃濉啓閴存潈缂栫爜",
+ "code": "inspectionPlanId",
+ "cnCode":"宸℃璁″垝",
+ "desc":"蹇呭~锛岃濉啓鏀惰垂椤圭洰",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
+ "inputType": "input",
+ "limit":"maxin",
+ "limitParam":"1,100",
+ "limitErrInfo":"鏀惰垂椤圭洰涓嶈兘瓒呰繃100浣�",
+ "show": true
+ },
+ {
+ "code":"context",
+ "cnCode":"鍐呭",
+ "desc":"蹇呭~锛岃閫夋嫨鍐呭",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
"limit":"maxLength",
- "limitParam":"64",
- "limitErrInfo":"閴存潈缂栫爜涓嶈兘澶т簬64浣�",
+ "limitParam":"200",
+ "limitErrInfo":"鍐呭涓嶈兘瓒呰繃200涓瓧绗�",
"show": false
},
{
- "code":"machineIp",
- "cnCode":"璁惧IP",
- "desc":"鍙�夛紝璇峰~鍐欒澶嘔P",
- "required":false,
+ "code": "referencePrice",
+ "cnCode":"鍙傝�冧环鏍�",
+ "desc":"蹇呭~锛岃濉啓鍙傝�冧环鏍�",
+ "required":true,
"hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"64",
- "limitErrInfo":"璁惧IP鏍煎紡閿欒",
+ "inputType": "input",
+ "limit":"money",
+ "limitParam":"",
+ "limitErrInfo":"鍙傝�冧环鏍兼牸寮忛敊璇�",
"show": true
},
{
- "code":"machineMac",
- "cnCode":"璁惧MAC",
- "desc":"鍙�夛紝璇峰~鍐欒澶嘙AC",
- "required":false,
+ "code": "publishUserName",
+ "cnCode":"鍙戝竷浜�",
+ "desc":"蹇呭~锛屽彂甯冧汉涓嶈兘涓虹┖",
+ "required":true,
"hasDefaultValue":false,
- "inputType":"input",
+ "inputType": "input",
"limit":"maxLength",
- "limitParam":"64",
- "limitErrInfo":"璁惧MAC 鏍煎紡閿欒",
+ "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