bug尝试修复

This commit is contained in:
2025-08-01 14:33:43 +08:00
parent 7fd3a235eb
commit a47ea3b6f8

View File

@@ -258,7 +258,7 @@ public class IndustryMaterialController extends BaseController
@GetMapping("/nextStepFlag")
public AjaxResult nextStepFlag(){
Long flag = redisCache.getCacheObject("nextStepFlag");
if (Objects.nonNull(flag) && flag==0L){
if (Objects.isNull(flag) || flag==0L){
return AjaxResult.success(0);
}else{
return AjaxResult.success(1);
@@ -269,7 +269,7 @@ public class IndustryMaterialController extends BaseController
@GetMapping("/nextStepFlagError")
public AjaxResult nextStepFlagError(){
Long flag = redisCache.getCacheObject("nextStepFlagError");
if (Objects.nonNull(flag) && flag==0L){
if (Objects.isNull(flag) || flag==0L){
return AjaxResult.success(0);
}else{
return AjaxResult.success(1);