From ea84f710b449f931562ce649ff44cab05c15d9e0 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 10 七月 2024 18:07:15 +0800 Subject: [PATCH] 1、实现用水户日用水量水费统计; 2、靳总IC卡结构中卡号(用户号)由10位改为17位,相应协议也变化。 --- pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientCard/ClientCardCtrl.java | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientCard/ClientCardCtrl.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientCard/ClientCardCtrl.java index 8685ae7..a025279 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientCard/ClientCardCtrl.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientCard/ClientCardCtrl.java @@ -136,15 +136,6 @@ @GetMapping(path = "getcards") @SsoAop() public BaseResponse<QueryResultVo<List<VoCards>>> getcards(QoCards vo){ - // 濡傛灉浼犲叆鐨勬槸10浣嶇殑姘村崱缂栧彿锛屽崌涓�17浣嶆按鍗$紪鍙� - if(vo != null && vo.getCardNum() != null) { - String cardNumS = String.valueOf(vo.getCardNum()).trim(); - if(cardNumS.length() == 10) { - cardNumS = "100000" + cardNumS.substring(0,6) + "0" + cardNumS.substring(6); - vo.setCardNum(Long.parseLong(cardNumS)); - } - } - try { QueryResultVo<List<VoCards>> res = clientCardSv.getCards(vo); return BaseResponseUtils.buildSuccess(res); @@ -175,11 +166,6 @@ QueryResultVo<List<VoCards>> res = clientCardSv.getUnreplaced(vo); return BaseResponseUtils.buildSuccess(res); - //if(res.itemTotal != null && res.itemTotal > 0) { - // return BaseResponseUtils.buildSuccess(res); - //}else { - // return BaseResponseUtils.buildFail(SellResultCode.THE_CARD_NOT_EXIST.getMessage()); - //} } catch (Exception e) { log.error("鏌ヨ鍐滄埛寮傚父", e); return BaseResponseUtils.buildException(e.getMessage()) ; -- Gitblit v1.8.0