java110
2023-06-14 d843fe668c29bd45c986bc915bcdb72a527e2776
service-fee/src/main/java/com/java110/fee/dao/impl/PayFeeDetailMonthServiceDaoImpl.java
@@ -6,7 +6,7 @@
import com.java110.utils.constant.ResponseConstant;
import com.java110.utils.exception.DAOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.java110.core.log.LoggerFactory;
import org.springframework.stereotype.Service;
import java.util.List;
@@ -77,11 +77,11 @@
    public void updatePayFeeDetailMonthInfo(Map info) throws DAOException {
        logger.debug("修改月缴费表信息Instance 入参 info : {}", info);
        int saveFlag = sqlSessionTemplate.update("payFeeDetailMonthServiceDaoImpl.updatePayFeeDetailMonthInfo", info);
         sqlSessionTemplate.update("payFeeDetailMonthServiceDaoImpl.updatePayFeeDetailMonthInfo", info);
        if (saveFlag < 1) {
            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "修改月缴费表信息Instance数据失败:" + JSONObject.toJSONString(info));
        }
//        if (saveFlag < 1) {
//            throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "修改月缴费表信息Instance数据失败:" + JSONObject.toJSONString(info));
//        }
    }
    /**
@@ -102,5 +102,28 @@
        return Integer.parseInt(businessPayFeeDetailMonthInfos.get(0).get("count").toString());
    }
    @Override
    public List<Map> queryPayFeeDetailMaxMonths(Map info) {
        logger.debug("查询queryPayFeeDetailMaxMonths信息 入参 info : {}", info);
        List<Map> businessPayFeeDetailMonthInfos = sqlSessionTemplate.selectList("payFeeDetailMonthServiceDaoImpl.queryPayFeeDetailMaxMonths", info);
        return businessPayFeeDetailMonthInfos;
    }
    @Override
    public List<Map> getWaitDispersedFeeDetail(Map info) {
        logger.debug("查询getWaitDispersedFeeDetail信息 入参 info : {}", info);
        List<Map> businessPayFeeDetailMonthInfos = sqlSessionTemplate.selectList("payFeeDetailMonthServiceDaoImpl.getWaitDispersedFeeDetail", info);
        return businessPayFeeDetailMonthInfos;
    }
    @Override
    public void deletePayFeeDetailMonthInfo(Map info) {
        sqlSessionTemplate.update("payFeeDetailMonthServiceDaoImpl.deletePayFeeDetailMonthInfo", info);
    }
}