Просмотр исходного кода

稻谷登统表添加脂肪酸值列

fanxw лет назад: 3
Родитель
Сommit
001a26d7a6

+ 12 - 2
src/main/java/com/chinaitop/agile/mapper/DataKcglKcswDefaultMapper.xml

@@ -1182,7 +1182,7 @@
1182 1182
             a.cph as cphm, b.sjcfbh as cf, b.sjhwbh as hw, c.enumname as lspz, d.enumname scnf,
1183 1183
             b.cpzsj as rq, b.xzklhjz as rksl, e.enumname lsdj, sf.sf, ccl.ccl, zjml.zjml, gwcm.gwcm, 
1184 1184
             hhl.hhl, zzzl.zzzl, wjzz.wjzz, yjzz.yjzz, bwslzl.bwslzl, wsl.wsl,csl.csl, bbl.bbl,syl.syl, sml.sml, 
1185
-            hlm.hlm, szqw.szqw, substr(be.enumname,0,2) ccfs   
1185
+            hlm.hlm, szqw.szqw, substr(be.enumname,0,2) ccfs,zfsz.zfsz   
1186 1186
         FROM (select * from (select *,row_number() over(partition by BizNo order by 1) rn
1187 1187
               from data_crkyw_rmdj_default)t1 where t1.rn = 1) a
1188 1188
         inner JOIN data_crkyw_cpz_default b ON a.BizNo = b.BizNo
@@ -1353,6 +1353,16 @@
1353 1353
             	and jyxx.unitid = #{orgId} 
1354 1354
 		     </if>
1355 1355
         ) szqw on szqw.bizno = a.bizno
1356
+        left join(
1357
+             select jyxx.bizno,flt.jyz as zfsz
1358
+             from (select * from (select *,row_number() over(partition by BizNo order by 1) rn
1359
+              from data_crkyw_jyxx_default)t1 where t1.rn = 1) jyxx
1360
+             left join data_crkyw_jyxx_flt_001 flt on jyxx.DataID = flt.maindataid
1361
+             where flt.zbxmc = '2c9080d37394cccc0173992177eb0055'
1362
+			 <if test="orgId != null">
1363
+            	and jyxx.unitid = #{orgId} 
1364
+		     </if>
1365
+        ) zfsz on szqw.bizno = a.bizno
1356 1366
         WHERE nvl(a.BizNo,'-1') != '-1' and  a.lspz = '3166'
1357 1367
 		<if test="orgId != null">
1358 1368
         	and jyxx.unitid = #{orgId} 
@@ -1376,7 +1386,7 @@
1376 1386
 		select rice.clbh cphm,rice.cfmc cf,rice.hwmc hw,rice.pzmc lspz,rice.scnd scnf,
1377 1387
 			rice.rkrq rq,rice.rksl*1000 rksl,rice.dj lsdj,rice.sf,rice.ccl,rice.zjml,
1378 1388
 			rice.gwcm,rice.hhl,rice.zzzl,rice.wjzz,rice.yjzz,rice.bwslzl,rice.wsl,rice.csl,rice.bbl,
1379
-			rice.syl,rice.sml,rice.hlm,rice.szqw,rice.ccfs
1389
+			rice.syl,rice.sml,rice.hlm,rice.szqw,rice.ccfs,'' zfsz
1380 1390
 		from depot:record_rice_info rice
1381 1391
 		left join depot:basic_storehouse storehouse on storehouse.org_id = rice.org_id and storehouse.del_flag = 1
1382 1392
 			 and storehouse.library_type = 0 and storehouse.storehouse_name = rice.cfmc

+ 1 - 1
src/main/java/com/chinaitop/agile/service/impl/RegistrationServiceImpl.java

@@ -583,7 +583,7 @@ public class RegistrationServiceImpl implements RegistrationService{
583 583
 			hssfCell15.setCellValue((String)list.get(i).get("hhl"));
584 584
 			hssfCell16.setCellValue((String)list.get(i).get("szqw"));
585 585
 			hssfCell18.setCellValue((String)list.get(i).get("ccfs"));
586
-			hssfCell17.setCellValue((String)list.get(i).get("zbxmc"));
586
+			hssfCell17.setCellValue((String)list.get(i).get("zfsz"));
587 587
 			hssfCell1.setCellStyle(contentStyle);
588 588
 			hssfCell2.setCellStyle(contentStyle);
589 589
 			hssfCell3.setCellStyle(contentStyle);

+ 7 - 71
src/main/resources/bootstrap.yml

@@ -1,33 +1,26 @@
1
-spring:
2
-  profiles:
3
-    active: prop
4
-
5 1
 server:
6 2
   port: 9026
7 3
   tomcat:
8 4
     uri-encoding: utf-8
9 5
 
10
----
11 6
 # 注册中心配置
12 7
 eureka:
13 8
   client:
14 9
     service-url:
15 10
       defaultZone: http://localhost:9001/eureka/
16
-    register-with-eureka: false
17
-    fetchRegistry: false
18 11
   instance:
19
-    prefer-ip-address: true
12
+    #prefer-ip-address: true
20 13
     # 每隔10s发送一次心跳(默认30s)
21 14
     lease-renewal-interval-in-seconds: 10
22 15
     # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
23 16
     lease-expiration-duration-in-seconds: 30
24
-    status-page-url: http://172.16.0.16:9026/swagger-ui.html
17
+    status-page-url: http://localhost:9026/swagger-ui.html
25 18
 
26 19
 mybatis:
27 20
   config-location: classpath:mybatis/mybatis-config.xml
28 21
 
29 22
 spring:
30
-  profiles: local
23
+  #profiles: local
31 24
   application:
32 25
     name: depot-agile
33 26
   # 数据库配置
@@ -38,6 +31,10 @@ spring:
38 31
     url: jdbc:gbasedbt-sqli://101.36.160.140:19089/lsreport_ts:INFORMIXSERVER=gbaseserver;NEWCODESET=GB18030,GB18030-2000,5488;DB_LOCALE=zh_cn.GB18030-2000;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8
39 32
     username: gbasedbt
40 33
     password: cDbK2S0go8
34
+    #政务云数据库
35
+    #url: jdbc:gbasedbt-sqli://111.164.113.172:666/lsreport_ts:INFORMIXSERVER=gbaseserver;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
36
+    #username: gbasedbt
37
+    #password: GBase123
41 38
 
42 39
   # 缓存配置
43 40
   session:
@@ -67,64 +64,3 @@ spring:
67 64
 
68 65
 web:
69 66
   upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static
70
-
71
----
72
-# 注册中心配置
73
-eureka:
74
-  client:
75
-    service-url:
76
-      defaultZone: http://localhost:9001/eureka/
77
-    register-with-eureka: false
78
-    fetchRegistry: false
79
-  instance:
80
-    prefer-ip-address: true
81
-    # 每隔10s发送一次心跳(默认30s)
82
-    lease-renewal-interval-in-seconds: 10
83
-    # 告知服务端30秒还未收到心跳的话,就将该服务移除列表(默认90s)
84
-    lease-expiration-duration-in-seconds: 30
85
-    status-page-url: http://172.16.0.16:9026/swagger-ui.html
86
-
87
-mybatis:
88
-  config-location: classpath:mybatis/mybatis-config.xml
89
-
90
-spring:
91
-  profiles: prop
92
-  application:
93
-    name: depot-agile
94
-  # 数据库配置
95
-  datasource:
96
-    type: com.alibaba.druid.pool.DruidDataSource
97
-    driver-class-name: com.gbasedbt.jdbc.IfxDriver
98
-    #政务云数据库
99
-    url: jdbc:gbasedbt-sqli://111.164.113.172:666/lsreport_ts:INFORMIXSERVER=gbaseserver;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;
100
-    username: gbasedbt
101
-    password: GBase123
102
-
103
-  # 缓存配置
104
-  session:
105
-    store-type: redis
106
-  redis:
107
-    database: 3
108
-    host: 127.0.0.1
109
-    port: 6379
110
-    password:
111
-    timeout: 3000
112
-    jedis:
113
-      pool:
114
-        max-active: 8
115
-        max-wait: -1
116
-        max-idle: 8
117
-        min-idle: 0
118
-  jackson:
119
-    date-format: yyyy-MM-dd
120
-    time-zone: GMT+8
121
-  servlet:
122
-    multipart:
123
-      max-file-size: 10Mb
124
-      max-request-size: 10Mb
125
-  # 静态资源配置
126
-  resources:
127
-    static-locations: classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/,file:${web.upload-path}
128
-
129
-web:
130
-  upload-path: /home/depot/depot-web/apache-tomcat-8.0.53/webapps/ROOT/WEB-INF/classes/static