wuxw
2024-11-29 4f99cd84e383486ca0ccdd9ad982442b459c591a
优化充电券宫那个
1个文件已修改
10 ■■■■ 已修改文件
service-acct/src/main/java/com/java110/acct/dao/impl/CouponPropertyPoolDetailV1ServiceDaoImpl.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
service-acct/src/main/java/com/java110/acct/dao/impl/CouponPropertyPoolDetailV1ServiceDaoImpl.java
@@ -71,10 +71,10 @@
    public List<Map> getCouponPropertyPoolDetailInfo(Map info) throws DAOException {
        logger.debug("查询 getCouponPropertyPoolDetailInfo 入参 info : {}",info);
        List<Map> businessCouponPropertyPoolDetailInfos
        List<Map> infos
                = sqlSessionTemplate.selectList("couponPropertyPoolDetailV1ServiceDaoImpl.getCouponPropertyPoolDetailInfo",info);
        return businessCouponPropertyPoolDetailInfos;
        return infos;
    }
@@ -101,12 +101,12 @@
    public int queryCouponPropertyPoolDetailsCount(Map 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 Integer.parseInt(businessCouponPropertyPoolDetailInfos.get(0).get("count").toString());
        return Integer.parseInt(infos.get(0).get("count").toString());
    }