Commit ef96e0e3 by Suvalue

添加更新日志

parent b6d583c1
spring.application.name=bsoftapi spring.application.name=bsoftapi
spring.profiles.active=test spring.profiles.active=test
#server.port=8080
#server.servlet.context-path=/api
mybatis.mapper-locations=classpath:mapper/*.xml mybatis.mapper-locations=classpath:mapper/*.xml
mybatis.type-aliases-package=com.bsoft.api.model mybatis.type-aliases-package=com.bsoft.api.model
......
...@@ -89,14 +89,14 @@ ...@@ -89,14 +89,14 @@
<if test="deptCode!=null"> <if test="deptCode!=null">
join (select ZBZBM,KSBM,SUM(ZLS) as ZLS join (select ZBZBM,KSBM,SUM(ZLS) as ZLS
from val_block_values_1_2_2 from val_block_values_1_2_2
where TIME=#{date} and ZLS>0 where `TIME`=#{date} and ZLS>0
and KSBM=#{deptCode,jdbcType=VARCHAR} and KSBM=#{deptCode,jdbcType=VARCHAR}
group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE
</if> </if>
<if test="deptCode==null"> <if test="deptCode==null">
join (select ZBZBM,SUM(ZLS) as ZLS join (select ZBZBM,SUM(ZLS) as ZLS
from val_block_values_1_1_2 from val_block_values_1_1_2
where TIME=#{date} and ZLS>0 where `TIME`=#{date} and ZLS>0
group by ZBZBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM) val on val.ZBZBM = d.MDC_CODE
</if> </if>
where 1 = 1 and STATE=1 where 1 = 1 and STATE=1
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
select DISTINCT d.ID, d.CREATE_DATE, d.CREATE_USERID, d.`STATE`, d.MDC_CODE, d.MDC_NAME, d.`DATE`,d.MDC_NUM, select DISTINCT d.ID, d.CREATE_DATE, d.CREATE_USERID, d.`STATE`, d.MDC_CODE, d.MDC_NAME, d.`DATE`,d.MDC_NUM,
d.PARENT_ID, d.`LEVEL`, d.ORG_ID, d.ORG_NAME,d.GROUP_TYPE d.PARENT_ID, d.`LEVEL`, d.ORG_ID, d.ORG_NAME,d.GROUP_TYPE
from SER_DISEASE d from SER_DISEASE d
where 1 = 1 and STATE=1 and rs.MDC_CODE=d.MDC_CODE where 1 = 1 and STATE=1
<if test="level!=null"> <if test="level!=null">
and d.`LEVEL` = #{level,jdbcType=DECIMAL} and d.`LEVEL` = #{level,jdbcType=DECIMAL}
</if> </if>
...@@ -122,14 +122,14 @@ ...@@ -122,14 +122,14 @@
<if test="deptCode!=null"> <if test="deptCode!=null">
join (select ZBZBM,KSBM,SUM(ZLS) as ZLS join (select ZBZBM,KSBM,SUM(ZLS) as ZLS
from val_block_values_1_2_2 from val_block_values_1_2_2
where TIME=#{date} and ZLS>0 where `TIME`=#{date} and ZLS>0
and KSBM=#{deptCode,jdbcType=VARCHAR} and KSBM=#{deptCode,jdbcType=VARCHAR}
group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE
</if> </if>
<if test="deptCode==null"> <if test="deptCode==null">
join (select ZBZBM,SUM(ZLS) as ZLS join (select ZBZBM,SUM(ZLS) as ZLS
from val_block_values_1_1_2 from val_block_values_1_1_2
where TIME=#{date} and ZLS>0 where `TIME`=#{date} and ZLS>0
group by ZBZBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM) val on val.ZBZBM = d.MDC_CODE
</if> </if>
where 1 = 1 and STATE=1 and STATE=1 where 1 = 1 and STATE=1 and STATE=1
...@@ -145,14 +145,14 @@ ...@@ -145,14 +145,14 @@
<if test="deptCode!=null"> <if test="deptCode!=null">
join (select ZBZBM,KSBM,SUM(ZLS) as ZLS join (select ZBZBM,KSBM,SUM(ZLS) as ZLS
from val_block_values_1_5_2 from val_block_values_1_5_2
where TIME=#{date} where `TIME`=#{date}
and KSBM=#{deptCode,jdbcType=VARCHAR} and KSBM=#{deptCode,jdbcType=VARCHAR}
group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM,KSBM) val on val.ZBZBM = d.MDC_CODE
</if> </if>
<if test="deptCode==null"> <if test="deptCode==null">
join (select ZBZBM,SUM(ZLS) as ZLS join (select ZBZBM,SUM(ZLS) as ZLS
from val_block_values_1_3_2 from val_block_values_1_3_2
where TIME=#{date} where `TIME`=#{date}
group by ZBZBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM) val on val.ZBZBM = d.MDC_CODE
</if> </if>
where 1 = 1 and STATE=1 and STATE=1 where 1 = 1 and STATE=1 and STATE=1
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
from SER_DISEASE d from SER_DISEASE d
join (select ZBZBM,SUM(ZLS) as ZLS join (select ZBZBM,SUM(ZLS) as ZLS
from val_block_values_1_1_2 from val_block_values_1_1_2
where TIME=#{date} and ZLS>0 where `TIME`=#{date} and ZLS>0
group by ZBZBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM) val on val.ZBZBM = d.MDC_CODE
where 1 = 1 and d.STATE=1 where 1 = 1 and d.STATE=1
<if test="diseaseId!=null"> <if test="diseaseId!=null">
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
from SER_DISEASE d from SER_DISEASE d
join (select ZBZBM,SUM(ZLS) as ZLS join (select ZBZBM,SUM(ZLS) as ZLS
from val_block_values_1_3_2 from val_block_values_1_3_2
where TIME=#{date} where `TIME`=#{date}
group by ZBZBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM) val on val.ZBZBM = d.MDC_CODE
where 1 = 1 and d.STATE=1 where 1 = 1 and d.STATE=1
<if test="diseaseId!=null"> <if test="diseaseId!=null">
...@@ -189,9 +189,9 @@ ...@@ -189,9 +189,9 @@
select DISTINCT d.ID, d.CREATE_DATE, d.CREATE_USERID, d.STATE, d.MDC_CODE, d.MDC_NAME, d.`DATE`,d.MDC_NUM, select DISTINCT d.ID, d.CREATE_DATE, d.CREATE_USERID, d.STATE, d.MDC_CODE, d.MDC_NAME, d.`DATE`,d.MDC_NUM,
d.PARENT_ID, d.`LEVEL`, d.ORG_ID, d.ORG_NAME,d.GROUP_TYPE,val.ZLS d.PARENT_ID, d.`LEVEL`, d.ORG_ID, d.ORG_NAME,d.GROUP_TYPE,val.ZLS
from SER_DISEASE d from SER_DISEASE d
join (select ZBZBM,SUM(ZLS) as ZLS left join (select ZBZBM,SUM(ZLS) as ZLS
from val_block_values_1_3_2 from val_block_values_1_3_2
where TIME=#{date} where `TIME`=#{date}
group by ZBZBM) val on val.ZBZBM = d.MDC_CODE group by ZBZBM) val on val.ZBZBM = d.MDC_CODE
where 1 = 1 and STATE=1 and STATE=1 where 1 = 1 and STATE=1 and STATE=1
<if test="diseaseId!=null"> <if test="diseaseId!=null">
......
时间:2020.07.13 版本号:1.02.0713001
时间:2020.07.13 版本号:1.02.0713001
后端更新说明:
1.病组目录添加总例数字段
\ No newline at end of file
...@@ -9,6 +9,7 @@ import springfox.documentation.spi.DocumentationType; ...@@ -9,6 +9,7 @@ import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spi.service.contexts.SecurityContext; import springfox.documentation.spi.service.contexts.SecurityContext;
import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2; import springfox.documentation.swagger2.annotations.EnableSwagger2;
import java.util.List; import java.util.List;
import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.Lists.newArrayList;
...@@ -19,7 +20,7 @@ public class SwaggerConfig { ...@@ -19,7 +20,7 @@ public class SwaggerConfig {
//是否开启swagger,正式环境一般是需要关闭的,可根据springboot的多环境配置进行设置 //是否开启swagger,正式环境一般是需要关闭的,可根据springboot的多环境配置进行设置
@Value(value = "${swagger.enabled:false}") @Value(value = "${swagger.enabled:false}")
Boolean swaggerEnabled = true; Boolean swaggerEnabled = true;
@Value("${swagger.basePackage:com.bsoft.api.controller}") @Value("${swagger.basePackage:com.bsoft.api.controller}")
String basePackage; String basePackage;
@Bean @Bean
...@@ -40,6 +41,7 @@ public class SwaggerConfig { ...@@ -40,6 +41,7 @@ public class SwaggerConfig {
return newArrayList( return newArrayList(
new ApiKey("Authorization", "Authorization", "header")); new ApiKey("Authorization", "Authorization", "header"));
} }
private List<SecurityContext> securityContexts() { private List<SecurityContext> securityContexts() {
return newArrayList( return newArrayList(
SecurityContext.builder() SecurityContext.builder()
...@@ -48,6 +50,7 @@ public class SwaggerConfig { ...@@ -48,6 +50,7 @@ public class SwaggerConfig {
.build() .build()
); );
} }
List<SecurityReference> defaultAuth() { List<SecurityReference> defaultAuth() {
AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything"); AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything");
AuthorizationScope[] authorizationScopes = new AuthorizationScope[1]; AuthorizationScope[] authorizationScopes = new AuthorizationScope[1];
......
...@@ -3,7 +3,7 @@ package com.suvalue.demo.atomicinteger; ...@@ -3,7 +3,7 @@ package com.suvalue.demo.atomicinteger;
public class AtomictIntegerTest { public class AtomictIntegerTest {
public static void main(String[] args) { public static void main(String[] args) {
} }
public void operator(){ public void operator(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment