huang
5 天以前 0dfdc8148cc266fd3e877183c5b162fb986d5c65
mes-processes/mes-plcSend/src/main/java/com/mes/vo/Result.java
@@ -5,7 +5,7 @@
/**
 * 统一API响应结果
 * 
 * @author zhoush
 * @author huang
 * @date 2025/10/29
 */
@Data
@@ -104,6 +104,7 @@
     * 判断是否成功
     */
    public boolean isSuccess() {
        return this.code != null && this.code == 200;
        // 使用Integer.valueOf避免自动拆箱问题
        return this.code != null && Integer.valueOf(200).equals(this.code);
    }
}