From 088cad4fda2eaaf76a12625624702639e8a3a4b7 Mon Sep 17 00:00:00 2001
From: mrzcc <121184950@qq.com>
Date: 星期一, 10 二月 2020 14:53:47 +0800
Subject: [PATCH] 巡检点代码生成器template

---
 java110-code-generator/src/main/resources/web/template_1.json |  190 ++++++++++++++++++++++++-----------------------
 1 files changed, 98 insertions(+), 92 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..b948c91 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,135 @@
 {
-  "templateName":"璁惧",
-  "templateCode":"machine",
-  "templateKey":"machineId",
-  "templateKeyName":"璁惧ID",
-  "searchCode": "machineName",
-  "searchName": "璁惧鍚嶇О",
+  "templateName":"璐圭敤椤�",
+  "templateCode":"feeConfig",
+  "templateKey":"configId",
+  "templateKeyName":"璐圭敤椤笽D",
+  "searchCode": "feeName",
+  "searchName": "璐圭敤椤圭洰",
   "conditions": [
     {
-      "name": "璁惧缂栫爜",
-      "inputType": "input",
-      "code": "machineCode",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "璁惧绫诲瀷",
+      "name": "璐圭敤鏍囪瘑",
       "inputType": "select",
-      "code": "machineTypeCd",
-      "selectValue":"9999,9998",
-      "selectValueName":"閿愮洰闂ㄧ,鍏朵粬",
+      "selectValue":"1003006,2006012",
+      "selectValueName":"鍛ㄦ湡鎬ц垂鐢�,涓�娆℃�ц垂鐢�",
+      "code": "feeFlag",
       "whereCondition": "equal"
     },
     {
-      "name": "璁惧鍚嶇О",
+      "name": "璐圭敤椤圭洰",
       "inputType": "input",
-      "code": "machineName",
+      "code": "feeName",
       "whereCondition": "equal"
     },
     {
-      "name": "璁惧IP",
-      "inputType": "input",
-      "code": "machineIp",
-      "whereCondition": "equal"
-    },
-    {
-      "name": "璁惧MAC",
-      "inputType": "input",
-      "code": "machineMac",
+      "name": "璐圭敤绫诲瀷",
+      "inputType": "select",
+      "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
+      "selectValueName":"鐗╀笟璐�,鍦颁笂鍑哄敭杞︿綅璐�,鍦颁笅鍑哄敭杞︿綅璐�,鍦颁笂鍑虹杞︿綅璐�,鍦颁笅鍑虹杞︿綅璐�,涓存椂杞﹁垂鐢�",
+      "code": "feeTypeCd",
       "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":"feeTypeCd",
+      "cnCode":"璐圭敤绫诲瀷",
+      "desc":"蹇呭~锛岃閫夋嫨璐圭敤绫诲瀷",
       "required":true,
       "hasDefaultValue":false,
       "inputType": "select",
-      "selectValue":"9999,9998",
-      "selectValueName":"閿愮洰闂ㄧ,鍏朵粬",
+      "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
+      "selectValueName":"鐗╀笟璐�,鍦颁笂鍑哄敭杞︿綅璐�,鍦颁笅鍑哄敭杞︿綅璐�,鍦颁笂鍑虹杞︿綅璐�,鍦颁笅鍑虹杞︿綅璐�,涓存椂杞﹁垂鐢�",
       "limit":"num",
       "limitParam":"",
-      "limitErrInfo":"璁惧绫诲瀷鏍煎紡閿欒",
+      "limitErrInfo":"璐圭敤绫诲瀷鏍煎紡閿欒",
       "show": true
     },
     {
-      "code":"authCode",
-      "cnCode":"閴存潈缂栫爜",
-      "desc":"蹇呭~锛岃濉啓閴存潈缂栫爜",
+      "code": "feeName",
+      "cnCode":"鏀惰垂椤圭洰",
+      "desc":"蹇呭~锛岃濉啓鏀惰垂椤圭洰",
       "required":true,
       "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"閴存潈缂栫爜涓嶈兘澶т簬64浣�",
+      "inputType": "input",
+      "limit":"maxin",
+      "limitParam":"1,100",
+      "limitErrInfo":"鏀惰垂椤圭洰涓嶈兘瓒呰繃100浣�",
+      "show": true
+    },
+    {
+      "code":"feeFlag",
+      "cnCode":"璐圭敤鏍囪瘑",
+      "desc":"蹇呭~锛岃閫夋嫨璐圭敤鏍囪瘑",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "select",
+      "selectValue":"1003006,2006012",
+      "selectValueName":"鍛ㄦ湡鎬ц垂鐢�,涓�娆℃�ц垂鐢�",
+      "limit":"num",
+      "limitParam":"",
+      "limitErrInfo":"璐圭敤绫诲瀷鏍煎紡閿欒",
+      "show": true
+    },
+    {
+      "code": "startTime",
+      "cnCode":"璁¤垂璧峰鏃堕棿",
+      "desc":"蹇呭~锛岃閫夋嫨璁¤垂璧峰鏃堕棿",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "input",
+      "limit":"dateTime",
+      "limitParam":"",
+      "limitErrInfo":"璁¤垂璧峰鏃堕棿涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
+      "show": true
+    },
+    {
+      "code": "endTime",
+      "cnCode":"璁¤垂缁堟鏃堕棿",
+      "desc":"蹇呭~锛岃閫夋嫨璁¤垂缁堟鏃堕棿",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "input",
+      "limit":"dateTime",
+      "limitParam":"",
+      "limitErrInfo":"璁¤垂缁堟鏃堕棿涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
+      "show": true
+    },
+    {
+      "code":"computingFormula",
+      "cnCode":"璁$畻鍏紡",
+      "desc":"蹇呭~锛岃濉啓闄勫姞璐圭敤",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType": "select",
+      "selectValue":"1001,2002",
+      "selectValueName":"闈㈢Н*鍗曚环+闄勫姞璐�,鍥哄畾璐圭敤",
+      "limit":"num",
+      "limitParam":"",
+      "limitErrInfo":"璁$畻鍏紡鏍煎紡閿欒",
       "show": false
     },
     {
-      "code":"machineIp",
-      "cnCode":"璁惧IP",
-      "desc":"鍙�夛紝璇峰~鍐欒澶嘔P",
-      "required":false,
+      "code":"squarePrice",
+      "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":"additionalAmount",
+      "cnCode":"闄勫姞璐圭敤",
+      "desc":"蹇呭~锛岃濉啓闄勫姞璐圭敤",
+      "required":true,
       "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"璁惧MAC 鏍煎紡閿欒",
+      "inputType": "input",
+      "limit":"money",
+      "limitParam":"",
+      "limitErrInfo":"闄勫姞璐圭敤鏍煎紡閿欒",
       "show": true
     }
   ]

--
Gitblit v1.8.0