From 088cad4fda2eaaf76a12625624702639e8a3a4b7 Mon Sep 17 00:00:00 2001
From: mrzcc <121184950@qq.com>
Date: 星期一, 10 二月 2020 14:53:47 +0800
Subject: [PATCH] 巡检点代码生成器template
---
java110-code-generator/src/main/resources/web/template_1.json | 178 +++++++++++++++++++++++++++++------------------------------
1 files changed, 88 insertions(+), 90 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 44afa71..b948c91 100644
--- a/java110-code-generator/src/main/resources/web/template_1.json
+++ b/java110-code-generator/src/main/resources/web/template_1.json
@@ -1,138 +1,136 @@
{
- "templateName":"璁惧",
- "templateCode":"machine",
- "templateKey":"machineId",
- "templateKeyName":"璁惧ID",
- "searchCode": "machineName",
- "searchName": "璁惧鍚嶇О",
+ "templateName":"璐圭敤椤�",
+ "templateCode":"feeConfig",
+ "templateKey":"configId",
+ "templateKeyName":"璐圭敤椤笽D",
+ "searchCode": "feeName",
+ "searchName": "璐圭敤椤圭洰",
"conditions": [
{
- "name": "鎶曡瘔ID",
- "inputType": "input",
- "code": "complaintId",
- "whereCondition": "equal"
- },
- {
- "name": "鎶曡瘔绫诲瀷",
+ "name": "璐圭敤鏍囪瘑",
"inputType": "select",
- "code": "typeCd",
- "selectValue":"809001,809002",
- "selectValueName":"鎶曡瘔,寤鸿",
+ "selectValue":"1003006,2006012",
+ "selectValueName":"鍛ㄦ湡鎬ц垂鐢�,涓�娆℃�ц垂鐢�",
+ "code": "feeFlag",
"whereCondition": "equal"
},
{
- "name": "鎶曡瘔浜�",
+ "name": "璐圭敤椤圭洰",
"inputType": "input",
- "code": "complaintName",
+ "code": "feeName",
"whereCondition": "equal"
},
{
- "name": "鑱旂郴鐢佃瘽",
- "inputType": "input",
- "code": "tel",
- "whereCondition": "equal"
- },
- {
- "name": "鎴垮眿缂栧彿",
- "inputType": "input",
- "code": "roomId",
- "whereCondition": "equal"
- },
- {
- "name": "鎶曡瘔鐘舵��",
+ "name": "璐圭敤绫诲瀷",
"inputType": "select",
- "code": "state",
- "selectValue":"1100,1200",
- "selectValueName":"娲惧崟,缁撳崟",
+ "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
+ "selectValueName":"鐗╀笟璐�,鍦颁笂鍑哄敭杞︿綅璐�,鍦颁笅鍑哄敭杞︿綅璐�,鍦颁笂鍑虹杞︿綅璐�,鍦颁笅鍑虹杞︿綅璐�,涓存椂杞﹁垂鐢�",
+ "code": "feeTypeCd",
"whereCondition": "equal"
}
],
"columns":[
{
- "code":"storeId",
- "cnCode":"鍟嗘埛ID",
- "desc":"蹇呭~锛岃濉啓鍟嗘埛ID",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鍟嗘埛ID蹇呴』涓烘暟瀛�",
- "show": false
- },
- {
- "code": "typeCd",
- "cnCode":"鎶曡瘔绫诲瀷",
- "desc":"蹇呭~锛岃閫夋嫨鎶曡瘔绫诲瀷",
+ "code":"feeTypeCd",
+ "cnCode":"璐圭敤绫诲瀷",
+ "desc":"蹇呭~锛岃閫夋嫨璐圭敤绫诲瀷",
"required":true,
"hasDefaultValue":false,
"inputType": "select",
- "selectValue":"809001,809002",
- "selectValueName":"鎶曡瘔,寤鸿",
+ "selectValue":"888800010001,888800010002,888800010003,888800010004,888800010005,888800010007",
+ "selectValueName":"鐗╀笟璐�,鍦颁笂鍑哄敭杞︿綅璐�,鍦颁笅鍑哄敭杞︿綅璐�,鍦颁笂鍑虹杞︿綅璐�,鍦颁笅鍑虹杞︿綅璐�,涓存椂杞﹁垂鐢�",
"limit":"num",
"limitParam":"",
- "limitErrInfo":"鎶曡瘔绫诲瀷鏍煎紡閿欒",
+ "limitErrInfo":"璐圭敤绫诲瀷鏍煎紡閿欒",
"show": true
},
{
- "code":"roomId",
- "cnCode":"鎴垮眿缂栧彿",
- "desc":"蹇呭~锛岃閫夋嫨鎴垮眿缂栧彿",
+ "code": "feeName",
+ "cnCode":"鏀惰垂椤圭洰",
+ "desc":"蹇呭~锛岃濉啓鏀惰垂椤圭洰",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
- "limit":"num",
- "limitParam":"",
- "limitErrInfo":"鎴垮眿缂栧彿鏍煎紡閿欒",
+ "inputType": "input",
+ "limit":"maxin",
+ "limitParam":"1,100",
+ "limitErrInfo":"鏀惰垂椤圭洰涓嶈兘瓒呰繃100浣�",
"show": true
},
{
- "code":"complaintName",
- "cnCode":"鎶曡瘔浜�",
- "desc":"蹇呭~锛岃濉啓鎶曡瘔浜�",
+ "code":"feeFlag",
+ "cnCode":"璐圭敤鏍囪瘑",
+ "desc":"蹇呭~锛岃閫夋嫨璐圭敤鏍囪瘑",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
- "limit":"maxLength",
- "limitParam":"200",
- "limitErrInfo":"鎶曡瘔浜轰笉鑳藉ぇ浜�200浣�",
+ "inputType": "select",
+ "selectValue":"1003006,2006012",
+ "selectValueName":"鍛ㄦ湡鎬ц垂鐢�,涓�娆℃�ц垂鐢�",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"璐圭敤绫诲瀷鏍煎紡閿欒",
+ "show": true
+ },
+ {
+ "code": "startTime",
+ "cnCode":"璁¤垂璧峰鏃堕棿",
+ "desc":"蹇呭~锛岃閫夋嫨璁¤垂璧峰鏃堕棿",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"dateTime",
+ "limitParam":"",
+ "limitErrInfo":"璁¤垂璧峰鏃堕棿涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
+ "show": true
+ },
+ {
+ "code": "endTime",
+ "cnCode":"璁¤垂缁堟鏃堕棿",
+ "desc":"蹇呭~锛岃閫夋嫨璁¤垂缁堟鏃堕棿",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "input",
+ "limit":"dateTime",
+ "limitParam":"",
+ "limitErrInfo":"璁¤垂缁堟鏃堕棿涓嶆槸鏈夋晥鐨勬椂闂存牸寮�",
+ "show": true
+ },
+ {
+ "code":"computingFormula",
+ "cnCode":"璁$畻鍏紡",
+ "desc":"蹇呭~锛岃濉啓闄勫姞璐圭敤",
+ "required":true,
+ "hasDefaultValue":false,
+ "inputType": "select",
+ "selectValue":"1001,2002",
+ "selectValueName":"闈㈢Н*鍗曚环+闄勫姞璐�,鍥哄畾璐圭敤",
+ "limit":"num",
+ "limitParam":"",
+ "limitErrInfo":"璁$畻鍏紡鏍煎紡閿欒",
"show": false
},
{
- "code":"tel",
- "cnCode":"鎶曡瘔鐢佃瘽",
- "desc":"蹇呭~锛岃濉啓鎶曡瘔鐢佃瘽",
+ "code":"squarePrice",
+ "cnCode":"璁¤垂鍗曚环",
+ "desc":"蹇呭~锛岃濉啓璁¤垂鍗曚环",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
- "limit":"phone",
+ "inputType": "input",
+ "limit":"money",
"limitParam":"",
- "limitErrInfo":"鎶曡瘔鐢佃瘽鏍煎紡閿欒",
+ "limitErrInfo":"璁¤垂鍗曚环鏍煎紡閿欒",
"show": true
},
{
- "code":"state",
- "cnCode":"鎶曡瘔鐘舵��",
- "desc":"蹇呭~锛岃濉啓鎶曡瘔鐘舵��",
+ "code":"additionalAmount",
+ "cnCode":"闄勫姞璐圭敤",
+ "desc":"蹇呭~锛岃濉啓闄勫姞璐圭敤",
"required":true,
"hasDefaultValue":false,
- "inputType":"input",
- "limit":"num",
+ "inputType": "input",
+ "limit":"money",
"limitParam":"",
- "limitErrInfo":"鎶曡瘔鐘舵�佹牸寮忛敊璇�",
+ "limitErrInfo":"闄勫姞璐圭敤鏍煎紡閿欒",
"show": true
- },
- {
- "code":"context",
- "cnCode":"鎶曡瘔鍐呭",
- "desc":"蹇呭~锛岃濉啓鎶曡瘔鍐呭",
- "required":true,
- "hasDefaultValue":false,
- "inputType":"textarea",
- "limit":"maxLength",
- "limitParam":"4000",
- "limitErrInfo":"鎶曡瘔鐘舵�佽秴杩�4000浣�",
- "show": false
}
]
}
\ No newline at end of file
--
Gitblit v1.8.0