配置修改

This commit is contained in:
machao 2022-11-14 17:55:23 +08:00
parent 448aa856e9
commit 94c0e196ed
3 changed files with 4 additions and 2 deletions

View File

@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.antMatchers("/*/api-docs").anonymous()
.antMatchers("/druid/**").anonymous()
// // 除上面外的所有请求全部需要鉴权认证
//.anyRequest().authenticated()
.anyRequest().authenticated()
.and()
.headers().frameOptions().disable();
httpSecurity.logout().logoutUrl("/logout").logoutSuccessHandler(logoutSuccessHandler);

View File

@ -212,6 +212,7 @@ public class ESNOImpactSubzoneEntity {
this.obviouslyWorse = obviouslyWorse;
}
@Override
public String toString() {
return "ESNOImpactSubzoneEntity{id = " + id + ", type = " + type + ", year = " + year + ", region = " + region + ", regionEn = " + regionEn + ", vai = " + vai + ", obviouslyBetter = " + obviouslyBetter + ", slightlyBetter = " + slightlyBetter + ", unchanged = " + unchanged + ", slightlyWorse = " + slightlyWorse + ", obviouslyWorse = " + obviouslyWorse + "}";
}

View File

@ -184,6 +184,7 @@
from monitor_keqi_asia_rate
</select>
<select id="keqiCountryRate" resultMap="Monitor_KEQI_Country_Rate">
select mkcr.id,
mkcr.country,