소스 검색

优化充电券宫那个

wuxw 1 년 전
부모
커밋
4f99cd84e3
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      service-acct/src/main/java/com/java110/acct/dao/impl/CouponPropertyPoolDetailV1ServiceDaoImpl.java

+ 5 - 5
service-acct/src/main/java/com/java110/acct/dao/impl/CouponPropertyPoolDetailV1ServiceDaoImpl.java

@@ -71,10 +71,10 @@ public class CouponPropertyPoolDetailV1ServiceDaoImpl extends BaseServiceDao imp
     public List<Map> getCouponPropertyPoolDetailInfo(Map info) throws DAOException {
     public List<Map> getCouponPropertyPoolDetailInfo(Map info) throws DAOException {
         logger.debug("查询 getCouponPropertyPoolDetailInfo 入参 info : {}",info);
         logger.debug("查询 getCouponPropertyPoolDetailInfo 入参 info : {}",info);
 
 
-        List<Map> businessCouponPropertyPoolDetailInfos
+        List<Map> infos
                 = sqlSessionTemplate.selectList("couponPropertyPoolDetailV1ServiceDaoImpl.getCouponPropertyPoolDetailInfo",info);
                 = sqlSessionTemplate.selectList("couponPropertyPoolDetailV1ServiceDaoImpl.getCouponPropertyPoolDetailInfo",info);
 
 
-        return businessCouponPropertyPoolDetailInfos;
+        return infos;
     }
     }
 
 
 
 
@@ -101,12 +101,12 @@ public class CouponPropertyPoolDetailV1ServiceDaoImpl extends BaseServiceDao imp
     public int queryCouponPropertyPoolDetailsCount(Map info) {
     public int queryCouponPropertyPoolDetailsCount(Map info) {
         logger.debug("查询 queryCouponPropertyPoolDetailsCount 入参 info : {}",info);
         logger.debug("查询 queryCouponPropertyPoolDetailsCount 入参 info : {}",info);
 
 
-        List<Map> businessCouponPropertyPoolDetailInfos = sqlSessionTemplate.selectList("couponPropertyPoolDetailV1ServiceDaoImpl.queryCouponPropertyPoolDetailsCount", info);
-        if (businessCouponPropertyPoolDetailInfos.size() < 1) {
+        List<Map> infos = sqlSessionTemplate.selectList("couponPropertyPoolDetailV1ServiceDaoImpl.queryCouponPropertyPoolDetailsCount", info);
+        if (infos.size() < 1) {
             return 0;
             return 0;
         }
         }
 
 
-        return Integer.parseInt(businessCouponPropertyPoolDetailInfos.get(0).get("count").toString());
+        return Integer.parseInt(infos.get(0).get("count").toString());
     }
     }