bug修复
This commit is contained in:
parent
96163bc587
commit
22e8d2e156
@ -118,6 +118,9 @@ public class RtRiskInventoryTypeServiceImpl extends ServiceImpl<RtRiskInventoryT
|
|||||||
type.setProcessName(m.get("工序"));
|
type.setProcessName(m.get("工序"));
|
||||||
//补零
|
//补零
|
||||||
String x = m.get("风险编号");
|
String x = m.get("风险编号");
|
||||||
|
if (StrUtil.isBlank(x)) {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
String z = "0";
|
String z = "0";
|
||||||
for (int i = 0; i < 8 - x.length(); i++) {
|
for (int i = 0; i < 8 - x.length(); i++) {
|
||||||
x = z + x;
|
x = z + x;
|
||||||
|
|||||||
@ -288,6 +288,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.antMatchers("/xmgl/rtDesignChangeContactSheet/page").permitAll()
|
.antMatchers("/xmgl/rtDesignChangeContactSheet/page").permitAll()
|
||||||
.antMatchers("/xmgl/rtProgressPaymentContract/page").permitAll()
|
.antMatchers("/xmgl/rtProgressPaymentContract/page").permitAll()
|
||||||
.antMatchers("/xmgl/rtProgressPaymentContract/countRtProgressPaymentContract").permitAll()
|
.antMatchers("/xmgl/rtProgressPaymentContract/countRtProgressPaymentContract").permitAll()
|
||||||
|
.antMatchers("/xmgl/rtConstructionDraw/page").permitAll()
|
||||||
|
.antMatchers("/xmgl/rtNewTechnologiesAndNewProcess/page").permitAll()
|
||||||
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
|
.antMatchers(HttpMethod.OPTIONS, "/**").anonymous()
|
||||||
.anyRequest().authenticated() // 剩下所有的验证都需要验证
|
.anyRequest().authenticated() // 剩下所有的验证都需要验证
|
||||||
.and()
|
.and()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user