From 04821fd724cc279ae6d41f968f79c767cfd9233e Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期四, 12 九月 2024 17:17:55 +0800 Subject: [PATCH] 优化代码 指定时间段内开阀次数高于指定值的农户 指定时间段内开阀次数低于指定值的农户 --- pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml | 51 +++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 45 insertions(+), 6 deletions(-) diff --git a/pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml b/pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml index 1a13d73..8e726f1 100644 --- a/pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml +++ b/pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <config> <orgs> - <!-- 澶氫釜缁勭粐锛岀敤缂栧彿鍖哄垎锛岀紪鍙蜂粠1寮�濮� --> - <org1 tag="ym" name="鍏冭皨"> + <!-- 澶氫釜缁勭粐锛岀敤缂栧彿鍖哄垎锛岀紪鍙蜂粠1寮�濮嬶紝enable琛ㄧず鏄惁鍚敤 --> + <org1 tag="ym" name="鍏冭皨" enable="true"> <districts> <province name="浜戝崡鐪�" num="53" level="0"> <city name="妤氶泟褰濇棌鑷不宸�" num="23" level="1"> @@ -10,12 +10,21 @@ </city> </province> </districts> + <dictionaries> + <dict code="protocol" title="鍗忚" valueType="2"> + <dictItem> + <item1 dictCode="protocol" value="p206V1_0_1" name="鑰佸崗璁�" status="1" sort="0" /> + <item2 dictCode="protocol" value="p206V202404" name="鏂板崗璁�" status="0" sort="1" /> + </dictItem> + </dict> + </dictionaries> <user name="瓒呯骇绠$悊鍛�" phone="admin" password="admin" supperAdmin="1" /> <payments> <item1 name="鐜伴噾"/> <item2 name="寰俊鏀粯"/> <item3 name="鏀粯瀹濇敮浠�"/> <item4 name="閾惰杞处"/> + <item5 name="鎹㈠崱"/> </payments> <settings> <item1 item_name="lng" item_value="101.87345" remarks="缁忓害"/> @@ -28,15 +37,34 @@ <item4 typeName="鍏绘畺鐢ㄦ按"/> <item5 typeName="缁垮寲鐢ㄦ按"/> </waterTypes> + <waterPrice price="0.90" /> + <irrigateProfile> + <item1 defaultValue = "10" unit = "2" sort = "1" type = "1"/> + <item2 defaultValue = "20" unit = "2" sort = "2" type = "1" /> + <item3 defaultValue = "1" unit = "1" sort = "3" type = "1"/> + <item4 defaultValue = "2" unit = "1" sort = "4" type = "1"/> + <item5 defaultValue = "20" unit = "3" sort = "1" type = "2"/> + <item6 defaultValue = "30" unit = "3" sort = "2" type = "2"/> + <item7 defaultValue = "50" unit = "3" sort = "3" type = "2"/> + <item8 defaultValue = "80" unit = "3" sort = "4" type = "2"/> + </irrigateProfile> </org1> - <org2 tag="sp" name="娌欑洏"> + <org2 tag="pj" name="鐗囪" enable="false"> <districts> - <province name="澶╂触" num="53" level="1"> - <city name="澶╂触甯�" num="23" level="2"> - <country name="姝︽竻鍖�" num="28" level="3" /> + <province name="浜戝崡鐪�" num="53" level="0"> + <city name="涓芥睙甯�" num="23" level="1"> + <country name="姘歌儨鍘�" num="28" level="2" /> </city> </province> </districts> + <dictionaries> + <dict code="protocol" title="鍗忚" valueType="2"> + <dictItem> + <item1 dictCode="protocol" value="p206V1_0_1" name="鑰佸崗璁�" status="1" sort="0" /> + <item2 dictCode="protocol" value="p206V202404" name="鏂板崗璁�" status="0" sort="1" /> + </dictItem> + </dict> + </dictionaries> <user name="瓒呯骇绠$悊鍛�" phone="admin" password="admin" supperAdmin="1" /> <payments> <item1 name="鐜伴噾"/> @@ -55,6 +83,17 @@ <item4 typeName="鍏绘畺鐢ㄦ按"/> <item5 typeName="缁垮寲鐢ㄦ按"/> </waterTypes> + <waterPrice price="0.90" /> + <irrigateProfile> + <item1 defaultValue = "10" unit = "2" sort = "1" type = "1"/> + <item2 defaultValue = "20" unit = "2" sort = "2" type = "1" /> + <item3 defaultValue = "1" unit = "1" sort = "3" type = "1"/> + <item4 defaultValue = "2" unit = "1" sort = "4" type = "1"/> + <item5 defaultValue = "20" unit = "3" sort = "1" type = "2"/> + <item6 defaultValue = "30" unit = "3" sort = "2" type = "2"/> + <item7 defaultValue = "50" unit = "3" sort = "3" type = "2"/> + <item8 defaultValue = "80" unit = "3" sort = "4" type = "2"/> + </irrigateProfile> </org2> </orgs> </config> \ No newline at end of file -- Gitblit v1.8.0