bug修复

This commit is contained in:
guo 2023-12-28 16:35:01 +08:00
parent 96163bc587
commit 22e8d2e156
2 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,9 @@ public class RtRiskInventoryTypeServiceImpl extends ServiceImpl<RtRiskInventoryT
type.setProcessName(m.get("工序"));
//补零
String x = m.get("风险编号");
if (StrUtil.isBlank(x)) {
return type;
}
String z = "0";
for (int i = 0; i < 8 - x.length(); i++) {
x = z + x;

View File

@ -288,6 +288,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/xmgl/rtDesignChangeContactSheet/page").permitAll()
.antMatchers("/xmgl/rtProgressPaymentContract/page").permitAll()
.antMatchers("/xmgl/rtProgressPaymentContract/countRtProgressPaymentContract").permitAll()
.antMatchers("/xmgl/rtConstructionDraw/page").permitAll()
.antMatchers("/xmgl/rtNewTechnologiesAndNewProcess/page").permitAll()
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
.anyRequest().authenticated() // 剩下所有的验证都需要验证
.and()