From 43617dc9f5dbd3d59f7206def5d4e22f37a484a7 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 07 四月 2021 21:13:02 +0800
Subject: [PATCH] 加入仓库管理
---
java110-generator/src/main/resources/web/template_1.json | 107 +++++++++++++++++------------------------------------
1 files changed, 34 insertions(+), 73 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index 5c374b5..b2f9605 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,109 +1,70 @@
{
- "templateName": "娲诲姩瑙勫垯",
+ "templateName": "浠撳簱",
"directories": "property",
- "templateCode": "activitiesRule",
- "templateKey": "ruleId",
- "templateKeyName": "瑙勫垯ID",
- "searchCode": "ruleId",
- "searchName": "瑙勫垯ID",
+ "templateCode": "storehouse",
+ "templateKey": "shId",
+ "templateKeyName": "浠撳簱缂栧彿",
+ "searchCode": "shId",
+ "searchName": "浠撳簱缂栧彿",
"conditions": [
{
- "name": "娲诲姩绫诲瀷",
- "inputType": "select",
- "selectValue": "6666",
- "selectValueName": "鏈�缇庡憳宸�",
- "code": "ruleType",
- "whereCondition": "equal"
- },
- {
- "name": "瑙勫垯鍚嶇О",
+ "name": "浠撳簱鍚嶇О",
"inputType": "input",
- "code": "ruleName",
+ "code": "shName",
"whereCondition": "equal"
},
{
- "name": "娲诲姩瀵硅薄",
+ "name": "浠撳簱绫诲瀷",
"inputType": "select",
- "selectValue": "2222,3333,4444",
- "selectValueName": "澶т紬,涓氫富,鍛樺伐",
- "code": "activitiesObj",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
+ "code": "shType",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "浠撳簱缂栧彿",
+ "inputType": "input",
+ "code": "shId",
"whereCondition": "equal"
}
],
"columns": [
{
- "code": "ruleType",
- "cnCode": "娲诲姩绫诲瀷",
- "desc": "蹇呭~锛岃濉啓娲诲姩绫诲瀷",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "select",
- "selectValue": "6666",
- "selectValueName": "鏈�缇庡憳宸�",
- "limit": "num",
- "limitParam": "",
- "limitErrInfo": "娲诲姩绫诲瀷鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "ruleName",
- "cnCode": "瑙勫垯鍚嶇О",
- "desc": "蹇呭~锛岃濉啓瑙勫垯鍚嶇О",
+ "code": "shName",
+ "cnCode": "浠撳簱鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓浠撳簱鍚嶇О",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
- "limitParam": "128",
- "limitErrInfo": "瑙勫垯鍚嶇О澶暱",
+ "limitParam": "64",
+ "limitErrInfo": "浠撳簱鍚嶇О澶暱",
"show": true
},
{
- "code": "startTime",
- "cnCode": "寮�濮嬫椂闂�",
- "desc": "蹇呭~锛岃濉啓寮�濮嬫椂闂�",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "datetime",
- "limitParam": "128",
- "limitErrInfo": "寮�濮嬫椂闂存牸寮忛敊璇�",
- "show": true
- },{
- "code": "endTime",
- "cnCode": "缁撴潫鏃堕棿",
- "desc": "蹇呭~锛岃濉啓缁撴潫鏃堕棿",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "datetime",
- "limitParam": "",
- "limitErrInfo": "缁撴潫鏃堕棿鏍煎紡閿欒",
- "show": true
- },
- {
- "code": "activitiesObj",
- "cnCode": "娲诲姩瀵硅薄",
- "desc": "蹇呭~锛岃閫夋嫨娲诲姩瀵硅薄",
+ "code": "shType",
+ "cnCode": "浠撳簱绫诲瀷",
+ "desc": "蹇呭~锛岃閫夋嫨浠撳簱绫诲瀷",
"required": true,
"hasDefaultValue": false,
"inputType": "select",
- "selectValue": "2222,3333,4444",
- "selectValueName": "澶т紬,涓氫富,鍛樺伐",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
"limit": "num",
"limitParam": "",
- "limitErrInfo": "娲诲姩瀵硅薄鏍煎紡閿欒",
+ "limitErrInfo": "浠撳簱绫诲瀷鏍煎紡閿欒",
"show": true
},
{
- "code": "remark",
- "cnCode": "瑙勫垯璇存槑",
- "desc": "蹇呭~锛岃濉啓瑙勫垯璇存槑",
+ "code": "shDesc",
+ "cnCode": "鎻忚堪",
+ "desc": "蹇呭~锛岃濉啓鎻忚堪",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
- "limitParam": "1024",
- "limitErrInfo": "瑙勫垯璇存槑澶暱",
+ "limitParam": "512",
+ "limitErrInfo": "鎻忚堪澶暱",
"show": true
}
]
--
Gitblit v1.8.0