From bff91fc41a95f92766ea869768b1cdc894202920 Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期三, 21 八月 2024 13:45:54 +0800 Subject: [PATCH] 优化开卡、补卡返回值代码 --- pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cardOperate/CardOperateCtrl.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cardOperate/CardOperateCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cardOperate/CardOperateCtrl.java index 29a0cd6..32a7693 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cardOperate/CardOperateCtrl.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/cardOperate/CardOperateCtrl.java @@ -877,9 +877,9 @@ public BaseResponse<QueryResultVo<List<VoActiveCard>>> getActiveCards(QoActiveCard vo){ try { QueryResultVo<List<VoActiveCard>> res = cardOperateSv.getActiveCards(vo); - if(res.itemTotal == 0) { - return BaseResponseUtils.buildErrorMsg(SellResultCode.No_ActiveCards.getMessage()); - } +// if(res.itemTotal == 0) { +// return BaseResponseUtils.buildErrorMsg(SellResultCode.No_ActiveCards.getMessage()); +// } return BaseResponseUtils.buildSuccess(res); } catch (Exception e) { log.error("鑾峰彇寮�鍗¤褰曞紓甯�", e); @@ -906,9 +906,9 @@ public BaseResponse<QueryResultVo<List<VoReissueCard>>> getReissueCards(QoReissueCard vo){ try { QueryResultVo<List<VoReissueCard>> res = cardOperateSv.getReissueCards(vo); - if(res.itemTotal == 0) { - return BaseResponseUtils.buildErrorMsg(SellResultCode.No_ReissueCards.getMessage()); - } +// if(res.itemTotal == 0) { +// return BaseResponseUtils.buildErrorMsg(SellResultCode.No_ReissueCards.getMessage()); +// } return BaseResponseUtils.buildSuccess(res); } catch (Exception e) { log.error("鑾峰彇琛ュ崱璁板綍寮傚父", e); -- Gitblit v1.8.0