old mode 100644
new mode 100755
| | |
| | | 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; |
| | | |
| | |
| | | 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; |
| | | } |
| | | |
| | | |
| | |
| | | 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()); |
| | | } |
| | | |
| | | |