java110
2022-02-21 46eed722cd0431aa433bea2470b23015b8d83b3e
service-fee/src/main/java/com/java110/fee/dao/impl/FeeManualCollectionDetailServiceDaoImpl.java
old mode 100644 new mode 100755
@@ -7,7 +7,7 @@
import com.java110.core.base.dao.BaseServiceDao;
import com.java110.fee.dao.IFeeManualCollectionDetailServiceDao;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.java110.core.log.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -95,4 +95,22 @@
    }
    /**
     * 查询托收明细数量
     * @param info 托收明细信息
     * @return 托收明细数量
     */
    @Override
    public double queryFeeManualCollectionDetailTotalFee(Map info) {
        logger.debug("查询托收明细数据 入参 info : {}",info);
        List<Map> businessFeeManualCollectionDetailInfos = sqlSessionTemplate.selectList("feeManualCollectionDetailServiceDaoImpl.queryFeeManualCollectionDetailTotalFee", info);
        if (businessFeeManualCollectionDetailInfos.size() < 1) {
            return 0;
        }
        return Double.parseDouble(businessFeeManualCollectionDetailInfos.get(0).get("totalFee").toString());
    }
}