Explorar el Código

修改

master
zhuoyang.xing hace 2 meses
padre
commit
5d1acd52b5
Se han modificado 24 ficheros con 567 adiciones y 227 borrados
  1. 25
    5
      templates/detail/footer.ftl
  2. 7
    7
      templates/detail/header.ftl
  3. 25
    5
      templates/footer.ftl
  4. 7
    7
      templates/header.ftl
  5. 73
    53
      templates/index.ftl
  6. 4
    4
      templates/join.ftl
  7. 1
    1
      templates/news.ftl
  8. 19
    125
      templates/product.ftl
  9. 2
    2
      templates/socialResponsibility.ftl
  10. 22
    12
      webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/controller/StaticizeController.java
  11. 30
    0
      webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/domain/Footer.java
  12. 41
    0
      webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/domain/ProductMember.java
  13. 2
    0
      webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/mapper/master/StaticizeMapper.java
  14. 2
    0
      webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/service/StaticizeService.java
  15. 13
    0
      webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/service/impl/StaticizeServiceImpl.java
  16. 16
    1
      webstudio-modules/webstudio-modules-staticize/src/main/resources/mapper/system/StaticizeMapper.xml
  17. 67
    0
      webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/controller/ProductController.java
  18. 30
    0
      webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/domain/Footer.java
  19. 41
    0
      webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/domain/ProductMember.java
  20. 16
    0
      webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/mapper/master/ProductMemberMapper.java
  21. 16
    0
      webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/service/ProductService.java
  22. 51
    0
      webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/service/impl/ProductServiceImpl.java
  23. 11
    5
      webstudio-modules/webstudio-modules-system/src/main/resources/mapper/system/OtherMapper.xml
  24. 46
    0
      webstudio-modules/webstudio-modules-system/src/main/resources/mapper/system/ProcutMemberMapper.xml

+ 25
- 5
templates/detail/footer.ftl Ver fichero

@@ -4,6 +4,7 @@
4 4
             <div class="footerLogo"></div>
5 5
             <div class="footerLCon2">地址:<span>${footer.headquarter}</span></div>
6 6
             <div class="footerLCon2">邮箱:<span class="txt16">${footer.email}</span></div>
7
+            <div class="footerLCon2">电话:<span>${footer.phone}</span><!--<div>邮编:<span>100020</span></div>--></div>
7 8
         </div>
8 9
         <div class="footerCenter">
9 10
             <div class="footerClick"><a class="h7" href="../index.html"><span>走进中泽</span></a> <span
@@ -42,11 +43,30 @@
42 43
             <a class="h7" href="../join.html">加入中泽</a></div>
43 44
         <div class="footerRight">
44 45
             <div class="footerLConM">
45
-                <div class="footerLCon2">地址:${footer.headquarter}</div>
46
-                <a href="mail:zzjt@lnzzgroup.com" class="footerLCon2">邮箱:${footer.postcode}</a></div>
46
+                <div>地址:${footer.headquarter}</div>
47
+                <a href="mail:zzjt@lnzzgroup.com" class="footerLCon2">邮箱:${footer.email}</a>
48
+                <a href="tel:010-65008562"  class="footerLCon2">电话:${footer.phone}</a>
49
+            </div>
47 50
             <div class="imgWx"><img src="../static/images/weixin.png" alt=""/><span>微信公众号</span></div>
48 51
         </div>
49 52
     </div>
50
-    <div class="footerText">中泽集团版权所有 ZHONGZE GROUP COPYRIGHT<br>@ 2014-2024 <a
51
-                href="https://beian.miit.gov.cn/#/Integrated/index">辽ICP备14015583号</a></div>
52
-</footer>
53
+    <div class="footerText">${footer.baxx1}<br>${footer.baxx2}<a href="https://beian.miit.gov.cn/#/Integrated/index">${footer.baxx3}</a></div>
54
+</footer>
55
+<div class="searchCon">
56
+    <div class="searchConIn">
57
+        <div class="searchUp">
58
+            <span class="iconfont icon-search"></span>
59
+            <input class="searchInput" type="text" placeholder="请输入搜索内容" />
60
+            <div class="searchClose"><span class="iconfont icon-guanbi"></span></div>
61
+        </div>
62
+        <div class="searchDw">
63
+            <div class="newsType">
64
+                <!--<a class="newsLi" href="" target="_blank">
65
+                    <div class="newsLiCon">
66
+                        <div class="liTitle">标题1<span>第三帝国</span></div>
67
+                    </div>
68
+                </a>-->
69
+            </div>
70
+        </div>
71
+    </div>
72
+</div>

+ 7
- 7
templates/detail/header.ftl Ver fichero

@@ -8,7 +8,7 @@
8 8
                         <div class="menuUp"></div>
9 9
                         <a href="../index.html#jtjs"><span>集团介绍</span></a>
10 10
                         <a href="../index.html#fzlc"><span>发展历程</span></a>
11
-                        <a href="../index.html#qywh"><span>企业文化</span></a>
11
+                        <a href="../index.html#qyxw"><span>企业文化</span></a>
12 12
                         <a href="../index.html#xwdt"><span>新闻动态</span></a>
13 13
                     </div>
14 14
                 </div>
@@ -56,11 +56,11 @@
56 56
                     </div>
57 57
                 </div>
58 58
             </div>
59
-            <!--<div class="language menuOne">
60
-                <a class="btn2 btnW" style="display:none;"><span class="iconfont icon-search"></span></a>
61
-                <span class="line" style="display:none"></span>
62
-                <a href="../join.html#contactUs" class="aborder">联系我们</a>
63
-            </div>-->
59
+            <div class="language menuOne">
60
+                <div class="btn2 btnW searchDiv"><span class="iconfont icon-search"></span></div>
61
+                <!--<span class="line" style="display:none"></span>
62
+                <a href="./join.html#contactUs" class="aborder">联系我们</a>-->
63
+            </div>
64 64
         </div>
65 65
         <div class="headerMobile">
66 66
             <div class="logo"></div>
@@ -82,7 +82,7 @@
82 82
                         <div class="menuSon">
83 83
                             <a href="../index.html#jtjs"><span>集团介绍</span></a>
84 84
                             <a href="../index.html#fzlc"><span>发展历程</span></a>
85
-                            <a href="../index.html#qywh"><span>企业文化</span></a>
85
+                            <a href="../index.html#qyxw"><span>企业文化</span></a>
86 86
                             <a href="../index.html#xwdt"><span>新闻动态</span></a>
87 87
                         </div>
88 88
                     </div>

+ 25
- 5
templates/footer.ftl Ver fichero

@@ -4,6 +4,7 @@
4 4
             <div class="footerLogo"></div>
5 5
             <div class="footerLCon2">地址:<span>${footer.headquarter}</span></div>
6 6
             <div class="footerLCon2">邮箱:<span class="txt16">${footer.email}</span></div>
7
+            <div class="footerLCon2">电话:<span>${footer.phone}</span><!--<div>邮编:<span>100020</span></div>--></div>
7 8
         </div>
8 9
         <div class="footerCenter">
9 10
             <div class="footerClick"><a class="h7" href="./index.html"><span>走进中泽</span></a> <span
@@ -42,11 +43,30 @@
42 43
             <a class="h7" href="./join.html">加入中泽</a></div>
43 44
         <div class="footerRight">
44 45
             <div class="footerLConM">
45
-                <div class="footerLCon2">地址:${footer.headquarter}</div>
46
-                <a href="mail:zzjt@lnzzgroup.com" class="footerLCon2">邮箱:${footer.postcode}</a></div>
46
+                <div>地址:${footer.headquarter}</div>
47
+                <a href="mail:zzjt@lnzzgroup.com" class="footerLCon2">邮箱:${footer.email}</a>
48
+                <a href="tel:010-65008562"  class="footerLCon2">电话:${footer.phone}</a>
49
+            </div>
47 50
             <div class="imgWx"><img src="./static/images/weixin.png" alt=""/><span>微信公众号</span></div>
48 51
         </div>
49 52
     </div>
50
-    <div class="footerText">中泽集团版权所有 ZHONGZE GROUP COPYRIGHT<br>@ 2014-2024 <a
51
-                href="https://beian.miit.gov.cn/#/Integrated/index">辽ICP备14015583号</a></div>
52
-</footer>
53
+    <div class="footerText">${footer.baxx1}<br>${footer.baxx2}<a href="https://beian.miit.gov.cn/#/Integrated/index">${footer.baxx3}</a></div>
54
+</footer>
55
+<div class="searchCon">
56
+    <div class="searchConIn">
57
+        <div class="searchUp">
58
+            <span class="iconfont icon-search"></span>
59
+            <input class="searchInput" type="text" placeholder="请输入搜索内容" />
60
+            <div class="searchClose"><span class="iconfont icon-guanbi"></span></div>
61
+        </div>
62
+        <div class="searchDw">
63
+            <div class="newsType">
64
+                <!--<a class="newsLi" href="" target="_blank">
65
+                    <div class="newsLiCon">
66
+                        <div class="liTitle">标题1<span>第三帝国</span></div>
67
+                    </div>
68
+                </a>-->
69
+            </div>
70
+        </div>
71
+    </div>
72
+</div>

+ 7
- 7
templates/header.ftl Ver fichero

@@ -8,7 +8,7 @@
8 8
                         <div class="menuUp"></div>
9 9
                         <a href="./index.html#jtjs"><span>集团介绍</span></a>
10 10
                         <a href="./index.html#fzlc"><span>发展历程</span></a>
11
-                        <a href="./index.html#qywh"><span>企业文化</span></a>
11
+                        <a href="./index.html#qyxw"><span>企业文化</span></a>
12 12
                         <a href="./index.html#xwdt"><span>新闻动态</span></a>
13 13
                     </div>
14 14
                 </div>
@@ -56,11 +56,11 @@
56 56
                     </div>
57 57
                 </div>
58 58
             </div>
59
-            <!--<div class="language menuOne">
60
-                <a class="btn2 btnW" style="display:none;"><span class="iconfont icon-search"></span></a>
61
-                <span class="line" style="display:none"></span>
62
-                <a href="./join.html#contactUs" class="aborder">联系我们</a>
63
-            </div>-->
59
+            <div class="language menuOne">
60
+                <div class="btn2 btnW searchDiv"><span class="iconfont icon-search"></span></div>
61
+                <!--<span class="line" style="display:none"></span>
62
+                <a href="./join.html#contactUs" class="aborder">联系我们</a>-->
63
+            </div>
64 64
         </div>
65 65
         <div class="headerMobile">
66 66
             <div class="logo"></div>
@@ -82,7 +82,7 @@
82 82
                         <div class="menuSon">
83 83
                             <a href="./index.html#jtjs"><span>集团介绍</span></a>
84 84
                             <a href="./index.html#fzlc"><span>发展历程</span></a>
85
-                            <a href="./index.html#qywh"><span>企业文化</span></a>
85
+                            <a href="./index.html#qyxw"><span>企业文化</span></a>
86 86
                             <a href="./index.html#xwdt"><span>新闻动态</span></a>
87 87
                         </div>
88 88
                     </div>

+ 73
- 53
templates/index.ftl Ver fichero

@@ -3,7 +3,7 @@
3 3
 <head>
4 4
     <meta charset="utf-8"/>
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
6
-    <title>${TDK.title!'首页'}</title>
6
+    <title>${TDK.title}走进中泽</title>
7 7
     <meta name="description" content="${TDK.digest!''}"/>
8 8
     <meta name="Keywords" content="${TDK.key!''}"/>
9 9
     <meta content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width" name="viewport"/>
@@ -22,13 +22,33 @@
22 22
         <div class="swiper bannerSwiper">
23 23
             <div class="swiper-wrapper">
24 24
                 <#--                首页轮播-->
25
+
25 26
                 <#list bannerList as banner>
26
-                    <div class="swiper-slide">
27
+                    <div class="swiper-slide <#if banner_index == 0>bannerS1</#if>">
28
+                        <#if banner_index == 0>
29
+                            <img
30
+                                    class="lazy"
31
+                                    data-src="${banner.mImgUrl!''}"
32
+                                    data-srcM="${banner.mImgUrl!''}"
33
+                                    alt=""
34
+                            />
35
+                            <video
36
+                                    class="lazy"
37
+                                    data-src="${banner.pcImgUrl!''}"
38
+                                    data-srcM="${banner.pcImgUrl!''}"
39
+                                    autoplay
40
+                                    muted
41
+                                    loop
42
+                                    playsinline
43
+                            ></video>
44
+
45
+                        <#else>
27 46
                         <img class="lazy" data-src="${banner.pcImgUrl!''}"
28 47
                              data-srcm="${banner.mImgUrl!''}" alt=""/>
29 48
                         <div class="slideCon">
30 49
                             <div class="title">${banner.title!''}</div>
31 50
                         </div>
51
+                        </#if>
32 52
                     </div>
33 53
                 </#list>
34 54
             </div>
@@ -39,9 +59,7 @@
39 59
     </div>
40 60
     <div class="wow fadeInUp product" id="jtjs">
41 61
         <div class="wow fadeInUp title" data-wow-delay="0.2s">集团介绍</div>
42
-        <div class="wow fadeInUp text">
43
-            中泽控股集团股份有限公司是以投资并购和企业运营为核心业务的大型民营集团,创建于1995年,总部位于北京,员工1.8万人。集团将整合现有资源,着力发展铁合金、炭素、钼业、镍业、产业互联网、化工、和大消费七大产业集群。
44
-        </div>
62
+        <div class="wow fadeInUp text">中泽控股集团股份有限公司是以投资并购和企业运营为核心业务的大型民营集团,创建于1995年,总部位于北京,员工1.8万人。集团将整合现有资源,着力发展铁合金、炭素、钼业、镍业、产业互联网、化工、和大消费七大产业集群。</div>
45 63
         <div class="productCon">
46 64
             <div class="wow fadeInUp productTits">
47 65
                 <div>
@@ -54,24 +72,18 @@
54 72
                     <div class="productTit">
55 73
                         <div>钼业</div>
56 74
                     </div>
57
-                    <div class="productTit">
58
-                        <div>大宗贸易</div>
59
-                    </div>
60 75
                     <div class="productTit">
61 76
                         <div>镍业</div>
62 77
                     </div>
63 78
                     <div class="productTit">
64
-                        <div>新材料</div>
79
+                        <div>产业互联网</div>
65 80
                     </div>
66 81
                     <div class="productTit">
67
-                        <div>科研院所</div>
82
+                        <div>化工</div>
68 83
                     </div>
69 84
                     <div class="productTit">
70 85
                         <div>大消费</div>
71 86
                     </div>
72
-                    <div class="productTit">
73
-                        <div>产业互联网</div>
74
-                    </div>
75 87
                     <div class="productTit">
76 88
                         <div>装备制造</div>
77 89
                     </div>
@@ -79,101 +91,109 @@
79 91
                         <div>金融服务</div>
80 92
                     </div>
81 93
                     <div class="productTit">
82
-                        <div>石油化工</div>
94
+                        <div>其他</div>
83 95
                     </div>
84 96
                 </div>
85 97
             </div>
86 98
             <div class="wow fadeInUp productConBox">
87 99
                 <div class="swiper productSwiper">
88 100
                     <div class="swiper-wrapper">
89
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product1.jpg"
90
-                                                       data-srcm="./static/images/index/product1.jpg" alt=""/>
101
+                        <div class="swiper-slide">
102
+                            <img class="lazy" data-src="./static/images/index/product1.jpg" data-srcM="./static/images/index/product1.jpg" alt="" />
91 103
                             <div class="slideZ"></div>
92 104
                             <div class="slideCon">
93 105
                                 <div class="text">铁合金</div>
94 106
                             </div>
95 107
                         </div>
96
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product2.jpg"
97
-                                                       data-srcm="./static/images/index/product2.jpg" alt=""/>
108
+                        <div class="swiper-slide">
109
+                            <img class="lazy" data-src="./static/images/index/product2.jpg" data-srcM="./static/images/index/product2.jpg" alt="" />
98 110
                             <div class="slideZ"></div>
99 111
                             <div class="slideCon">
100 112
                                 <div class="text">炭素</div>
101 113
                             </div>
102 114
                         </div>
103
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product3.jpg"
104
-                                                       data-srcm="./static/images/index/product3.jpg" alt=""/>
115
+                        <div class="swiper-slide">
116
+                            <img class="lazy" data-src="./static/images/index/product3.jpg" data-srcM="./static/images/index/product3.jpg" alt="" />
105 117
                             <div class="slideZ"></div>
106 118
                             <div class="slideCon">
107 119
                                 <div class="text">钼业</div>
108 120
                             </div>
109 121
                         </div>
110
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product4.jpg"
111
-                                                       data-srcm="./static/images/index/product4.jpg" alt=""/>
112
-                            <div class="slideZ"></div>
113
-                            <div class="slideCon">
114
-                                <div class="text">大宗贸易</div>
115
-                            </div>
116
-                        </div>
117
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product5.jpg"
118
-                                                       data-srcm="./static/images/index/product5.jpg" alt=""/>
122
+                        <div class="swiper-slide">
123
+                            <img class="lazy" data-src="./static/images/index/product5.jpg" data-srcM="./static/images/index/product5.jpg" alt="" />
119 124
                             <div class="slideZ"></div>
120 125
                             <div class="slideCon">
121 126
                                 <div class="text">镍业</div>
122 127
                             </div>
123 128
                         </div>
124
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product6.jpg"
125
-                                                       data-srcm="./static/images/index/product6.jpg" alt=""/>
129
+                        <div class="swiper-slide">
130
+                            <img class="lazy" data-src="./static/images/index/product9.jpg" data-srcM="./static/images/index/product9.jpg" alt="" />
126 131
                             <div class="slideZ"></div>
127 132
                             <div class="slideCon">
128
-                                <div class="text">新材料</div>
133
+                                <div class="text">产业互联网</div>
129 134
                             </div>
130 135
                         </div>
131
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product7.jpg"
132
-                                                       data-srcm="./static/images/index/product7.jpg" alt=""/>
136
+                        <div class="swiper-slide">
137
+                            <img class="lazy" data-src="./static/images/index/product12.jpg" data-srcM="./static/images/index/product12.jpg" alt="" />
133 138
                             <div class="slideZ"></div>
134 139
                             <div class="slideCon">
135
-                                <div class="text">科研院所</div>
140
+                                <div class="text">化工</div>
136 141
                             </div>
137 142
                         </div>
138
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product8.jpg"
139
-                                                       data-srcm="./static/images/index/product8.jpg" alt=""/>
143
+                        <div class="swiper-slide">
144
+                            <img class="lazy" data-src="./static/images/index/product8.jpg" data-srcM="./static/images/index/product8.jpg" alt="" />
140 145
                             <div class="slideZ"></div>
141 146
                             <div class="slideCon">
142 147
                                 <div class="text">大消费</div>
143 148
                             </div>
144 149
                         </div>
145
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product9.jpg"
146
-                                                       data-srcm="./static/images/index/product9.jpg" alt=""/>
147
-                            <div class="slideZ"></div>
148
-                            <div class="slideCon">
149
-                                <div class="text">产业互联网</div>
150
-                            </div>
151
-                        </div>
152
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product10.jpg"
153
-                                                       data-srcm="./static/images/index/product10.jpg" alt=""/>
150
+                        <div class="swiper-slide">
151
+                            <img class="lazy" data-src="./static/images/index/product10.jpg" data-srcM="./static/images/index/product10.jpg" alt="" />
154 152
                             <div class="slideZ"></div>
155 153
                             <div class="slideCon">
156 154
                                 <div class="text">装备制造</div>
157 155
                             </div>
158 156
                         </div>
159
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product11.jpg"
160
-                                                       data-srcm="./static/images/index/product11.jpg" alt=""/>
157
+                        <div class="swiper-slide">
158
+                            <img class="lazy" data-src="./static/images/index/product11.jpg" data-srcM="./static/images/index/product11.jpg" alt="" />
161 159
                             <div class="slideZ"></div>
162 160
                             <div class="slideCon">
163 161
                                 <div class="text">金融服务</div>
164 162
                             </div>
165 163
                         </div>
166
-                        <div class="swiper-slide"><img class="lazy" data-src="./static/images/index/product12.jpg"
167
-                                                       data-srcm="./static/images/index/product12.jpg" alt=""/>
164
+                        <div class="swiper-slide">
165
+                            <img class="lazy" data-src="./static/images/index/product13.jpg" data-srcM="./static/images/index/product13.jpg" alt="" />
168 166
                             <div class="slideZ"></div>
169 167
                             <div class="slideCon">
170
-                                <div class="text">石油化工</div>
168
+                                <div class="text">其他</div>
171 169
                             </div>
172 170
                         </div>
171
+                        <!-- <div class="swiper-slide">
172
+                          <img class="lazy" data-src="./static/images/index/product4.jpg" data-srcM="./static/images/index/product4.jpg" alt="" />
173
+                          <div class="slideZ"></div>
174
+                          <div class="slideCon">
175
+                              <div class="text">大宗贸易</div>
176
+                          </div>
177
+                        </div>
178
+                        <div class="swiper-slide">
179
+                          <img class="lazy" data-src="./static/images/index/product6.jpg" data-srcM="./static/images/index/product6.jpg" alt="" />
180
+                          <div class="slideZ"></div>
181
+                          <div class="slideCon">
182
+                              <div class="text">新材料</div>
183
+                          </div>
184
+                        </div>
185
+                        <div class="swiper-slide">
186
+                          <img class="lazy" data-src="./static/images/index/product7.jpg" data-srcM="./static/images/index/product7.jpg" alt="" />
187
+                          <div class="slideZ"></div>
188
+                          <div class="slideCon">
189
+                              <div class="text">科研院所</div>
190
+                          </div>
191
+                        </div> -->
173 192
                     </div>
174 193
                 </div>
175 194
             </div>
176 195
             <div class="swiper-page">
196
+                <!-- 如果需要分页器 -->
177 197
                 <div class="btn-prev btn-prevP1"><span class="icon iconfont icon-jiantou"></span></div>
178 198
                 <div class="btn-next btn-nextP1"><span class="icon iconfont icon-jiantou"></span></div>
179 199
             </div>
@@ -200,7 +220,7 @@
200 220
         <div class="aboutCon">
201 221
             <div class="wow fadeInUp title pcTxt">业务版图</div>
202 222
             <div>
203
-                <div class="wow fadeInUp sltImg">业务版图缩略图 <img src="./static/images/index/aboutbg7.png" alt=""/></div>
223
+                <div class="wow fadeInUp sltImg"> <img src="./static/images/index/aboutbg7.png" alt=""/></div>
204 224
                 <a href="./product.html" class="wow fadeInUp btn3">产业布局<span class="icon iconfont icon-jiantou"></span></a>
205 225
             </div>
206 226
         </div>
@@ -245,7 +265,7 @@
245 265
             </div>
246 266
         </div>
247 267
     </div>
248
-    <div class="corporate" id="qywm">
268
+    <div class="corporate" id="qyxw">
249 269
         <div class="wow fadeInUp title">企业文化</div>
250 270
         <div class="swiper corporateSwiper">
251 271
             <div class="swiper-wrapper">

+ 4
- 4
templates/join.ftl Ver fichero

@@ -3,7 +3,7 @@
3 3
 <head>
4 4
     <meta charset="utf-8"/>
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
6
-    <title>加入中泽</title>
6
+    <title>${TDK.title}加入中泽</title>
7 7
     <meta name="description" content=""/>
8 8
     <meta name="Keywords" content=""/>
9 9
     <meta content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width" name="viewport"/>
@@ -53,7 +53,7 @@
53 53
             </div>
54 54
             <div class="typeCon typeCon2">
55 55
                 <div class="infoul">
56
-                    <div class="wow fadeInUp title">招标信息</div>
56
+<#--                    <div class="wow fadeInUp title">招标信息</div>-->
57 57
                     <div class="wow fadeInUp newsType">
58 58
                         <#list bdList as bd>
59 59
                             <a class="newsLi" href="./biddingDocumentDetail/${bd.uuid}.html">
@@ -73,9 +73,9 @@
73 73
                     <div class="wow fadeInUp inLiCon">
74 74
                         <div class="title">反舞弊举报通道</div>
75 75
                         <div class="liLine"></div>
76
-                        <div><span class="iconfont icon-dianhua"></span>举报热线:024-31875997</div>
76
+                        <div><span class="iconfont icon-dianhua"></span>电话:010-65008562转619</div>
77 77
                         <div class="liLine"></div>
78
-                        <div><span class="iconfont icon-youjian"></span>举报邮箱:hr@lnzzgroup.com</div>
78
+                        <div><span class="iconfont icon-youjian"></span>邮箱:wutao@Inzzgroup.com</div>
79 79
                     </div>
80 80
                 </div>
81 81
             </div>

+ 1
- 1
templates/news.ftl Ver fichero

@@ -3,7 +3,7 @@
3 3
 <head>
4 4
     <meta charset="utf-8"/>
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
6
-    <title>${TDK.title!'新闻资讯'}</title>
6
+    <title>${TDK.title}新闻动态</title>
7 7
     <meta name="description" content="${TDK.digest!''}"/>
8 8
     <meta name="Keywords" content="${TDK.key!''}"/>
9 9
     <meta content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width" name="viewport"/>

+ 19
- 125
templates/product.ftl Ver fichero

@@ -3,7 +3,7 @@
3 3
 <head>
4 4
     <meta charset="utf-8"/>
5 5
     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
6
-    <title>${TDK.title!'产业布局'}</title>
6
+    <title>${TDK.title}产业布局</title>
7 7
     <meta name="description" content="${TDK.digest!''}"/>
8 8
     <meta name="Keywords" content="${TDK.key!''}"/>
9 9
     <meta content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width" name="viewport"/>
@@ -107,140 +107,34 @@
107 107
                 </div>
108 108
             </div>
109 109
             <div class="swiper-page">
110
+                <!-- 如果需要分页器 -->
110 111
                 <div class="btn-prev btn-prevP1"><span class="icon iconfont icon-jiantou"></span></div>
111 112
                 <div class="btn-next btn-nextP1"><span class="icon iconfont icon-jiantou"></span></div>
112 113
             </div>
113 114
         </div>
114 115
     </div>
115
-    <div class="wow fadeInUp Industrial" id="cyhl"><img class="wow fadeInUp lazy" data-wow-delay="0.2s"
116
-                                                        data-src="./static/images/product/Industrial1.png"
117
-                                                        data-srcm="./static/images/product/Industrial1m.png" alt=""/>
118
-        <div><img class="wow fadeInUp lazy" data-wow-delay="0.4s" data-src="./static/images/product/Industrial2.png"
119
-                  data-srcm="./static/images/product/Industrial2m.png" alt=""/> <img class="wow fadeInUp lazy"
120
-                                                                                     data-wow-delay="0.6s"
121
-                                                                                     data-src="./static/images/product/Industrial3.png"
122
-                                                                                     data-srcm="./static/images/product/Industrial3m.png"
123
-                                                                                     alt=""/> <img
124
-                    class="wow fadeIn lazy" data-wow-delay="0.8s" data-src="./static/images/product/Industrial4.png"
125
-                    data-srcm="./static/images/product/Industrial4m.png" alt=""/></div>
116
+    <div class="wow fadeInUp Industrial" id="cyhl">
117
+        <img class="wow fadeInUp lazy" data-wow-delay="0.2s" data-src="./static/images/product/Industrial1.png" data-srcM="./static/images/product/Industrial1m.png" alt="" />
118
+        <div>
119
+            <img style="z-index: 2;" class="wow fadeInUp lazy" data-wow-delay="0.4s" data-src="./static/images/product/Industrial2.png" data-srcM="./static/images/product/Industrial2m.png" alt="" />
120
+            <img class="wow fadeIn lazy" data-wow-delay="0.6s" data-src="./static/images/product/Industrial3.png" data-srcM="./static/images/product/Industrial3m.png" alt="" />
121
+        </div>
126 122
     </div>
127 123
     <div class="member" id="cyml">
128 124
         <div class="wow fadeInUp title" data-wow-delay="0.2s">成员名录</div>
129 125
         <div class="wow fadeInUp memberCon">
130
-            <div class="memberLi">
131
-                <div class="liImg"><img src="./static/images/product/member1.jpg" alt=""/></div>
132
-                <div class="upDiv">
133
-                    <div class="upDivTit">吉铁铁合金有限公司</div>
134
-                    <div class="text">集生产经营、研发设 计、设备制造等于一体的全国铁合金行业龙头企业。</div>
135
-                    <a href="http://www.jtthj.cn" target="_blank"></a>
136
-                </div>
137
-            </div>
138
-            <div class="memberLi">
139
-                <div class="liImg"><img src="./static/images/product/member2.jpg" alt=""/></div>
140
-                <div class="upDiv">
141
-                    <div class="upDivTit">吉林炭素有限公司</div>
142
-                    <div class="text">产品主要包括石墨电极、石墨阳极、炭块、糊类、特种炭制品、炭纤维制品等,广泛应用于冶金、化工、机械、电子、医疗及新材料等领域。</div>
143
-                    <a href="http://www.jlts.cn" target="_blank"></a>
144
-                </div>
145
-            </div>
146
-            <div class="memberLi">
147
-                <div class="liImg"><img src="./static/images/product/member3.jpg" alt=""/></div>
148
-                <div class="upDiv">
149
-                    <div class="upDivTit">吉林吉恩镍业股份有限公司</div>
150
-                    <div class="text">集采矿、选矿、冶炼、精炼、化工于一体的大型镍、铜、钴有色金属生产加工企业。</div>
151
-                    <a href="http://www.jlnickel.com.cn" target="_blank"></a>
152
-                </div>
153
-            </div>
154
-            <div class="memberLi">
155
-                <div class="liImg"><img src="./static/images/product/member4.jpg" alt=""/></div>
156
-                <div class="upDiv">
157
-                    <div class="upDivTit">吉林大黑山钼业股份有限公司</div>
158
-                    <div class="text">集钼金属采矿、选矿、碎石骨料加工为一体的综合性矿山企业。</div>
159
-                    <a href="http://www.jldhsmy.com" target="_blank"></a>
160
-                </div>
161
-            </div>
162
-            <div class="memberLi">
163
-                <div class="liImg"><img src="./static/images/product/member5.jpg" alt=""/></div>
164
-                <div class="upDiv">
165
-                    <div class="upDivTit">吉林中泽钼业有限公司</div>
166
-                    <div class="text">产品主要为氧化钼、钼铁、钼酸铵、高纯氧化钼等。</div>
167
-                    <a href="http://www.jlzzmoly.com" target="_blank"></a>
168
-                </div>
169
-            </div>
170
-            <div class="memberLi">
171
-                <div class="liImg"><img src="./static/images/product/member6.jpg" alt=""/></div>
172
-                <div class="upDiv">
173
-                    <div class="upDivTit">万联易达物流科技有限公司</div>
174
-                    <div class="text">以大宗商品交易和整车物流服务为纽带,以人工智能为支撑的产业互联网公司。</div>
175
-                    <a href="https://www.10000da.net/" target="_blank"></a>
176
-                </div>
177
-            </div>
178
-            <div class="memberLi">
179
-                <div class="liImg"><img src="./static/images/product/member7.jpg" alt=""/></div>
180
-                <div class="upDiv">
181
-                    <div class="upDivTit">通辽金煤化工有限公司</div>
182
-                    <div class="text">主要产品包括煤制乙二醇、草酸、催化剂、完全生物降解塑料等。</div>
183
-                    <a href="http://www.tljmhg.com" target="_blank"></a>
184
-                </div>
185
-            </div>
186
-            <div class="memberLi">
187
-                <div class="liImg"><img src="./static/images/product/member8.jpg" alt=""/></div>
188
-                <div class="upDiv">
189
-                    <div class="upDivTit">辽宁省机械研究院有限公司</div>
190
-                    <div class="text">主营科研业务为机械轻量化 设计、智能装备及大宗固废综合利用系统等。</div>
191
-                    <a href="" target="_blank"></a>
192
-                </div>
193
-            </div>
194
-            <div class="memberLi">
195
-                <div class="liImg"><img src="./static/images/product/member9.jpg" alt=""/></div>
196
-                <div class="upDiv">
197
-                    <div class="upDivTit">吉林卓创新材料有限公司</div>
198
-                    <div class="text">主要生产羰基铁粉、羰基镍粉等新材料产品。</div>
199
-                    <a href="http://www.jlzcxcl.cn" target="_blank"></a>
200
-                </div>
201
-            </div>
202
-            <div class="memberLi">
203
-                <div class="liImg"><img src="./static/images/product/member10.jpg" alt=""/></div>
204
-                <div class="upDiv">
205
-                    <div class="upDivTit">吉林中泽新型建材有限公司</div>
206
-                    <div class="text">主营蒸压加气混凝土砌块、板材、高性能无机石等系列绿色建材产品。</div>
207
-                    <a href="http://www.jlzzxxjc.com" target="_blank"></a>
208
-                </div>
209
-            </div>
210
-            <div class="memberLi">
211
-                <div class="liImg"><img src="./static/images/product/member11.jpg" alt=""/></div>
212
-                <div class="upDiv">
213
-                    <div class="upDivTit">朝阳重型机器有限公司</div>
214
-                    <div class="text">公司成立于1959年,是集研发设计、设备制造、安装服务、进出口商务、物流及技术咨询于一体的综合性装备制造企业。</div>
215
-                    <a href="http://www.cyzxjqyxgs.com" target="_blank"></a>
216
-                </div>
217
-            </div>
218
-            <div class="memberLi">
219
-                <div class="liImg"><img src="./static/images/product/member12.jpg" alt=""/></div>
220
-                <div class="upDiv">
221
-                    <div class="upDivTit">黑龙江新瑞石油化工有限公司</div>
222
-                    <div class="text">主要产品为甲基叔丁基醚(MTBE)、乙苯、液化气、正丁烷等。</div>
223
-                    <a href="" target="_blank"></a>
224
-                </div>
225
-            </div>
226
-            <div class="memberLi">
227
-                <div class="liImg"><img src="./static/images/product/member13.jpg" alt=""/></div>
228
-                <div class="upDiv">
229
-                    <div class="upDivTit">吉林市神舟炭纤维有限责任公司</div>
230
-                    <div class="text">主要产品有聚丙烯睛基碳纤维、平纹碳布、斜纹碳布,主要应用于国防军工和民用领域。</div>
231
-                    <a href="http://www.jlccf.com" target="_blank"></a>
232
-                </div>
233
-            </div>
234
-            <div class="memberLi">
235
-                <!-- <div class="liImg"><img src="./static/images/product/member1.png" alt=""/></div> -->
236
-                <div class="liTit">沈阳中泽镁材料研究院有限公司</div>
237
-                <div class="upDiv">
238
-                    <div class="upDivTit">沈阳中泽镁材料研究院有限公司</div>
239
-                    <div class="text">以镁为主体的金属制取、加工及高性能材料领域的新技术开发。</div>
240
-                    <a href="" target="_blank"></a>
126
+            <#list memberList as member>
127
+                <div class="memberLi">
128
+                    <div class="liImg"><img src="${member.memberPicUrl!''}" alt=""/></div>
129
+                    <div class="upDiv">
130
+                        <div class="upDivTit">${member.memberTitle}</div>
131
+                        <div class="text">${member.memberDescription!''}</div>
132
+                        <#if member.memberLink??>
133
+                            <a href="${member.memberLink}" target="_blank"></a>
134
+                        </#if>
135
+                    </div>
241 136
                 </div>
242
-            </div>
243
-
137
+            </#list>
244 138
         </div>
245 139
     </div>
246 140
 </div>

+ 2
- 2
templates/socialResponsibility.ftl Ver fichero

@@ -17,14 +17,14 @@
17 17
 <body>
18 18
 <#include "./header.ftl" parse=true encoding="utf-8">
19 19
 <div class="main">
20
-    <div class="wow fadeInUp con"><img class="lazy" data-src="./static/images/partyBuilding/socialResponsibility.jpg"
21
-                                       data-srcm="./static/images/partyBuilding/socialResponsibilitym.jpg" alt=""/>
20
+    <div class="wow fadeInUp con">
22 21
         <div class="conDiv">
23 22
             <div class="title">社会责任</div>
24 23
             <div class="text">
25 24
                 自成立以来,中泽集团不断发展壮大,集团和各级企业在致力于区域经济发展和行业振兴的同时,始终不忘回报社会,用实际行动配合各级政府和组织,主动参与社会实践和公益活动,妥善解决就业问题,热心助力慈善事业,积极投入抢险救灾,为建设和谐社会做出了积极的贡献,彰显了民营企业的社会责任与时代担当,产生了良好的社会声誉。
26 25
             </div>
27 26
         </div>
27
+        <img class="lazy" data-src="./static/images/partyBuilding/socialResponsibility.jpg" data-srcM="./static/images/partyBuilding/socialResponsibilitym.jpg" alt="" />
28 28
     </div>
29 29
     <div class="wow fadeInUp news_ul">
30 30
         <div class="news_list">

+ 22
- 12
webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/controller/StaticizeController.java Ver fichero

@@ -27,22 +27,11 @@ public class StaticizeController {
27 27
     @ApiOperation(value = "全量静态化", httpMethod = "GET")
28 28
     public AjaxResult all(){
29 29
         try {
30
-            intoZz();//走进中泽
31
-            intoTime();//发展历程
32 30
             articleDetail("news",null);//新闻详情,新闻首页,首页
33 31
             articleDetail("partyWork",null);//党建详情,党建首页,党建列表页
34 32
             articleDetail("socialRespon",null);//责任详情,社会责任
35 33
             articleDetail("biddingDocument",null);//招标文件,加入中泽,招标文件列表页
36
-            seo("product");
37
-            seo("productDec1");
38
-            seo("productDec2");
39
-            seo("productDec3");
40
-            seo("productDec4");
41
-            seo("productDec5");
42
-            seo("productDec6");
43
-            seo("productDec7");
44
-            seo("productDec8");
45
-            seo("productDec9");
34
+            product();
46 35
             return AjaxResult.success("发布成功");
47 36
         }catch (Exception e){
48 37
             return AjaxResult.error("发布失败");
@@ -319,6 +308,27 @@ public class StaticizeController {
319 308
         }
320 309
     }
321 310
 
311
+    @GetMapping("/product")
312
+    @ApiOperation(value = "产业布局", httpMethod = "GET")
313
+    public AjaxResult product(){
314
+        Map map = getFooter();
315
+        //seo
316
+        map.put("TDK",getSeo("product"));
317
+        //成员名录
318
+        List<ProductMember> memberList = staticizeService.getProductMemberList();
319
+        map.put("memberList",memberList);
320
+        // html名字
321
+        map.put("fileName", "product");
322
+        // 模板
323
+        map.put("template", "product.ftl");
324
+        try {
325
+            staticizeService.pushHtml(map, "");
326
+            return AjaxResult.success("发布成功");
327
+        }catch (Exception e){
328
+            return AjaxResult.error("发布失败"+e.getMessage());
329
+        }
330
+    }
331
+
322 332
     @GetMapping("/joinList")
323 333
     @ApiOperation(value = "招标文件", httpMethod = "GET")
324 334
     public AjaxResult joinList(){

+ 30
- 0
webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/domain/Footer.java Ver fichero

@@ -27,6 +27,12 @@ public class Footer {
27 27
     @ApiModelProperty(value = "微信二维码")
28 28
     private String wxImg;
29 29
     private String wxImgUrl;
30
+    @ApiModelProperty(value = "备案信息1")
31
+    private String baxx1;
32
+    @ApiModelProperty(value = "备案信息2")
33
+    private String baxx2;
34
+    @ApiModelProperty(value = "备案信息3")
35
+    private String baxx3;
30 36
 
31 37
     public String getSwitchboard() {
32 38
         return switchboard;
@@ -91,4 +97,28 @@ public class Footer {
91 97
     public void setWxImgUrl(String wxImgUrl) {
92 98
         this.wxImgUrl = wxImgUrl;
93 99
     }
100
+
101
+    public String getBaxx1() {
102
+        return baxx1;
103
+    }
104
+
105
+    public void setBaxx1(String baxx1) {
106
+        this.baxx1 = baxx1;
107
+    }
108
+
109
+    public String getBaxx2() {
110
+        return baxx2;
111
+    }
112
+
113
+    public void setBaxx2(String baxx2) {
114
+        this.baxx2 = baxx2;
115
+    }
116
+
117
+    public String getBaxx3() {
118
+        return baxx3;
119
+    }
120
+
121
+    public void setBaxx3(String baxx3) {
122
+        this.baxx3 = baxx3;
123
+    }
94 124
 }

+ 41
- 0
webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/domain/ProductMember.java Ver fichero

@@ -0,0 +1,41 @@
1
+package com.webstudio.staticize.domain;
2
+
3
+import com.baomidou.mybatisplus.annotation.TableField;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import com.baomidou.mybatisplus.annotation.TableName;
6
+import io.swagger.annotations.ApiModelProperty;
7
+import lombok.Data;
8
+
9
+/**
10
+ * @ClassName ProductMember 产业布局-成员名录
11
+ * @Description TODO
12
+ * @Author xzy
13
+ * @Date 2025/2/27
14
+ * @Version 1.0
15
+ **/
16
+@Data
17
+@TableName("product_member")
18
+public class ProductMember {
19
+    @TableId
20
+    private String memberUuid;
21
+
22
+    @ApiModelProperty(value = "标题")
23
+    private String memberTitle;
24
+
25
+    @ApiModelProperty(value = "描述")
26
+    private String memberDescription;
27
+
28
+    @ApiModelProperty(value = "图片Id")
29
+    private String memberPic;
30
+
31
+    @ApiModelProperty(value = "图片Url")
32
+    @TableField(exist = false)
33
+    private String memberPicUrl;
34
+
35
+
36
+    @ApiModelProperty(value = "链接地址")
37
+    private String memberLink;
38
+
39
+    @ApiModelProperty(value = "排序")
40
+    private Integer memberSort;
41
+}

+ 2
- 0
webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/mapper/master/StaticizeMapper.java Ver fichero

@@ -49,4 +49,6 @@ public interface StaticizeMapper {
49 49
     void updatePushStatus(@Param("uuid")String uuid,
50 50
                           @Param("table")String table,
51 51
                           @Param("suffer")String suffer);
52
+
53
+    List<ProductMember> getProductMemberList();
52 54
 }

+ 2
- 0
webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/service/StaticizeService.java Ver fichero

@@ -48,4 +48,6 @@ public interface StaticizeService {
48 48
     List<HonorVo> getHonor();
49 49
 
50 50
     void updatePushStatus(String uuid, String table, String suffer);
51
+
52
+    List<ProductMember> getProductMemberList();
51 53
 }

+ 13
- 0
webstudio-modules/webstudio-modules-staticize/src/main/java/com/webstudio/staticize/service/impl/StaticizeServiceImpl.java Ver fichero

@@ -1,5 +1,6 @@
1 1
 package com.webstudio.staticize.service.impl;
2 2
 
3
+import com.webstudio.common.core.utils.StringUtils;
3 4
 import com.webstudio.staticize.domain.*;
4 5
 import com.webstudio.staticize.domain.vo.HonorVo;
5 6
 import com.webstudio.staticize.mapper.master.StaticizeMapper;
@@ -299,6 +300,18 @@ public class StaticizeServiceImpl implements StaticizeService {
299 300
         staticizeMapper.updatePushStatus(uuid,table,suffer);
300 301
     }
301 302
 
303
+    @Override
304
+    public List<ProductMember> getProductMemberList() {
305
+        List<ProductMember> productMembers = staticizeMapper.getProductMemberList();
306
+        for (ProductMember pm : productMembers){
307
+            if (StringUtils.isNotBlank(pm.getMemberPic())){
308
+                SysFile sysFileR = fileService.selectSysFileByUUID(pm.getMemberPic()).getData();
309
+                pm.setMemberPicUrl(sysFileR.getUrl());
310
+            }
311
+        }
312
+        return productMembers;
313
+    }
314
+
302 315
     //荣誉资质证书
303 316
     private List<HonorCertificate> getHonorCertificate(String honorUuid) {
304 317
         List<HonorCertificate> certificateList = staticizeMapper.getHonorCertificate(honorUuid);

+ 16
- 1
webstudio-modules/webstudio-modules-staticize/src/main/resources/mapper/system/StaticizeMapper.xml Ver fichero

@@ -182,10 +182,13 @@
182 182
         <result property="email" column="footer_email"/>
183 183
         <result property="postcode" column="footer_postcode"/>
184 184
         <result property="wxImg" column="footer_wx_img"/>
185
+        <result property="baxx1" column="baxx1"/>
186
+        <result property="baxx2" column="baxx2"/>
187
+        <result property="baxx3" column="baxx3"/>
185 188
     </resultMap>
186 189
 <!--    底部信息-->
187 190
     <select id="getFooter" resultMap="FooterResult">
188
-        select footer_switchboard,footer_fax,footer_headquarter,footer_phone,footer_email,footer_postcode,footer_wx_img
191
+        select footer_switchboard,footer_fax,footer_headquarter,footer_phone,footer_email,footer_postcode,footer_wx_img,baxx1,baxx2,baxx3
189 192
         from footer
190 193
     </select>
191 194
     <resultMap type="com.webstudio.staticize.domain.Enterprise" id="EnterpriseResult">
@@ -329,5 +332,17 @@
329 332
         order by certificate_sort
330 333
     </select>
331 334
 
335
+    <resultMap type="com.webstudio.staticize.domain.ProductMember" id="ProductMemberResult">
336
+        <result property="memberUuid" column="member_uuid"/>
337
+        <result property="memberTitle" column="member_title"/>
338
+        <result property="memberDescription" column="member_description"/>
339
+        <result property="memberLink" column="member_link"/>
340
+        <result property="memberPic" column="member_pic"/>
341
+        <result property="memberSort" column="member_sort"/>
342
+    </resultMap>
343
+    <select id="getProductMemberList" resultMap="ProductMemberResult">
344
+        select * from product_member
345
+        order by member_sort asc
346
+    </select>
332 347
 
333 348
 </mapper>

+ 67
- 0
webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/controller/ProductController.java Ver fichero

@@ -0,0 +1,67 @@
1
+package com.webstudio.system.controller;
2
+
3
+import com.webstudio.common.core.tool.ReMsg;
4
+import com.webstudio.common.core.utils.UuidUtils;
5
+import com.webstudio.common.core.web.controller.BaseController;
6
+import com.webstudio.common.core.web.domain.AjaxResult;
7
+import com.webstudio.common.core.web.page.TableDataInfo;
8
+import com.webstudio.common.log.annotation.Log;
9
+import com.webstudio.common.log.enums.BusinessType;
10
+import com.webstudio.system.domain.BiddingDocument;
11
+import com.webstudio.system.domain.ProductMember;
12
+import com.webstudio.system.domain.Vacancy;
13
+import com.webstudio.system.service.ProductService;
14
+import io.swagger.annotations.Api;
15
+import io.swagger.annotations.ApiOperation;
16
+import org.springframework.beans.factory.annotation.Autowired;
17
+import org.springframework.web.bind.annotation.*;
18
+
19
+import java.util.List;
20
+
21
+/**
22
+ * 产业布局
23
+ *
24
+ * @author liqi
25
+ */
26
+@RestController
27
+@RequestMapping("/product")
28
+@Api(value = "产业布局",tags = "产业布局")
29
+public class ProductController extends BaseController {
30
+    @Autowired
31
+    private ProductService productService;
32
+
33
+    @GetMapping("/member/select")
34
+    @ApiOperation(value = "成员名录查询",httpMethod = "GET")
35
+    public TableDataInfo selectBiddingDocument(ProductMember productMember){
36
+        startPage();
37
+        List<ProductMember> productMembers = productService.selectMember(productMember);
38
+        return getDataTable(productMembers);
39
+    }
40
+
41
+    @PostMapping("/member/save")
42
+    @Log(title = "成员名录", businessType = BusinessType.UPDATE)
43
+    @ApiOperation(value = "成员名录新增、编辑",httpMethod = "POST")
44
+    public AjaxResult saveMember(@RequestBody ProductMember productMember)
45
+    {
46
+        try {
47
+            productService.saveMember(productMember);
48
+            return AjaxResult.success(ReMsg.success());
49
+        }catch (Exception e){
50
+            return AjaxResult.error(ReMsg.error());
51
+        }
52
+    }
53
+
54
+    @DeleteMapping("/member/remove")
55
+    @Log(title = "成员名录", businessType = BusinessType.DELETE)
56
+    @ApiOperation(value = "成员名录删除", httpMethod = "DELETE")
57
+    public AjaxResult removeMember(@RequestParam String memberUuid){
58
+        try {
59
+            productService.removeMember(memberUuid);
60
+            return AjaxResult.success(ReMsg.success());
61
+        }catch (Exception e){
62
+            return AjaxResult.error(ReMsg.error());
63
+        }
64
+    }
65
+
66
+
67
+}

+ 30
- 0
webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/domain/Footer.java Ver fichero

@@ -27,6 +27,12 @@ public class Footer {
27 27
     @ApiModelProperty(value = "微信二维码")
28 28
     private String wxImg;
29 29
     private String wxImgUrl;
30
+    @ApiModelProperty(value = "备案信息1")
31
+    private String baxx1;
32
+    @ApiModelProperty(value = "备案信息2")
33
+    private String baxx2;
34
+    @ApiModelProperty(value = "备案信息3")
35
+    private String baxx3;
30 36
 
31 37
     public String getSwitchboard() {
32 38
         return switchboard;
@@ -91,4 +97,28 @@ public class Footer {
91 97
     public void setWxImgUrl(String wxImgUrl) {
92 98
         this.wxImgUrl = wxImgUrl;
93 99
     }
100
+
101
+    public String getBaxx1() {
102
+        return baxx1;
103
+    }
104
+
105
+    public void setBaxx1(String baxx1) {
106
+        this.baxx1 = baxx1;
107
+    }
108
+
109
+    public String getBaxx2() {
110
+        return baxx2;
111
+    }
112
+
113
+    public void setBaxx2(String baxx2) {
114
+        this.baxx2 = baxx2;
115
+    }
116
+
117
+    public String getBaxx3() {
118
+        return baxx3;
119
+    }
120
+
121
+    public void setBaxx3(String baxx3) {
122
+        this.baxx3 = baxx3;
123
+    }
94 124
 }

+ 41
- 0
webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/domain/ProductMember.java Ver fichero

@@ -0,0 +1,41 @@
1
+package com.webstudio.system.domain;
2
+
3
+import com.baomidou.mybatisplus.annotation.TableField;
4
+import com.baomidou.mybatisplus.annotation.TableId;
5
+import com.baomidou.mybatisplus.annotation.TableName;
6
+import io.swagger.annotations.ApiModelProperty;
7
+import lombok.Data;
8
+
9
+/**
10
+ * @ClassName ProductMember 产业布局-成员名录
11
+ * @Description TODO
12
+ * @Author xzy
13
+ * @Date 2025/2/27
14
+ * @Version 1.0
15
+ **/
16
+@Data
17
+@TableName("product_member")
18
+public class ProductMember {
19
+    @TableId
20
+    private String memberUuid;
21
+
22
+    @ApiModelProperty(value = "标题")
23
+    private String memberTitle;
24
+
25
+    @ApiModelProperty(value = "描述")
26
+    private String memberDescription;
27
+
28
+    @ApiModelProperty(value = "图片Id")
29
+    private String memberPic;
30
+
31
+    @ApiModelProperty(value = "图片Url")
32
+    @TableField(exist = false)
33
+    private String memberPicUrl;
34
+
35
+
36
+    @ApiModelProperty(value = "链接地址")
37
+    private String memberLink;
38
+
39
+    @ApiModelProperty(value = "排序")
40
+    private Integer memberSort;
41
+}

+ 16
- 0
webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/mapper/master/ProductMemberMapper.java Ver fichero

@@ -0,0 +1,16 @@
1
+package com.webstudio.system.mapper.master;
2
+
3
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
4
+import com.webstudio.system.domain.BiddingDocument;
5
+import com.webstudio.system.domain.ProductMember;
6
+import com.webstudio.system.domain.Vacancy;
7
+import org.apache.ibatis.annotations.Param;
8
+
9
+import java.util.List;
10
+
11
+public interface ProductMemberMapper extends BaseMapper<ProductMember> {
12
+
13
+    List<ProductMember> selectMember(ProductMember productMember);
14
+
15
+    void insertMember(ProductMember productMember);
16
+}

+ 16
- 0
webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/service/ProductService.java Ver fichero

@@ -0,0 +1,16 @@
1
+package com.webstudio.system.service;
2
+
3
+import com.webstudio.system.domain.BiddingDocument;
4
+import com.webstudio.system.domain.ProductMember;
5
+import com.webstudio.system.domain.Vacancy;
6
+
7
+import java.util.List;
8
+
9
+public interface ProductService {
10
+
11
+    List<ProductMember> selectMember(ProductMember productMember);
12
+
13
+    void saveMember(ProductMember productMember);
14
+
15
+    void removeMember(String memberUuid);
16
+}

+ 51
- 0
webstudio-modules/webstudio-modules-system/src/main/java/com/webstudio/system/service/impl/ProductServiceImpl.java Ver fichero

@@ -0,0 +1,51 @@
1
+package com.webstudio.system.service.impl;
2
+
3
+import com.webstudio.common.core.utils.StringUtils;
4
+import com.webstudio.common.core.utils.UuidUtils;
5
+import com.webstudio.system.api.RemoteFileService;
6
+import com.webstudio.system.api.domain.SysFile;
7
+import com.webstudio.system.domain.ProductMember;
8
+import com.webstudio.system.mapper.master.ProductMemberMapper;
9
+import com.webstudio.system.service.ISysEnumDataService;
10
+import com.webstudio.system.service.ProductService;
11
+import org.springframework.beans.factory.annotation.Autowired;
12
+import org.springframework.stereotype.Service;
13
+
14
+import java.util.List;
15
+
16
+@Service
17
+public class ProductServiceImpl implements ProductService {
18
+    @Autowired
19
+    private ProductMemberMapper productMemberMapper;
20
+    @Autowired
21
+    private RemoteFileService fileService;
22
+
23
+    @Override
24
+    public List<ProductMember> selectMember(ProductMember productMember) {
25
+        List<ProductMember> productMembers = productMemberMapper.selectMember(productMember);
26
+        for (ProductMember pm : productMembers){
27
+            if (StringUtils.isNotBlank(pm.getMemberPic())){
28
+                SysFile sysFileR = fileService.selectSysFileByUUID(pm.getMemberPic()).getData();
29
+                pm.setMemberPicUrl(sysFileR.getUrl());
30
+            }
31
+        }
32
+        return productMembers;
33
+    }
34
+
35
+    @Override
36
+    public void saveMember(ProductMember productMember) {
37
+        if (StringUtils.isNotBlank(productMember.getMemberUuid())){
38
+            productMemberMapper.updateById(productMember);
39
+        }else {
40
+            productMember.setMemberUuid(String.valueOf(UuidUtils.getGuid()));
41
+            productMemberMapper.insertMember(productMember);
42
+        }
43
+    }
44
+
45
+    @Override
46
+    public void removeMember(String memberUuid) {
47
+        productMemberMapper.deleteById(memberUuid);
48
+    }
49
+
50
+
51
+}

+ 11
- 5
webstudio-modules/webstudio-modules-system/src/main/resources/mapper/system/OtherMapper.xml Ver fichero

@@ -20,9 +20,9 @@
20 20
     <update id="updateSeo" parameterType="com.webstudio.system.domain.Seo">
21 21
         update seo
22 22
         <set>
23
-            <if test="title != null">bidding_title = #{title},</if>
24
-            <if test="digest != null">bidding_digest = #{digest},</if>
25
-            <if test="key != null">bidding_key = #{key},</if>
23
+            <if test="title != null">seo_title = #{title},</if>
24
+            <if test="digest != null">seo_digest = #{digest},</if>
25
+            <if test="key != null">seo_key = #{key},</if>
26 26
         </set>
27 27
         where seo_html = #{html}
28 28
     </update>
@@ -44,6 +44,9 @@
44 44
         <result property="email" column="footer_email"/>
45 45
         <result property="postcode" column="footer_postcode"/>
46 46
         <result property="wxImg" column="footer_wx_img"/>
47
+        <result property="baxx1" column="baxx1"/>
48
+        <result property="baxx2" column="baxx2"/>
49
+        <result property="baxx3" column="baxx3"/>
47 50
     </resultMap>
48 51
 
49 52
     <update id="updateFooter" parameterType="com.webstudio.system.domain.Footer">
@@ -55,12 +58,15 @@
55 58
             <if test="phone != null">footer_phone = #{phone},</if>
56 59
             <if test="email != null">footer_email = #{email},</if>
57 60
             <if test="postcode != null">footer_postcode = #{postcode},</if>
58
-            <if test="wxImg != null">footer_wx_img = #{wxImg}</if>
61
+            <if test="wxImg != null">footer_wx_img = #{wxImg},</if>
62
+            <if test="baxx1 != null">baxx1 = #{baxx1},</if>
63
+            <if test="baxx2 != null">baxx2 = #{baxx2},</if>
64
+            <if test="baxx3 != null">baxx3 = #{baxx3}</if>
59 65
         </set>
60 66
     </update>
61 67
 
62 68
     <select id="selectFooter" resultMap="FooterResult">
63
-        select footer_switchboard,footer_fax,footer_headquarter,footer_phone,footer_email,footer_postcode,footer_wx_img
69
+        select footer_switchboard,footer_fax,footer_headquarter,footer_phone,footer_email,footer_postcode,footer_wx_img,baxx1,baxx2,baxx3
64 70
         from footer
65 71
     </select>
66 72
 

+ 46
- 0
webstudio-modules/webstudio-modules-system/src/main/resources/mapper/system/ProcutMemberMapper.xml Ver fichero

@@ -0,0 +1,46 @@
1
+<?xml version="1.0" encoding="UTF-8" ?>
2
+<!DOCTYPE mapper
3
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
4
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
5
+<mapper namespace="com.webstudio.system.mapper.master.ProductMemberMapper">
6
+
7
+    <resultMap type="com.webstudio.system.domain.ProductMember" id="ProductMemberResult">
8
+        <result property="memberUuid" column="member_uuid"/>
9
+        <result property="memberTitle" column="member_title"/>
10
+        <result property="memberDescription" column="member_description"/>
11
+        <result property="memberLink" column="member_link"/>
12
+        <result property="memberPic" column="member_pic"/>
13
+        <result property="memberSort" column="member_sort"/>
14
+    </resultMap>
15
+
16
+    <select id="selectMember" parameterType="com.webstudio.system.domain.ProductMember" resultMap="ProductMemberResult">
17
+        select * from product_member
18
+        <where>
19
+            <if test="memberUuid != null and memberUuid != ''">
20
+                AND member_uuid = #{memberUuid}
21
+            </if>
22
+            <if test="memberTitle != null and memberTitle != ''">
23
+                AND member_title like concat(concat('%',#{memberTitle}),'%')
24
+            </if>
25
+        </where>
26
+        order by member_sort asc
27
+    </select>
28
+
29
+    <insert id="insertMember" parameterType="com.webstudio.system.domain.ProductMember">
30
+        insert into product_member (
31
+        <if test="memberUuid != null and memberUuid != ''">member_uuid</if>
32
+        <if test="memberTitle != null and memberTitle != ''">,member_title</if>
33
+        <if test="memberDescription != null and memberDescription != ''">,member_description</if>
34
+        <if test="memberPic != null and memberPic != ''">,member_pic</if>
35
+        <if test="memberLink != null and memberLink != ''">,member_link</if>
36
+        <if test="memberSort != null">,member_sort</if>
37
+        ) values (
38
+        <if test="memberUuid != null and memberUuid != ''">#{memberUuid}</if>
39
+        <if test="memberTitle != null and memberTitle != ''">,#{memberTitle}</if>
40
+        <if test="memberDescription != null and memberDescription != ''">,#{memberDescription}</if>
41
+        <if test="memberPic != null and memberPic != ''">,#{memberPic}</if>
42
+        <if test="memberLink != null and memberLink != ''">,#{memberLink}</if>
43
+        <if test="memberSort != null">,#{memberSort}</if>
44
+        )
45
+    </insert>
46
+</mapper>

Loading…
Cancelar
Guardar