|
@@ -62,7 +62,7 @@ public class VisitorMainModel extends SuperModel {
|
|
|
@Schema(description = "是否显示警告红点")
|
|
@Schema(description = "是否显示警告红点")
|
|
|
private Boolean isWarning = Boolean.FALSE;
|
|
private Boolean isWarning = Boolean.FALSE;
|
|
|
|
|
|
|
|
- public Boolean getWarning() {
|
|
|
|
|
|
|
+ public Boolean getIsWarning() {
|
|
|
if (state != null) {
|
|
if (state != null) {
|
|
|
if (state == VisitorState.Refuse) {
|
|
if (state == VisitorState.Refuse) {
|
|
|
return Boolean.TRUE;
|
|
return Boolean.TRUE;
|