From 982937e0f439f6422a9912da604def3f10b41bb9 Mon Sep 17 00:00:00 2001
From: zhubaomin <zhubaomin>
Date: 星期一, 02 九月 2024 10:36:40 +0800
Subject: [PATCH] 2024-09-02 朱宝民 字典及字典项放到配置文件中,自动导入数据库

---
 pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml |   48 ++++++++++++++++++++++++++++++++----------------
 1 files changed, 32 insertions(+), 16 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 130b67f..b28eb79 100644
--- a/pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml
+++ b/pipIrr-platform/pipIrr-global/src/main/resources/init-config.xml
@@ -10,6 +10,14 @@
                     </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="鐜伴噾"/>
@@ -30,14 +38,14 @@
             </waterTypes>
             <waterPrice price="0.90" />
             <irrigateProfile>
-                <item1 default_value = "10" unit = "2" sort = "1" type = "1"/>
-                <item2 default_value = "20" unit = "2" sort = "2" type = "1" />
-                <item3 default_value = "1" unit = "1" sort = "3" type = "1"/>
-                <item4 default_value = "2" unit = "1" sort = "4" type = "1"/>
-                <item5 default_value = "20" unit = "3" sort = "1" type = "2"/>
-                <item6 default_value = "30" unit = "3" sort = "2" type = "2"/>
-                <item7 default_value = "50" unit = "3" sort = "3" type = "2"/>
-                <item8 default_value = "80" unit = "3" sort = "4" type = "2"/>
+                <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="pj" name="鐗囪" enable="false">
@@ -48,6 +56,14 @@
                     </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="鐜伴噾"/>
@@ -68,14 +84,14 @@
             </waterTypes>
             <waterPrice price="0.90" />
             <irrigateProfile>
-                <item1 default_value = "10" unit = "2" sort = "1" type = "1"/>
-                <item2 default_value = "20" unit = "2" sort = "2" type = "1" />
-                <item3 default_value = "1" unit = "1" sort = "3" type = "1"/>
-                <item4 default_value = "2" unit = "1" sort = "4" type = "1"/>
-                <item5 default_value = "20" unit = "3" sort = "1" type = "2"/>
-                <item6 default_value = "30" unit = "3" sort = "2" type = "2"/>
-                <item7 default_value = "50" unit = "3" sort = "3" type = "2"/>
-                <item8 default_value = "80" unit = "3" sort = "4" type = "2"/>
+                <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>

--
Gitblit v1.8.0