配置修改

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("/*/api-docs").anonymous()
.antMatchers("/druid/**").anonymous() .antMatchers("/druid/**").anonymous()
// // 除上面外的所有请求全部需要鉴权认证 // // 除上面外的所有请求全部需要鉴权认证
//.anyRequest().authenticated() .anyRequest().authenticated()
.and() .and()
.headers().frameOptions().disable(); .headers().frameOptions().disable();
httpSecurity.logout().logoutUrl("/logout").logoutSuccessHandler(logoutSuccessHandler); httpSecurity.logout().logoutUrl("/logout").logoutSuccessHandler(logoutSuccessHandler);

View File

@ -212,6 +212,7 @@ public class ESNOImpactSubzoneEntity {
this.obviouslyWorse = obviouslyWorse; this.obviouslyWorse = obviouslyWorse;
} }
@Override
public String toString() { 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 + "}"; 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 from monitor_keqi_asia_rate
</select> </select>
<select id="keqiCountryRate" resultMap="Monitor_KEQI_Country_Rate"> <select id="keqiCountryRate" resultMap="Monitor_KEQI_Country_Rate">
select mkcr.id, select mkcr.id,
mkcr.country, mkcr.country,
@ -221,4 +222,4 @@
and #{end} >= mea.year and #{end} >= mea.year
</if> </if>
</select> </select>
</mapper> </mapper>