Kaynağa Gözat

虫害检查-01

hanqingsong 1 yıl önce
ebeveyn
işleme
5217785f27

+ 2 - 2
pom.xml

@@ -72,11 +72,11 @@
72 72
 		</dependency>
73 73
 
74 74
 		<!--log4j-->
75
-		<dependency>
75
+		<!--<dependency>
76 76
 			<groupId>log4j</groupId>
77 77
 			<artifactId>log4j</artifactId>
78 78
 			<version>1.2.17</version>
79
-		</dependency>
79
+		</dependency>-->
80 80
 
81 81
 		<dependency>
82 82
 			<groupId>org.springframework.boot</groupId>

+ 13 - 0
src/main/java/com/chinaitop/depot/storage/controller/InsectPestDetectionController.java

@@ -6,6 +6,7 @@ import java.util.Map;
6 6
 
7 7
 import javax.annotation.Resource;
8 8
 
9
+import org.springframework.web.bind.annotation.PathVariable;
9 10
 import org.springframework.web.bind.annotation.RequestMapping;
10 11
 import org.springframework.web.bind.annotation.RequestMethod;
11 12
 import org.springframework.web.bind.annotation.RestController;
@@ -150,4 +151,16 @@ public class InsectPestDetectionController {
150 151
         List<TCcdata> tccdataList = insectPestDetectionService.getInsectPestDeatil(example);
151 152
         return ResponseEntity.ok(tccdataList);
152 153
     }
154
+
155
+    // getCheckGrainAttribute
156
+    @RequestMapping(value = "/getCheckGrainAttribute/{orgId}/{houseId}/{warehouseId}", method = RequestMethod.GET)
157
+    @ApiOperation(value = "查询粮食品种,库存数量(吨)", notes = "粮食品种,库存数量(吨)")
158
+    @ApiImplicitParams({
159
+            @ApiImplicitParam(name = "orgId", value = "机构id", paramType = "path"),
160
+            @ApiImplicitParam(name = "houseId", value = "仓房id", paramType = "path"),
161
+            @ApiImplicitParam(name = "warehouseId", value = "货位id", paramType = "path")
162
+    })
163
+    public ResponseEntity getCheckGrainAttribute(@PathVariable("orgId") Integer orgId, @PathVariable("houseId") Integer houseId, @PathVariable("warehouseId") Integer warehouseId) {
164
+        return ResponseEntity.ok(insectPestDetectionService.getCheckGrainAttribute(orgId, houseId, warehouseId));
165
+    }
153 166
 }

+ 11 - 0
src/main/java/com/chinaitop/depot/storage/mapper/TCcdataMapper.java

@@ -38,4 +38,15 @@ public interface TCcdataMapper {
38 38
      * @return
39 39
      */
40 40
     List<Map<String,Object>> getJcd(Map<String, Object> map);
41
+
42
+    /**
43
+     * 查询最后一个检测单号
44
+     * @return
45
+     */
46
+    String getLastJCDH();
47
+
48
+    // 获取廒间编码-查询视图(货位id)
49
+    String getAJBM(@Param("hwCode") String hwCode);
50
+
51
+    TCcdata getCheckGrainAttribute(@Param("orgId") Integer orgId, @Param("houseId") Integer houseId, @Param("warehouseId") Integer warehouseId);
41 52
 }

+ 80 - 8
src/main/java/com/chinaitop/depot/storage/mapper/TCcdataMapper.xml

@@ -21,6 +21,10 @@
21 21
     <result column="hckyxfx" property="hckyxfx" jdbcType="VARCHAR" />
22 22
     <result column="fsbw" property="fsbw" jdbcType="VARCHAR" />
23 23
     <result column="hcjcdh" property="hcjcdh" jdbcType="VARCHAR" />
24
+    <result column="lypz" property="lypz" jdbcType="INTEGER" />
25
+    <result column="kcsl" property="kcsl" jdbcType="VARCHAR" />
26
+    <result column="commit_people" property="commitPeople" jdbcType="VARCHAR" />
27
+    <result column="commit_time" property="commitTime" jdbcType="TIMESTAMP" />
24 28
   </resultMap>
25 29
   <resultMap id="ResultMapWithBLOBs" type="com.chinaitop.depot.storage.model.TCcdata" extends="BaseResultMap" >
26 30
     <result column="c_image" property="cImage" jdbcType="LONGVARBINARY" />
@@ -86,7 +90,8 @@
86 90
   </sql>
87 91
   <sql id="Base_Column_List" >
88 92
     id, org_id, v_cc_code, v_hw_code, stand_or, stand_time, i_tdh, i_value, v_update_time, 
89
-    v_update_people, data_source, v_remark, updatetime, jchcff, hczl, cldjpd, hckyxfx, fsbw, hcjcdh
93
+    v_update_people, data_source, v_remark, updatetime, jchcff, hczl, cldjpd, hckyxfx, fsbw, hcjcdh,
94
+    lypz, kcsl, commit_people, commit_time
90 95
   </sql>
91 96
   <sql id="Blob_Column_List" >
92 97
     c_image, ckmdzjh
@@ -135,7 +140,7 @@
135 140
       i_tdh, i_value, v_update_time, 
136 141
       v_update_people, data_source, v_remark, 
137 142
       updatetime, jchcff, hczl, 
138
-      cldjpd, hckyxfx, c_image, ckmdzjh,fsbw, hcjcdh
143
+      cldjpd, hckyxfx, c_image, ckmdzjh,fsbw, hcjcdh, lypz, kcsl, commit_people, commit_time
139 144
       )
140 145
     values (#{id,jdbcType=VARCHAR}, #{orgId,jdbcType=VARCHAR}, #{vCcCode,jdbcType=VARCHAR}, 
141 146
       #{vHwCode,jdbcType=VARCHAR}, #{standOr,jdbcType=VARCHAR}, #{standTime,jdbcType=TIMESTAMP}, 
@@ -143,7 +148,8 @@
143 148
       #{vUpdatePeople,jdbcType=VARCHAR}, #{dataSource,jdbcType=VARCHAR}, #{vRemark,jdbcType=VARCHAR}, 
144 149
       #{updatetime,jdbcType=TIMESTAMP}, #{jchcff,jdbcType=VARCHAR}, #{hczl,jdbcType=VARCHAR}, 
145 150
       #{cldjpd,jdbcType=VARCHAR}, #{hckyxfx,jdbcType=VARCHAR}, #{cImage,jdbcType=LONGVARBINARY},
146
-      #{ckmdzjh,jdbcType=LONGVARBINARY},#{fsbw,jdbcType=VARCHAR},#{hcjcdh,jdbcType=VARCHAR}
151
+      #{ckmdzjh,jdbcType=LONGVARBINARY},#{fsbw,jdbcType=VARCHAR},#{hcjcdh,jdbcType=VARCHAR},
152
+      #{lypz,jdbcType=INTEGER},#{kcsl,jdbcType=VARCHAR},#{commitPeople,jdbcType=VARCHAR},#{commitTime,jdbcType=TIMESTAMP}
147 153
       )
148 154
   </insert>
149 155
   <insert id="insertSelective" parameterType="com.chinaitop.depot.storage.model.TCcdata" >
@@ -212,6 +218,18 @@
212 218
       <if test="hcjcdh != null">
213 219
         hcjcdh,
214 220
       </if>
221
+      <if test="lypz != null">
222
+        lypz,
223
+      </if>
224
+      <if test="kcsl != null">
225
+        kcsl,
226
+      </if>
227
+      <if test="commitPeople != null">
228
+        commit_people,
229
+      </if>
230
+      <if test="commitTime != null">
231
+        commit_time,
232
+      </if>
215 233
     </trim>
216 234
     <trim prefix="values (" suffix=")" suffixOverrides="," >
217 235
       <if test="id != null" >
@@ -277,6 +295,18 @@
277 295
       <if test="hcjcdh != null">
278 296
         #{hcjcdh,jdbcType=VARCHAR},
279 297
       </if>
298
+      <if test="lypz != null">
299
+        #{lypz,jdbcType=VARCHAR},
300
+      </if>
301
+      <if test="kcsl != null">
302
+        #{kcsl,jdbcType=VARCHAR},
303
+      </if>
304
+      <if test="commitPeople != null">
305
+        #{commitPeople,jdbcType=INTEGER},
306
+      </if>
307
+      <if test="commitTime != null">
308
+        #{commitTime,jdbcType=TIMESTAMP},
309
+      </if>
280 310
     </trim>
281 311
   </insert>
282 312
   <select id="countByExample" parameterType="com.chinaitop.depot.storage.model.TCcdataExample" resultType="java.lang.Integer" >
@@ -351,6 +381,18 @@
351 381
       <if test="record.hcjcdh != null">
352 382
         hcjcdh = #{record.hcjcdh,jdbcType=VARCHAR},
353 383
       </if>
384
+      <if test="record.lypz != null">
385
+        lypz = #{record.lypz,jdbcType=INTEGER},
386
+      </if>
387
+      <if test="record.kcsl != null">
388
+        kcsl = #{record.kcsl,jdbcType=VARCHAR},
389
+      </if>
390
+      <if test="record.commitPeople != null">
391
+        commit_people = #{record.commitPeople,jdbcType=VARCHAR},
392
+      </if>
393
+      <if test="record.commitTime != null">
394
+        commit_time = #{record.commitTime,jdbcType=TIMESTAMP},
395
+      </if>
354 396
     </set>
355 397
     <if test="_parameter != null" >
356 398
       <include refid="Update_By_Example_Where_Clause" />
@@ -377,7 +419,11 @@
377 419
       c_image = #{record.cImage,jdbcType=LONGVARBINARY},
378 420
       ckmdzjh = #{record.ckmdzjh,jdbcType=LONGVARBINARY},
379 421
       fsbw = #{record.fsbw,jdbcType=VARCHAR},
380
-      hcjcdh = #{record.hcjcdh,jdbcType=VARCHAR}
422
+      hcjcdh = #{record.hcjcdh,jdbcType=VARCHAR},
423
+      lypz = #{record.lypz,jdbcType=INTEGER},
424
+      kcsl = #{record.kcsl,jdbcType=VARCHAR},
425
+      commit_people = #{record.commitPeople,jdbcType=VARCHAR},
426
+      commit_time = #{record.commitTime,jdbcType=TIMESTAMP}
381 427
     <if test="_parameter != null" >
382 428
       <include refid="Update_By_Example_Where_Clause" />
383 429
     </if>
@@ -403,7 +449,11 @@
403 449
       c_image = #{cImage,jdbcType=LONGVARBINARY},
404 450
       ckmdzjh = #{ckmdzjh,jdbcType=LONGVARBINARY},
405 451
       fsbw = #{fsbw,jdbcType=VARCHAR},
406
-      hcjcdh = #{hcjcdh,jdbcType=VARCHAR}
452
+      hcjcdh = #{hcjcdh,jdbcType=VARCHAR},
453
+      lypz = #{record.lypz,jdbcType=INTEGER},
454
+      kcsl = #{record.kcsl,jdbcType=VARCHAR},
455
+      commit_people = #{record.commitPeople,jdbcType=VARCHAR},
456
+      commit_time = #{record.commitTime,jdbcType=TIMESTAMP}
407 457
     where id = #{id,jdbcType=VARCHAR}
408 458
   </update>
409 459
   <update id="updateByExample" parameterType="map" >
@@ -426,7 +476,11 @@
426 476
       cldjpd = #{record.cldjpd,jdbcType=VARCHAR},
427 477
       hckyxfx = #{record.hckyxfx,jdbcType=VARCHAR},
428 478
       fsbw = #{record.fsbw,jdbcType=VARCHAR},
429
-      hcjcdh = #{record.hcjcdh,jdbcType=VARCHAR}
479
+      hcjcdh = #{record.hcjcdh,jdbcType=VARCHAR},
480
+      lypz = #{record.lypz,jdbcType=INTEGER},
481
+      kcsl = #{record.kcsl,jdbcType=VARCHAR},
482
+      commit_people = #{record.commitPeople,jdbcType=VARCHAR},
483
+      commit_time = #{record.commitTime,jdbcType=TIMESTAMP}
430 484
     <if test="_parameter != null" >
431 485
       <include refid="Update_By_Example_Where_Clause" />
432 486
     </if>
@@ -435,14 +489,15 @@
435 489
   <insert id="insertBatch" parameterType="java.util.List">
436 490
     insert into t_ccdata (id, org_id, v_cc_code,
437 491
     i_tdh, i_value, v_update_time,
438
-    data_source, v_remark, c_image,hcjcdh
492
+    data_source, v_remark, c_image,hcjcdh,
493
+    lypz, kcsl, commit_people, commit_time
439 494
     )
440 495
     values
441 496
     <foreach collection="list" item="cc" index="index" separator=",">
442 497
       (#{cc.id,jdbcType=VARCHAR}, #{cc.orgId,jdbcType=VARCHAR}, #{cc.vCcCode,jdbcType=VARCHAR},
443 498
       #{cc.iTdh,jdbcType=INTEGER}, #{cc.iValue,jdbcType=INTEGER}, #{cc.vUpdateTime,jdbcType=TIMESTAMP},
444 499
       #{cc.dataSource,jdbcType=VARCHAR}, #{cc.vRemark,jdbcType=VARCHAR}, #{cc.cImage,jdbcType=LONGVARBINARY},
445
-      #{cc.hcjcdh,jdbcType=VARCHAR},
500
+      #{cc.hcjcdh,jdbcType=VARCHAR},#{lypz,jdbcType=INTEGER},#{kcsl,jdbcType=VARCHAR},#{commitPeople,jdbcType=VARCHAR},#{commitTime,jdbcType=TIMESTAMP}
446 501
       )
447 502
     </foreach>
448 503
   </insert>
@@ -484,4 +539,21 @@
484 539
       </if>
485 540
     </where>
486 541
   </select>
542
+  <select id="getLastJCDH" resultType="string">
543
+    select hcjcdh from t_ccdata where commit_time is not null order by commit_time desc
544
+  </select>
545
+  <select id="getAJBM" parameterType="string" resultType="string">
546
+    select ajdm from ods_up_hwxxjk_final where id = #{hwCode}
547
+  </select>
548
+  <select id="getCheckGrainAttribute" parameterType="integer" resultType="com.chinaitop.depot.storage.model.TCcdata">
549
+    select
550
+        sub_type lypz,
551
+        number_update/1000 kcsl
552
+    from
553
+        storage_qualitycheck
554
+    where
555
+        org_id = #{orgId}
556
+        and house_id = #{houseId}
557
+        and warehouse_id = #{warehouseId}
558
+  </select>
487 559
 </mapper>

+ 14 - 0
src/main/java/com/chinaitop/depot/storage/model/TCcdata.java

@@ -3,6 +3,8 @@ package com.chinaitop.depot.storage.model;
3 3
 import java.util.Date;
4 4
 
5 5
 import com.fasterxml.jackson.annotation.JsonFormat;
6
+import lombok.Getter;
7
+import lombok.Setter;
6 8
 
7 9
 public class TCcdata {
8 10
     private String id;
@@ -58,6 +60,18 @@ public class TCcdata {
58 60
      * 害虫检测单号
59 61
      */
60 62
     private String hcjcdh;
63
+    // 粮油品种
64
+    @Getter @Setter
65
+    private Integer lypz;
66
+    // 库存数量(吨)
67
+    @Getter @Setter
68
+    private String kcsl;
69
+    // 提交人
70
+    @Getter @Setter
71
+    private String commitPeople;
72
+    // 提交时间
73
+    @Getter @Setter
74
+    private String commitTime;
61 75
 
62 76
     /**
63 77
      * 测虫数据id

+ 2 - 0
src/main/java/com/chinaitop/depot/storage/service/InsectPestDetectionService.java

@@ -71,4 +71,6 @@ public interface InsectPestDetectionService {
71 71
      * @param insectPests
72 72
      */
73 73
 	void saveOrUpdate(String insectPests) throws Exception;
74
+
75
+    TCcdata getCheckGrainAttribute(Integer orgId, Integer houseId, Integer warehouseId);
74 76
 }

+ 13 - 2
src/main/java/com/chinaitop/depot/storage/service/impl/InsectPestDetectionServiceImpl.java

@@ -10,6 +10,7 @@ import java.util.Map;
10 10
 
11 11
 import javax.annotation.Resource;
12 12
 
13
+import com.chinaitop.depot.utils.OrderNumberUtil;
13 14
 import org.apache.commons.lang3.StringUtils;
14 15
 import org.springframework.stereotype.Service;
15 16
 import org.springframework.transaction.annotation.Transactional;
@@ -233,9 +234,14 @@ public class InsectPestDetectionServiceImpl implements InsectPestDetectionServic
233 234
     		tCcdata.setDataSource("1");//数据来源0是自动检测,1是手工录入
234 235
             tCcdata.setJchcff("0");
235 236
             //害虫检测单号
236
-            Map<String,Object> map = new HashMap<String, Object>();
237
+            String jcdhLast = tCcdataMapper.getLastJCDH();
238
+            // 获取廒间编码
239
+            String ajbm = tCcdataMapper.getAJBM(tCcdata.getvHwCode());
240
+            // 廒间编码+检测日期(yyyyMMdd)+4 位顺序号
241
+            String jcd = OrderNumberUtil.initNum(ajbm, 4, jcdhLast, tCcdata.getvUpdateTime());
242
+            /*Map<String,Object> map = new HashMap<String, Object>();
237 243
             map.put("warehouseId", tCcdata.getvHwCode());
238
-            String jcd = getJcd(map, ParameterUtil.getDateYMDHMS(tCcdata.getvUpdateTime()));
244
+            String jcd = getJcd(map, ParameterUtil.getDateYMDHMS(tCcdata.getvUpdateTime()));*/
239 245
             tCcdata.setHcjcdh(jcd);
240 246
             tCcdata.setUpdatetime(new Date());
241 247
     		tCcdataMapper.insert(tCcdata);
@@ -245,4 +251,9 @@ public class InsectPestDetectionServiceImpl implements InsectPestDetectionServic
245 251
     	}
246 252
 	}
247 253
 
254
+    @Override
255
+    public TCcdata getCheckGrainAttribute(Integer orgId, Integer houseId, Integer warehouseId) {
256
+        return tCcdataMapper.getCheckGrainAttribute(orgId, houseId, warehouseId);
257
+    }
258
+
248 259
 }

+ 3 - 7
src/main/java/com/chinaitop/depot/storage/utils/HTTPUtils.java

@@ -1,6 +1,7 @@
1 1
 package com.chinaitop.depot.storage.utils;
2 2
 
3 3
 
4
+import lombok.extern.slf4j.Slf4j;
4 5
 import org.apache.http.*;
5 6
 import org.apache.http.client.HttpClient;
6 7
 import org.apache.http.client.entity.UrlEncodedFormEntity;
@@ -14,8 +15,6 @@ import org.apache.http.impl.client.HttpClients;
14 15
 import org.apache.http.message.BasicNameValuePair;
15 16
 import org.apache.http.protocol.HTTP;
16 17
 import org.apache.http.util.EntityUtils;
17
-import org.apache.log4j.LogManager;
18
-import org.apache.log4j.Logger;
19 18
 
20 19
 import java.io.BufferedReader;
21 20
 import java.io.IOException;
@@ -28,12 +27,9 @@ import java.util.Map;
28 27
 
29 28
 //import org.apache.http.entity.mime.MultipartEntityBuilder;
30 29
 
30
+@Slf4j
31 31
 public class HTTPUtils {
32 32
 
33
-    private final static Logger logger = LogManager.getLogger(HTTPUtils.class);
34
-
35
-
36
-
37 33
     /**
38 34
      * get请求
39 35
      * @return
@@ -145,7 +141,7 @@ public class HTTPUtils {
145 141
                 return jsonString;
146 142
             }
147 143
             else{
148
-                logger.error("请求返回:"+state+"("+url+")");
144
+                log.error("请求返回: {}"+state+"("+url+")");
149 145
             }
150 146
         }
151 147
         finally {

+ 100 - 0
src/main/java/com/chinaitop/depot/utils/OrderNumberUtil.java

@@ -0,0 +1,100 @@
1
+package com.chinaitop.depot.utils;
2
+
3
+import org.apache.commons.lang.StringUtils;
4
+import org.springframework.util.ObjectUtils;
5
+
6
+import java.text.SimpleDateFormat;
7
+import java.time.LocalDate;
8
+import java.util.Date;
9
+
10
+/**
11
+ * @author qingsong.han
12
+ * @description: 生成单号
13
+ * @create 2024-11-13 19:28
14
+ */
15
+public class OrderNumberUtil {
16
+
17
+    /**
18
+     * int 定长拼接-后缀顺序号
19
+     *
20
+     * @param length 总长度
21
+     * @param param  参数
22
+     * @return 参数前补0
23
+     */
24
+    public static String integerToString(int length, int param) {
25
+        return String.format("%0" + length + "d", param);
26
+    }
27
+
28
+    /**
29
+     * 中缀
30
+     *
31
+     * @return yyyyMMdd
32
+     */
33
+    private static String getLocalDate() {
34
+        String now = LocalDate.now().toString();
35
+        return now.replaceAll("-", "");
36
+    }
37
+
38
+    /**
39
+     * @param f 前缀
40
+     * @return 前缀+中缀+后缀 拼接
41
+     */
42
+    public static String frontData(String f, int length, int param, Date date) {
43
+        String localDate = getLocalDate();
44
+        if (!ObjectUtils.isEmpty(date)) {
45
+            localDate = getYMD(date);
46
+        }
47
+        return String.format("%s%s%s", f, localDate, integerToString(length, param));
48
+    }
49
+
50
+    /**
51
+     * 主方法
52
+     * 调用生成完整规则序号: AJXXSJG + 20240622 + 002(数据库查询完整字符串:AJXXSJG20240622001)
53
+     * @param f 前缀
54
+     * @param length 位数必须大于0
55
+     * @param xh 字符串
56
+     * @param date 时间
57
+     * @return 尾数+1的编号
58
+     */
59
+    public synchronized static String initNum(String f, int length, String xh, Date date) {
60
+        // 初始化
61
+        int num = 1;
62
+        if (!StringUtils.isEmpty(xh)) {
63
+            String substring = xh.substring(xh.length() - length);
64
+            int i = Integer.parseInt(substring);
65
+            if (i < maxNum(length))
66
+                num += i;
67
+        }
68
+        return frontData(f, length, num, date);
69
+    }
70
+
71
+    /**
72
+     * 获取int位数的最大值:如6位->999999
73
+     * @param length int位数
74
+     * @return int
75
+     */
76
+    private static int maxNum(int length) {
77
+        if (0 < length) {
78
+            StringBuilder builder = new StringBuilder();
79
+            for (int i = 0; i < length; i++) {
80
+                builder.append(9);
81
+            }
82
+            return Integer.parseInt(builder.toString());
83
+        }
84
+        return 0;
85
+    }
86
+
87
+    // 获取日期格式化
88
+    public static String getYMD(Date param) {
89
+        SimpleDateFormat dateTime = new SimpleDateFormat("yyyyMMdd");
90
+        return dateTime.format(param);
91
+    }
92
+
93
+//    public static void main(String[] args) {
94
+//        System.out.println(frontData("JH",4, 2));
95
+//        System.out.println("-->" + maxNum(3));
96
+//        System.out.println("-->" + initNum("AJXXSJG", 3, "AJXXSJG20240622001"));
97
+//        System.out.println("-->" + initNum("3191120116103622208D010021", 4, "3191120116103622208D010021202411130001", new Date()));
98
+//    }
99
+
100
+}

+ 5 - 5
src/main/resources/bootstrap.yml

@@ -35,12 +35,12 @@ spring:
35 35
   # 数据库配置
36 36
   datasource:
37 37
     type: com.alibaba.druid.pool.DruidDataSource
38
-    #url: jdbc:gbasedbt-sqli://101.36.160.140:19089/depot:INFORMIXSERVER=gbaseserver;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
39
-    #username: gbasedbt
40
-    #password: cDbK2S0go8
41
-    url: jdbc:gbasedbt-sqli://200.2.68.126:9088/depot:INFORMIXSERVER=gbaseserver;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
38
+    url: jdbc:gbasedbt-sqli://101.36.160.140:19089/depot:INFORMIXSERVER=gbaseserver;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
42 39
     username: gbasedbt
43
-    password: GBase123
40
+    password: cDbK2S0go8
41
+    #url: jdbc:gbasedbt-sqli://200.2.68.126:9088/depot:INFORMIXSERVER=gbaseserver;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
42
+    #username: gbasedbt
43
+    #password: GBase123
44 44
     driver-class-name: com.gbasedbt.jdbc.IfxDriver
45 45
 
46 46
   # 缓存配置