wuxw
2025-01-03 9aca14009b31ab4411c397de67717cf75e30d3ec
service-user/src/main/java/com/java110/user/dao/impl/StaffAppAuthServiceDaoImpl.java
old mode 100644 new mode 100755
@@ -7,7 +7,7 @@
import com.java110.core.base.dao.BaseServiceDao;
import com.java110.user.dao.IStaffAppAuthServiceDao;
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;
@@ -55,9 +55,9 @@
    public List<Map> getStaffAppAuthInfo(Map info) throws DAOException {
        logger.debug("查询员工微信认证信息 入参 info : {}",info);
        List<Map> businessStaffAppAuthInfos = sqlSessionTemplate.selectList("staffAppAuthServiceDaoImpl.getStaffAppAuthInfo",info);
        List<Map> infos = sqlSessionTemplate.selectList("staffAppAuthServiceDaoImpl.getStaffAppAuthInfo",info);
        return businessStaffAppAuthInfos;
        return infos;
    }
@@ -86,12 +86,12 @@
    public int queryStaffAppAuthsCount(Map info) {
        logger.debug("查询员工微信认证数据 入参 info : {}",info);
        List<Map> businessStaffAppAuthInfos = sqlSessionTemplate.selectList("staffAppAuthServiceDaoImpl.queryStaffAppAuthsCount", info);
        if (businessStaffAppAuthInfos.size() < 1) {
        List<Map> infos = sqlSessionTemplate.selectList("staffAppAuthServiceDaoImpl.queryStaffAppAuthsCount", info);
        if (infos.size() < 1) {
            return 0;
        }
        return Integer.parseInt(businessStaffAppAuthInfos.get(0).get("count").toString());
        return Integer.parseInt(infos.get(0).get("count").toString());
    }