From 59d4ac771099844721d4fe0b2ff6f3ac28162099 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 24 十一月 2021 18:51:28 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 java110-generator/src/main/resources/web/template_1.json |  330 ++++++++++++++++++++++--------------------------------
 1 files changed, 134 insertions(+), 196 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 f247163..dbfd428
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,213 +1,151 @@
 {
-  "templateName":"鍚堝悓淇℃伅",
-  "directories": "admin",
-  "templateCode":"contract",
-  "templateKey":"contractId",
-  "templateKeyName":"鍚堝悓ID",
-  "searchCode": "contractId",
-  "searchName": "鍚堝悓ID",
-  "conditions": [
+  "templateKeyName": "鍟嗗璐拱璁板綍琛↖D",
+  "templateName": "鍟嗗璐拱璁板綍琛�",
+  "columns": [
     {
-      "name": "鍚堝悓鍚嶇О",
+      "hasDefaultValue": false,
+      "limitParam": "30",
+      "code": "detailId",
+      "limitErrInfo": "璁板綍ID涓嶈兘瓒呰繃30",
+      "cnCode": "璁板綍ID",
+      "limit": "maxLength",
+      "show": true,
       "inputType": "input",
-      "code": "contractName",
-      "whereCondition": "equal"
+      "required": true,
+      "desc": "蹇呭~锛岃褰旾D"
     },
     {
-      "name": "鍚堝悓缂栧彿",
+      "hasDefaultValue": false,
+      "limitParam": "30",
+      "code": "poolId",
+      "limitErrInfo": "浼樻儬鍒镐笉鑳借秴杩�30",
+      "cnCode": "浼樻儬鍒�",
+      "limit": "maxLength",
+      "show": true,
       "inputType": "input",
-      "code": "contractCode",
-      "whereCondition": "equal"
+      "required": true,
+      "desc": "蹇呭~锛屼紭鎯犲埜"
     },
     {
-      "name": "鍚堝悓绫诲瀷",
+      "hasDefaultValue": false,
+      "limitParam": "30",
+      "code": "shopId",
+      "limitErrInfo": "搴楅摵ID涓嶈兘瓒呰繃30",
+      "cnCode": "搴楅摵ID",
+      "limit": "maxLength",
+      "show": true,
       "inputType": "input",
-      "code": "contractType",
-      "whereCondition": "equal"
+      "required": true,
+      "desc": "蹇呭~锛屽簵閾篒D"
+    },
+    {
+      "hasDefaultValue": false,
+      "limitParam": "64",
+      "code": "couponName",
+      "limitErrInfo": "浼樻儬鍒稿悕绉颁笉鑳借秴杩�64",
+      "cnCode": "浼樻儬鍒稿悕绉�",
+      "limit": "maxLength",
+      "show": true,
+      "inputType": "input",
+      "required": true,
+      "desc": "蹇呭~锛屼紭鎯犲埜鍚嶇О"
+    },
+    {
+      "hasDefaultValue": false,
+      "limitParam": "10",
+      "code": "actualPrice",
+      "limitErrInfo": "闈㈠�间笉鑳借秴杩�10",
+      "cnCode": "闈㈠��",
+      "limit": "maxLength",
+      "show": true,
+      "inputType": "input",
+      "required": true,
+      "desc": "蹇呭~锛岄潰鍊�"
+    },
+    {
+      "hasDefaultValue": false,
+      "limitParam": "10",
+      "code": "buyPrice",
+      "limitErrInfo": "璐拱浠锋牸涓嶈兘瓒呰繃10",
+      "cnCode": "璐拱浠锋牸",
+      "limit": "maxLength",
+      "show": true,
+      "inputType": "input",
+      "required": true,
+      "desc": "蹇呭~锛岃喘涔颁环鏍�"
+    },
+    {
+      "hasDefaultValue": false,
+      "limitParam": "10",
+      "code": "amount",
+      "limitErrInfo": "浠樻閲戦涓嶈兘瓒呰繃10",
+      "cnCode": "浠樻閲戦",
+      "limit": "maxLength",
+      "show": true,
+      "inputType": "input",
+      "required": true,
+      "desc": "蹇呭~锛屼粯娆鹃噾棰�"
+    },
+    {
+      "hasDefaultValue": false,
+      "limitParam": "20",
+      "code": "buyCount",
+      "limitErrInfo": "璐拱鏁伴噺涓嶈兘瓒呰繃20",
+      "cnCode": "璐拱鏁伴噺",
+      "limit": "maxLength",
+      "show": true,
+      "inputType": "input",
+      "required": true,
+      "desc": "蹇呭~锛岃喘涔版暟閲�"
+    },
+    {
+      "hasDefaultValue": false,
+      "limitParam": "20",
+      "code": "validityDay",
+      "limitErrInfo": "鏈夋晥鏈熶笉鑳借秴杩�20",
+      "cnCode": "鏈夋晥鏈�",
+      "limit": "maxLength",
+      "show": true,
+      "inputType": "input",
+      "required": true,
+      "desc": "蹇呭~锛屾湁鏁堟湡"
+    },
+    {
+      "hasDefaultValue": false,
+      "limitParam": "`detail_id`",
+      "code": "primary",
+      "limitErrInfo": "primary涓嶈兘瓒呰繃`detail_id`",
+      "cnCode": "primary",
+      "limit": "maxLength",
+      "show": true,
+      "inputType": "input",
+      "required": true,
+      "desc": "primary"
     }
   ],
-  "columns":[
+  "searchName": "鍟嗗璐拱璁板綍琛↖D",
+  "directories": "admin",
+  "searchCode": "detailId",
+  "templateCode": "couponDetail",
+  "conditions": [
     {
-      "code": "contractName",
-      "cnCode":"鍚堝悓鍚嶇О",
-      "desc":"蹇呭~锛岃濉啓鍚堝悓鍚嶇О",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"鍚堝悓鍚嶇О涓嶈兘瓒呰繃64浣�",
-      "show": true
+      "whereCondition": "equal",
+      "code": "poolId",
+      "name": "浼樻儬鍒�",
+      "inputType": "input"
     },
     {
-      "code": "contractCode",
-      "cnCode":"鍚堝悓缂栧彿",
-      "desc":"閫夊~锛岃濉啓鍚堝悓缂栧彿",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"30",
-      "limitErrInfo":"鍚堝悓缂栧彿閿欒",
-      "show": true
+      "whereCondition": "equal",
+      "code": "shopId",
+      "name": "搴楅摵ID",
+      "inputType": "input"
     },
     {
-      "code": "contractType",
-      "cnCode":"鍚堝悓绫诲瀷",
-      "desc":"蹇呭~锛岃閫夋嫨鍚堝悓绫诲瀷",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "select",
-      "selectValue":"10001,10002",
-      "selectValueName":"灏忓尯鏂囧寲,鍏朵粬",
-      "limit":"num",
-      "limitParam":"",
-      "limitErrInfo":"鍚堝悓绫诲瀷鏍煎紡閿欒",
-      "show": true
-    },
-    {
-      "code": "partyA",
-      "cnCode":"鐢叉柟",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"鐢叉柟鍚嶇О澶暱",
-      "show": true
-    },
-    {
-      "code": "partyB",
-      "cnCode":"涔欐柟",
-      "desc":"蹇呭~锛岃濉啓涔欐柟",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"200",
-      "limitErrInfo":"涔欐柟鍚嶇О澶暱",
-      "show": true
-    },
-    {
-      "code": "aContacts",
-      "cnCode":"鐢叉柟鑱旂郴浜�",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴浜�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"鐢叉柟鑱旂郴浜洪暱搴﹁秴杩�64浣�",
-      "show": false
-    },
-    {
-      "code": "bContacts",
-      "cnCode":"涔欐柟鑱旂郴浜�",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴浜�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"鐢叉柟鑱旂郴浜洪暱搴﹁秴杩�64浣�",
-      "show": false
-    },
-    {
-      "code": "aLink",
-      "cnCode":"鐢叉柟鑱旂郴鐢佃瘽",
-      "desc":"蹇呭~锛岃濉啓鐢叉柟鑱旂郴鐢佃瘽",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"phone",
-      "limitParam":"",
-      "limitErrInfo":"鐢叉柟鑱旂郴鐢佃瘽閿欒",
-      "show": false
-    },
-    {
-      "code": "bLink",
-      "cnCode":"涔欐柟鑱旂郴鐢佃瘽",
-      "desc":"蹇呭~锛岃濉啓涔欐柟鑱旂郴鐢佃瘽",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"phone",
-      "limitParam":"",
-      "limitErrInfo":"涔欐柟鑱旂郴鐢佃瘽閿欒",
-      "show": false
-    },
-    {
-      "code": "operator",
-      "cnCode":"缁忓姙浜�",
-      "desc":"蹇呭~锛岃濉啓缁忓姙浜�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"maxLength",
-      "limitParam":"64",
-      "limitErrInfo":"缁忓姙浜鸿秴杩�64浣�",
-      "show": true
-    },
-    {
-      "code": "operatorLink",
-      "cnCode":"鑱旂郴鐢佃瘽",
-      "desc":"蹇呭~锛岃濉啓缁忓姙浜鸿仈绯荤數璇�",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"phone",
-      "limitParam":"",
-      "limitErrInfo":"缁忓姙浜鸿仈绯荤數璇濇牸寮忛敊璇�",
-      "show": false
-    },
-    {
-      "code": "amount",
-      "cnCode":"鍚堝悓閲戦",
-      "desc":"蹇呭~锛岃濉啓鍚堝悓閲戦",
-      "required":false,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"money",
-      "limitParam":"",
-      "limitErrInfo":"鍚堝悓閲戦鏍煎紡閿欒锛屽1.50",
-      "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": "signingTime",
-      "cnCode":"绛捐鏃堕棿",
-      "desc":"閫夊~锛岃濉啓鍚堝悓绛捐鏃堕棿",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType": "input",
-      "limit":"dateTime",
-      "limitParam":"",
-      "limitErrInfo":"鍚堝悓绛捐鏃堕棿鏍煎紡閿欒",
-      "show": false
+      "whereCondition": "equal",
+      "code": "validityDay",
+      "name": "鏈夋晥鏈�",
+      "inputType": "input"
     }
-  ]
-}
\ No newline at end of file
+  ],
+  "templateKey": "detailId"
+}

--
Gitblit v1.8.0