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 | 108 ++++++++++++++++++++++++++++++++++++------------------
1 files changed, 72 insertions(+), 36 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 5597221..cab1f58
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,58 +1,94 @@
{
- "templateName":"浣嶇疆绠$悊",
- "directories": "property",
- "templateCode":"location",
- "templateKey":"locationId",
- "templateKeyName":"浣嶇疆ID",
- "searchCode": "locationName",
- "searchName": "浣嶇疆鍚嶇О",
+ "templateName":"閲戝竵璁剧疆",
+ "templateCode":"systemGoldSetting",
+ "templateKey":"settingId",
+ "templateKeyName":"璁剧疆ID",
+ "searchCode": "settingId",
+ "searchName": "璁剧疆ID",
+ "directories": "admin",
"conditions": [
{
- "name": "浣嶇疆鍚嶇О",
+ "name": "娲诲姩鏍囬",
"inputType": "input",
- "code": "locationName",
- "whereCondition": "equal"
- },
- {
- "name": "浣嶇疆缂栫爜",
- "inputType": "input",
- "code": "locationId",
- "whereCondition": "equal"
- },
- {
- "name": "浣嶇疆绫诲瀷",
- "inputType": "select",
- "selectValue":"1000,2000,3000",
- "selectValueName":"灏忓尯,鍗曞厓,鎴垮眿",
- "code": "locationType",
+ "code": "title",
"whereCondition": "equal"
}
],
"columns":[
{
- "code":"locationName",
- "cnCode":"浣嶇疆鍚嶇О",
- "desc":"蹇呭~锛岃濉啓浣嶇疆鍚嶇О",
+ "code":"goldName",
+ "cnCode":"鍚嶇О",
+ "desc":"蹇呭~锛岃濉啓鍚嶇О",
"required":true,
"hasDefaultValue":false,
- "inputType": "input",
- "limit":"max",
- "limitParam":"1,100",
- "limitErrInfo":"浣嶇疆鍚嶇О涓嶈兘瓒呰繃100浣�",
+ "inputType":"input",
+ "limit":"maxin",
+ "limitParam":"1,64",
+ "limitErrInfo":"鍚嶇О涓嶈兘瓒呰繃64浣�",
"show": true
},
{
- "code": "locationType",
- "cnCode":"浣嶇疆绫诲瀷",
- "desc":"蹇呭~锛岃濉啓浣嶇疆绫诲瀷",
+ "code": "goldType",
+ "cnCode":"绫诲瀷",
+ "desc":"蹇呭~锛岃閫夋嫨绫诲瀷",
"required":true,
"hasDefaultValue":false,
"inputType": "select",
- "selectValue":"1000,2000,3000",
- "selectValueName":"灏忓尯,鍗曞厓,鎴垮眿",
+ "selectValue":"1001",
+ "selectValueName":"鏅�氶噾甯�",
"limit":"num",
"limitParam":"",
- "limitErrInfo":"浣嶇疆绫诲瀷 鏍煎紡閿欒",
+ "limitErrInfo":"绫诲瀷鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "code": "buyPrice",
+ "cnCode":"璐拱浠锋牸",
+ "desc":"蹇呭~锛岃濉啓璐拱閲戝竵浠锋牸",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"money",
+ "limitParam":"",
+ "limitErrInfo":"璐拱浠锋牸鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "code": "usePrice",
+ "cnCode":"浣跨敤浠锋牸",
+ "desc":"蹇呭~锛岃濉啓浣跨敤浠锋牸",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"money",
+ "limitParam":"",
+ "limitErrInfo":"浣跨敤浠锋牸鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "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":"001,002",
+ "selectValueName":"鍚敤,鍋滅敤",
+ "limit":"maxLength",
+ "limitParam":"12",
+ "limitErrInfo":"鐘舵�佹牸寮忛敊璇�",
"show": true
}
]
--
Gitblit v1.8.0