chengf
2025-09-24 c5065db1606300b0e4802bead9fe5bd06fdc1313
service-community/src/main/java/com/java110/community/smo/impl/IImportPropertyWhiteListfFlowServiceSMOImpl.java
@@ -36,8 +36,10 @@
    @Override
    public List<PropertyWhiteListFlowDto> queryPropertyWhiteListFlow(PropertyWhiteListFlowDto importOwnerRoomDtos) {
        importOwnerRoomDtos.setPage((importOwnerRoomDtos.getPage()-1)* importOwnerRoomDtos.getRow());
        return sqlSessionTemplate.selectList("propertyWhiteListFlowDaoImplMapper.queryPropertyWhiteListFlow",BeanConvertUtil.beanCovertMap(importOwnerRoomDtos));
        if (importOwnerRoomDtos.getPage() != null && importOwnerRoomDtos.getPage() > 0 && importOwnerRoomDtos.getRow() != null) {
            importOwnerRoomDtos.setPage((importOwnerRoomDtos.getPage()-1)* importOwnerRoomDtos.getRow());
        }
        return BeanConvertUtil.covertBeanList(sqlSessionTemplate.selectList("propertyWhiteListFlowDaoImplMapper.queryPropertyWhiteListFlow",BeanConvertUtil.beanCovertMap(importOwnerRoomDtos)),PropertyWhiteListFlowDto.class);
    }
    public int countPropertyWhiteListFlow(PropertyWhiteListFlowDto importOwnerRoomDtos) {
@@ -49,4 +51,18 @@
        return Integer.parseInt(businessPaymentPoolConfigInfos.get(0).get("count(1)").toString());
    }
    public int countPropertyWhiteListFlowFilter(PropertyWhiteListFlowDto importOwnerRoomDtos) {
        List<Map> businessPaymentPoolConfigInfos = sqlSessionTemplate.selectList("propertyWhiteListFlowDaoImplMapper.countPropertyWhiteListFlowFilter", BeanConvertUtil.beanCovertMap(importOwnerRoomDtos));
        if (businessPaymentPoolConfigInfos.size() < 1) {
            return 0;
        }
        return Integer.parseInt(businessPaymentPoolConfigInfos.get(0).get("count(1)").toString());
    }
    @Override
    public int updatePropertyWhiteListFlow(PropertyWhiteListFlowDto propertyWhiteListFlowDto) {
        return sqlSessionTemplate.update("propertyWhiteListFlowDaoImplMapper.updatePropertyWhiteListFlow", BeanConvertUtil.beanCovertMap(propertyWhiteListFlowDto));
    }
}