From eb569d4a08276fd39f6584740eb8656cc2c80314 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 23 一月 2020 22:16:29 +0800
Subject: [PATCH] 加入进场记录
---
java110-code-generator/src/main/resources/web/template_1.json | 204 +++++++++++++++++++--------------------------------
1 files changed, 76 insertions(+), 128 deletions(-)
diff --git a/java110-code-generator/src/main/resources/web/template_1.json b/java110-code-generator/src/main/resources/web/template_1.json
index 31039fd..be378ab 100644
--- a/java110-code-generator/src/main/resources/web/template_1.json
+++ b/java110-code-generator/src/main/resources/web/template_1.json
@@ -1,146 +1,94 @@
{
- "templateName":"鏈嶅姟",
- "templateCode":"service",
- "templateKey":"serviceId",
- "templateKeyName":"鏈嶅姟ID",
+ "templateName":"杞﹁締杩涘満",
+ "templateCode":"carInout",
+ "templateKey":"inoutId",
+ "templateKeyName":"杩涘嚭鍦篒D",
+ "searchCode": "carNum",
+ "searchName": "杞︾墝鍙�",
+ "conditions": [
+ {
+ "name": "杞﹁締鐘舵��",
+ "inputType": "select",
+ "selectValue":"100300,100400,100500,100600",
+ "selectValueName":"杩涘満鐘舵��,鏀粯瀹屾垚,绂诲満鐘舵��,瓒呮椂閲嶆柊鏀粯",
+ "code": "state",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "杞︾墝鍙�",
+ "inputType": "input",
+ "code": "carNum",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "杩涘嚭鍦篒D",
+ "inputType": "input",
+ "code": "inoutId",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "杩涘満寮�濮嬫椂闂�",
+ "inputType": "input",
+ "code": "startTime",
+ "whereCondition": "equal"
+ },
+ {
+ "name": "杩涘満缁撴潫鏃堕棿",
+ "inputType": "input",
+ "code": "endTime",
+ "whereCondition": "equal"
+ }
+ ],
"columns":[
{
- "code":"name",
- "cnCode":"鏈嶅姟鍚嶇О",
- "desc":"蹇呭~锛岃濉啓鏈嶅姟鍚嶇О",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"鏈嶅姟鍚嶇О涓嶈兘瓒呰繃50"
- },
- {
- "code":"serviceCode",
- "cnCode":"鏈嶅姟缂栫爜",
- "desc":"蹇呭~锛岃濉啓鏈嶅姟缂栫爜濡� service.saveService",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxin",
- "limitParam":"2,50",
- "limitErrInfo":"鏈嶅姟缂栫爜蹇呴』鍦�2鑷�50瀛楃涔嬮棿"
- },
- {
- "code":"businessTypeCd",
- "cnCode":"绉橀挜",
- "desc":"鍙~锛岃濉啓绉橀挜锛屽鏋滃~鍐欎簡闇�瑕佸姞瀵嗕紶杈�",
- "required":true,
- "hasDefaultValue":true,
- "defaultValue":"API",
- "inputType":"none",
- "limit":"maxin",
- "limitParam":"2,4",
- "limitErrInfo":"涓氬姟绫诲瀷蹇呴』涓篈PI"
- },
-
- {
- "code":"seq",
- "cnCode":"搴忓垪",
- "desc":"蹇呭~锛岃濉啓搴忓垪",
- "required":true,
- "hasDefaultValue":true,
- "defaultValue":"1",
- "inputType":"none",
- "limit":"maxLength",
- "limitParam":"1",
- "limitErrInfo":"搴忓垪鏍煎紡閿欒"
- },
-
- {
- "code":"messageQueueName",
- "cnCode":"娑堟伅闃熷垪",
- "desc":"鍙~锛岃濉啓娑堟伅闃熷垪锛岃鍗曞湪寮傛璋冪敤鏃朵娇鐢�",
- "required":false,
- "hasDefaultValue":false,
- "defaultValue":"",
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"娑堟伅闃熷垪涓嶈兘瓒呰繃50"
- }
- ,
-
- {
- "code":"isInstance",
- "cnCode":"鏄惁瀹炰緥",
- "desc":"鍙~锛岃濉啓瀹炰緥 Y 鎴朜",
- "required":true,
- "hasDefaultValue":true,
- "defaultValue":"Y",
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"瀹炰緥涓嶈兘瓒呰繃50"
- }
- ,
-
- {
- "code":"url",
- "cnCode":"璋冪敤鍦板潃",
- "desc":"鍙~锛岃濉啓璋冪敤鍦板潃",
- "required":false,
- "hasDefaultValue":true,
- "defaultValue":"http://order-service/orderApi/service",
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"璋冪敤鍦板潃涓嶈兘瓒呰繃200"
- },
- {
- "code":"method",
- "cnCode":"璋冪敤鏂瑰紡",
- "desc":"蹇呭~锛岃濉啓璋冪敤鏂瑰紡",
+ "code":"state",
+ "cnCode":"杞﹁締鐘舵��",
+ "desc":"蹇呭~锛岃濉啓杞﹁締鐘舵��",
"required":true,
"hasDefaultValue":false,
"inputType":"select",
- "selectValue":"GET,POST",
- "selectValueName":"http get,http post",
- "limit":"maxLength",
- "limitParam":"50",
- "limitErrInfo":"璋冪敤鏂瑰紡涓嶈兘瓒呰繃50"
- },
- {
- "code":"timeout",
- "cnCode":"瓒呮椂鏃堕棿",
- "desc":"蹇呭~锛岃濉啓瓒呮椂鏃堕棿",
- "required":true,
- "hasDefaultValue":true,
- "defaultValue":"60",
- "inputType":"input",
+ "selectValue":"1111,2222",
+ "selectValueName":"榛戝悕鍗�,鐧藉悕鍗�",
"limit":"num",
"limitParam":"",
- "limitErrInfo":"瓒呮椂鏃堕棿蹇呴』涓烘暟瀛�"
+ "limitErrInfo":"鍚嶅崟绫诲瀷鏍煎紡閿欒",
+ "show": true
},
{
- "code":"retryCount",
- "cnCode":"閲嶈瘯娆℃暟",
- "desc":"蹇呭~锛岃濉啓閲嶈瘯娆℃暟",
+ "code": "carNum",
+ "cnCode":"杞︾墝鍙�",
+ "desc":"蹇呭~锛岃濉啓杞︾墝鍙�",
"required":true,
- "hasDefaultValue":true,
- "defaultValue":"3",
- "inputType":"input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"閲嶈瘯娆℃暟蹇呴』涓烘暟瀛�"
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"maxin",
+ "limitParam":"1,12",
+ "limitErrInfo":"杞︾墝鍙峰ぇ浜�12浣�",
+ "show": true
},
{
- "code":"provideAppId",
- "cnCode":"鎻愪緵鏈嶅姟",
- "desc":"蹇呭~锛岃濉啓鎻愪緵鏈嶅姟",
+ "code": "inTime",
+ "cnCode":"杩涘満鏃堕棿",
+ "desc":"蹇呭~锛岃閫夋嫨杩涘満鏃堕棿",
"required":true,
- "hasDefaultValue":true,
- "defaultValue":"8000418002",
- "inputType":"none",
- "limit":"num",
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"dateTime",
"limitParam":"",
- "limitErrInfo":"閲嶈瘯娆℃暟蹇呴』涓烘暟瀛�"
+ "limitErrInfo":"涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
+ "show": true
+ },
+ {
+ "code": "outTime",
+ "cnCode":"鍑哄満鏃堕棿",
+ "desc":"蹇呭~锛岃閫夋嫨鍑哄満鏃堕棿",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"dateTime",
+ "limitParam":"",
+ "limitErrInfo":"涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
+ "show": true
}
-
]
}
\ No newline at end of file
--
Gitblit v1.8.0