bug尝试修复
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user