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 | 96 +++++++++++++++++++++---------------------------
1 files changed, 42 insertions(+), 54 deletions(-)
diff --git a/java110-generator/src/main/resources/web/template_1.json b/java110-generator/src/main/resources/web/template_1.json
index fbcba99..b2f9605 100644
--- a/java110-generator/src/main/resources/web/template_1.json
+++ b/java110-generator/src/main/resources/web/template_1.json
@@ -1,82 +1,70 @@
{
- "templateName": "淇℃伅澶х被",
+ "templateName": "浠撳簱",
"directories": "property",
- "templateCode": "activitiesType",
- "templateKey": "typeCd",
- "templateKeyName": "澶х被缂栫爜",
- "searchCode": "typeCd",
- "searchName": "澶х被缂栫爜",
+ "templateCode": "storehouse",
+ "templateKey": "shId",
+ "templateKeyName": "浠撳簱缂栧彿",
+ "searchCode": "shId",
+ "searchName": "浠撳簱缂栧彿",
"conditions": [
{
- "name": "澶х被缂栫爜",
+ "name": "浠撳簱鍚嶇О",
"inputType": "input",
- "code": "typeCd",
+ "code": "shName",
"whereCondition": "equal"
},
{
- "name": "澶х被鍚嶇О",
- "inputType": "input",
- "code": "typeName",
- "whereCondition": "equal"
- },
- {
- "name": "鏄惁鏄剧ず",
+ "name": "浠撳簱绫诲瀷",
"inputType": "select",
- "selectValue":"Y,N",
- "selectValueName":"鏄�,鍚�",
- "code": "defalutShow",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
+ "code": "shType",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "浠撳簱缂栧彿",
+ "inputType": "input",
+ "code": "shId",
"whereCondition": "equal"
}
],
"columns": [
{
- "code": "typeName",
- "cnCode": "澶х被鍚嶇О",
- "desc": "蹇呭~锛岃濉啓澶х被鍚嶇О",
+ "code": "shName",
+ "cnCode": "浠撳簱鍚嶇О",
+ "desc": "蹇呭~锛岃濉啓浠撳簱鍚嶇О",
"required": true,
"hasDefaultValue": false,
"inputType": "input",
"limit": "maxLength",
- "limitParam": "100",
- "limitErrInfo": "澶х被鍚嶇О瓒呰繃100浣�",
+ "limitParam": "64",
+ "limitErrInfo": "浠撳簱鍚嶇О澶暱",
"show": true
},
{
- "code": "typeDesc",
- "cnCode": "澶х被鎻忚堪",
- "desc": "鍙~锛岃濉啓绫诲瀷鎻忚堪",
- "required": false,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "maxLength",
- "limitParam": "500",
- "limitErrInfo": "鎻忚堪瓒呰繃500浣�",
- "show": true
- },
- {
- "code": "seq",
- "cnCode": "鏄剧ず搴忓彿",
- "desc": "蹇呭~锛岃濉啓鏄剧ず搴忓彿",
- "required": true,
- "hasDefaultValue": false,
- "inputType": "input",
- "limit": "num",
- "limitParam": "",
- "limitErrInfo": "鏄剧ず搴忓彿涓嶆槸鏈夋晥鏁板瓧",
- "show": true
- },
- {
- "code": "defalutShow",
- "cnCode": "鏄惁鏄剧ず",
- "desc": "蹇呭~锛岃濉啓鏄惁鏄剧ず",
+ "code": "shType",
+ "cnCode": "浠撳簱绫诲瀷",
+ "desc": "蹇呭~锛岃閫夋嫨浠撳簱绫诲瀷",
"required": true,
"hasDefaultValue": false,
"inputType": "select",
- "selectValue": "Y,N",
- "selectValueName": "鏄�,鍚�",
+ "selectValue": "2806,2807",
+ "selectValueName": "闆嗗洟浠撳簱,灏忓尯浠撳簱",
+ "limit": "num",
+ "limitParam": "",
+ "limitErrInfo": "浠撳簱绫诲瀷鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "code": "shDesc",
+ "cnCode": "鎻忚堪",
+ "desc": "蹇呭~锛岃濉啓鎻忚堪",
+ "required": true,
+ "hasDefaultValue": false,
+ "inputType": "input",
"limit": "maxLength",
- "limitParam": "2",
- "limitErrInfo": "鏄惁鏄剧ず鏍煎紡閿欒",
+ "limitParam": "512",
+ "limitErrInfo": "鎻忚堪澶暱",
"show": true
}
]
--
Gitblit v1.8.0