|
@@ -148,7 +148,7 @@ public class VerifyPassStrategy extends AbstractBaseStrategy {
|
|
|
CustomClassName className = customClassNameMapper.selectByPrimaryKey(node.getSwitchHandleId());
|
|
|
Boolean findFlag = Boolean.FALSE; // 符合分支条件
|
|
|
// 分情况讨论,如果选择是自定义处理类
|
|
|
- if(className.getPublicFlag() == null || className.getPublicFlag() == 0){
|
|
|
+ if(className.getPublicFlag() != null && className.getPublicFlag().intValue() == YesNoEnum.YES.getValue()){
|
|
|
Object obj = BeanUtils.getBean(className.getHandleCode());
|
|
|
Class cla = obj.getClass();
|
|
|
try {
|