From 7075a5ae5003387587e9be6ec4edfc0532d43a07 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 06 八月 2021 13:04:55 +0800
Subject: [PATCH] 优化代码

---
 java110-generator/src/main/resources/web/template_1.json |  212 ++++++++++++++++++++++++++--------------------------
 1 files changed, 105 insertions(+), 107 deletions(-)

diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
old mode 100644
new mode 100755
index 203d869..dc6c639
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,128 +1,126 @@
 {
-  "templateName":"鍚堝悓绫诲瀷灞炴��",
-  "directories": "admin",
-  "templateCode":"contractTypeSpec",
-  "templateKey":"specCd",
-  "templateKeyName":"瑙勬牸",
-  "searchCode": "specCd",
-  "searchName": "瑙勬牸",
+  "templateName": "杩旂渷涓婃姤",
+  "templateCode": "reportInfoBackCity",
+  "templateKey": "backId",
+  "templateKeyName": "杩斿洖ID",
+  "searchCode": "backId",
+  "searchName": "杩斿洖ID",
+  "directories": "property",
   "conditions": [
     {
-      "name": "瑙勬牸鍚嶇О",
+      "name": "濮撳悕",
       "inputType": "input",
-      "code": "specName",
+      "code": "name",
       "whereCondition": "equal"
     },
     {
-      "name": "瑙勬牸鏄剧ず",
+      "name": "韬唤璇�",
+      "inputType": "input",
+      "code": "idCard",
+      "whereCondition": "equal"
+    },
+    {
+      "name": "鎵嬫満鍙�",
+      "inputType": "input",
+      "code": "tel",
+      "whereCondition": "equal"
+    },
+    {
+      "name": "鏉ユ簮鍦�",
       "inputType": "select",
-      "selectValue":"Y,N",
-      "selectValueName":"鏄剧ず,涓嶆樉绀�",
-      "code": "specShow",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "瑙勬牸",
-      "inputType": "input",
-      "code": "specCd",
+      "selectValue":"1001,2002",
+      "selectValueName":"鍥藉唴,鍥藉",
+      "code": "source",
       "whereCondition": "equal"
     }
   ],
-  "columns":[
+  "columns": [
     {
-      "code": "specName",
-      "cnCode":"瑙勬牸鍚嶇О",
-      "desc":"蹇呭~锛岃濉啓瑙勬牸鍚嶇О",
-      "required":true,
-      "hasDefaultValue":false,
+      "code": "name",
+      "cnCode": "濮撳悕",
+      "desc": "蹇呭~锛岃濉啓濮撳悕",
+      "required": true,
+      "hasDefaultValue": false,
       "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"瑙勬牸鍚嶇О澶暱",
+      "limit": "maxLength",
+      "limitParam": "64",
+      "limitErrInfo": "濮撳悕瓒呰繃64浣�",
       "show": true
     },
     {
-      "code": "specHoldplace",
-      "cnCode":"璇存槑",
-      "desc":"閫夊~锛岃濉啓璇存槑",
-      "required":false,
-      "hasDefaultValue":false,
+      "code": "idCard",
+      "cnCode": "韬唤璇�",
+      "desc": "蹇呭~锛岃濉啓韬唤璇�",
+      "required": true,
+      "hasDefaultValue": false,
       "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"璇存槑涓嶈兘瓒呰繃500浣�",
+      "limit": "maxLength",
+      "limitParam": "64",
+      "limitErrInfo": "韬唤璇佷笉鑳戒负绌�",
+      "show": true
+    },
+    {
+      "code": "tel",
+      "cnCode": "鎵嬫満鍙�",
+      "desc": "蹇呭~锛岃濉啓鎵嬫満鍙�",
+      "required": true,
+      "hasDefaultValue": false,
+      "inputType": "input",
+      "limit": "phone",
+      "limitParam": "",
+      "limitErrInfo": "鎵嬫満鍙锋牸寮忛敊璇�",
+      "show": true
+    },
+    {
+      "code": "source",
+      "cnCode": "鏉ユ簮鍦�",
+      "desc": "蹇呭~锛岃濉啓鏉ユ簮鍦�",
+      "required": true,
+      "hasDefaultValue": false,
+      "inputType": "select",
+      "selectValue":"1001,2002",
+      "selectValueName":"鍥藉唴,鍥藉",
+      "limit": "num",
+      "limitParam": "",
+      "limitErrInfo": "鏉ユ簮鍦版牸寮忛敊璇�",
+      "show": true
+    },
+    {
+      "code": "sourceCityName",
+      "cnCode": "鍩庡競鍚嶇О",
+      "desc": "蹇呭~锛岃濉啓鍩庡競鍚嶇О",
+      "required": true,
+      "hasDefaultValue": false,
+      "inputType": "input",
+      "limit": "maxLength",
+      "limitParam": "64",
+      "limitErrInfo": "鍩庡競鍚嶇О鏍煎紡閿欒",
+      "show": true
+    },
+    {
+      "code": "backTime",
+      "cnCode": "杩斿洖鏃堕棿",
+      "desc": "蹇呭~锛岃濉啓杩斿洖鏃堕棿",
+      "required": true,
+      "hasDefaultValue": false,
+      "inputType": "input",
+      "limit": "dateTime",
+      "limitParam": "",
+      "limitErrInfo": "杩斿洖鏃堕棿鏍煎紡閿欒",
+      "show": true
+    },
+    {
+      "code": "remark",
+      "cnCode": "澶囨敞",
+      "desc": "鍙~锛岃濉啓澶囨敞",
+      "required": false,
+      "hasDefaultValue": false,
+      "defaultValue": "",
+      "inputType": "input",
+      "limit": "maxLength",
+      "limitParam": "200",
+      "limitErrInfo": "澶囨敞鍐呭涓嶈兘瓒呰繃200",
       "show": false
-    },
-    {
-      "code":"required",
-      "cnCode":"蹇呭~",
-      "desc":"蹇呭~锛岃閫夋嫨鏄惁蹇呭~",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "select",
-      "selectValue":"Y,N",
-      "selectValueName":"鏄�,鍚�",
-      "limit":"",
-      "limitParam":"",
-      "limitErrInfo":"妯℃澘鏍煎紡閿欒",
-      "show": true
-    },
-    {
-      "code":"specShow",
-      "cnCode":"灞曠ず",
-      "desc":"蹇呭~锛岃閫夋嫨鏄惁娣诲姞缂栬緫鏃跺睍绀�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "select",
-      "selectValue":"Y,N",
-      "selectValueName":"鏄�,鍚�",
-      "limit":"",
-      "limitParam":"",
-      "limitErrInfo":"妯℃澘鏍煎紡閿欒",
-      "show": true
-    },
-    {
-      "code":"specValueType",
-      "cnCode":"鍊肩被鍨�",
-      "desc":"蹇呭~锛岃閫夋嫨鍊肩被鍨�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "select",
-      "selectValue":"1001,2002,3003",
-      "selectValueName":"瀛楃涓�,鏁存暟,閲戦",
-      "limit":"num",
-      "limitParam":"",
-      "limitErrInfo":"鍊肩被鍨嬫牸寮忛敊璇�",
-      "show": true
-    },
-    {
-      "code":"specType",
-      "cnCode":"瑙勬牸绫诲瀷",
-      "desc":"蹇呭~锛岃閫夋嫨瑙勬牸绫诲瀷",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "select",
-      "selectValue":"2233,3344",
-      "selectValueName":"input,select",
-      "limit":"num",
-      "limitParam":"",
-      "limitErrInfo":"瑙勬牸绫诲瀷閿欒",
-      "show": true
-    }
-  ,
-    {
-      "code":"listShow",
-      "cnCode":"鏌ヨ鏄剧ず",
-      "desc":"蹇呭~锛岃閫夋嫨鏌ヨ鏄剧ず",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "select",
-      "selectValue":"Y,N",
-      "selectValueName":"鏄�,鍚�",
-      "limit":"",
-      "limitParam":"",
-      "limitErrInfo":"瑙勬牸绫诲瀷閿欒",
-      "show": true
     }
   ]
 }
\ No newline at end of file

--
Gitblit v1.8.0