|
|
@ -110,7 +110,9 @@ public class R extends HashMap<String, Object> { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Boolean isOk() { |
|
|
|
public Boolean isOk() { |
|
|
|
return this.get(OrderManagementConstant.CODE) != null && ConfigureConstant.INT_200 == Integer.parseInt(this.get(OrderManagementConstant.CODE).toString()); |
|
|
|
boolean isOk1 = this.get(OrderManagementConstant.CODE) != null && ConfigureConstant.INT_200 == Integer.parseInt(this.get(OrderManagementConstant.CODE).toString()); |
|
|
|
|
|
|
|
boolean isOk2 = this.get(OrderManagementConstant.CODE) != null && ConfigureConstant.STRING_0000.equals(this.get(OrderManagementConstant.CODE).toString()); |
|
|
|
|
|
|
|
return isOk1 || isOk2; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Boolean isError() { |
|
|
|
public Boolean isError() { |
|
|
|