From 2d079ac843ebcb335f2ef7d6952f9700a16fddde Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 05 五月 2021 14:11:00 +0800
Subject: [PATCH] 游湖阿底阿妈
---
java110-generator/src/main/resources/web/template_1.json | 152 +++++++++++++++++++-------------------------------
1 files changed, 57 insertions(+), 95 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 b0ec18a..cab1f58
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,132 +1,94 @@
{
- "templateName":"鎴挎簮",
+ "templateName":"閲戝竵璁剧疆",
+ "templateCode":"systemGoldSetting",
+ "templateKey":"settingId",
+ "templateKeyName":"璁剧疆ID",
+ "searchCode": "settingId",
+ "searchName": "璁剧疆ID",
"directories": "admin",
- "templateCode":"rentingPool",
- "templateKey":"rentingId",
- "templateKeyName":"绉熸埧ID",
- "searchCode": "rentingId",
- "searchName": "绉熸埧ID",
"conditions": [
{
- "name": "绉熸埧鍚嶇О",
+ "name": "娲诲姩鏍囬",
"inputType": "input",
- "code": "rentingTitle",
- "whereCondition": "equal"
- },
- {
- "name": "棰勪粯绫诲瀷",
- "inputType": "select",
- "selectValue":"1001,2002,3003",
- "selectValueName":"鎶间竴浠樹竴,鎶间竴浠樹笁,鎶间竴浠樺叚",
- "code": "paymentType",
- "whereCondition": "equal"
- },
- {
- "name": "涓氫富鍚嶇О",
- "inputType": "input",
- "code": "ownerName",
+ "code": "title",
"whereCondition": "equal"
}
],
"columns":[
{
- "code": "rentingTitle",
- "cnCode":"鍑虹鏍囬",
- "desc":"蹇呭~锛岃濉啓鍑虹鏍囬",
+ "code":"goldName",
+ "cnCode":"鍚嶇О",
+ "desc":"蹇呭~锛岃濉啓鍚嶇О",
"required":true,
"hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"100",
- "limitErrInfo":"鏍囬澶暱 瓒呰繃100浣�",
+ "inputType":"input",
+ "limit":"maxin",
+ "limitParam":"1,64",
+ "limitErrInfo":"鍚嶇О涓嶈兘瓒呰繃64浣�",
"show": true
},
{
- "code": "price",
- "cnCode":"绉熼噾",
- "desc":"蹇呭~锛岃濉啓鍑虹閲�",
+ "code": "goldType",
+ "cnCode":"绫诲瀷",
+ "desc":"蹇呭~锛岃閫夋嫨绫诲瀷",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "select",
+ "selectValue":"1001",
+ "selectValueName":"鏅�氶噾甯�",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"绫诲瀷鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "code": "buyPrice",
+ "cnCode":"璐拱浠锋牸",
+ "desc":"蹇呭~锛岃濉啓璐拱閲戝竵浠锋牸",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
"limit":"money",
"limitParam":"",
- "limitErrInfo":"鏍煎紡閿欒",
+ "limitErrInfo":"璐拱浠锋牸鏍煎紡閿欒",
"show": true
},
{
- "inputType": "select",
- "selectValue":"1001,2002,3003",
- "selectValueName":"鎶间竴浠樹竴,鎶间竴浠樹笁,鎶间竴浠樺叚",
- "code": "paymentType",
- "cnCode":"棰勪粯绫诲瀷",
- "desc":"蹇呭~锛岃濉啓鍊�",
- "required":true,
- "hasDefaultValue":false,
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "checkInDate",
- "cnCode":"鍏ヤ綇鏃堕棿",
- "desc":"蹇呭~锛岃濉啓鍏ヤ綇鏃堕棿",
+ "code": "usePrice",
+ "cnCode":"浣跨敤浠锋牸",
+ "desc":"蹇呭~锛岃濉啓浣跨敤浠锋牸",
"required":true,
"hasDefaultValue":false,
"inputType": "input",
- "limit":"date",
+ "limit":"money",
"limitParam":"",
- "limitErrInfo":"鏍煎紡閿欒",
+ "limitErrInfo":"浣跨敤浠锋牸鏍煎紡閿欒",
"show": true
},
{
- "code":"rentingConfigId",
- "cnCode":"鍑虹閰嶇疆",
- "desc":"蹇呭~锛岃閫夋嫨鍑虹閰嶇疆",
+ "code": "validity",
+ "cnCode":"鏈夋晥鏈�",
+ "desc":"蹇呭~锛岃濉啓鏈夋晥鏈�",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"鏈夋晥鏈熷繀椤讳负鏁存暟",
+ "show": true
+ },
+ {
+ "code": "state",
+ "cnCode":"鐘舵��",
+ "desc":"蹇呭~锛岃閫夋嫨鐘舵��",
"required":true,
"hasDefaultValue":false,
"inputType": "select",
- "selectValue":"1001,2002",
- "selectValueName":"鍑虹閰嶇疆,姣忔湀绉熼噾姣斾緥",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鏄剧ず鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "rentingDesc",
- "cnCode":"澶囨敞",
- "desc":"閫夊~锛岃濉啓绉熷鏀惰垂姣旂巼",
- "required":false,
- "hasDefaultValue":false,
- "inputType": "input",
+ "selectValue":"001,002",
+ "selectValueName":"鍚敤,鍋滅敤",
"limit":"maxLength",
- "limitParam":"500",
- "limitErrInfo":"澶囨敞鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "ownerName",
- "cnCode":"涓氫富鍚嶇О",
- "desc":"蹇呭~锛岃濉啓涓氫富鍚嶇О",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"maxLength",
- "limitParam":"100",
- "limitErrInfo":"涓氫富鍚嶇О澶暱",
- "show": true
- },
- {
- "code": "ownerTel",
- "cnCode":"涓氫富鐢佃瘽",
- "desc":"蹇呭~锛岃濉啓涓氫富鐢佃瘽",
- "required":true,
- "hasDefaultValue":false,
- "inputType": "input",
- "limit":"phone",
- "limitParam":"",
- "limitErrInfo":"涓氫富鐢佃瘽鏍煎紡閿欒",
+ "limitParam":"12",
+ "limitErrInfo":"鐘舵�佹牸寮忛敊璇�",
"show": true
}
]
--
Gitblit v1.8.0