public HashMap<String, Object> selectStaffList(ZValue zvl) throws Exception { HashMap<String, Object> map = new HashMap<String, Object>(); List<ZValue> resultList = memberDAO.selectStaffList(zvl); int resultListCnt = memberDAO.selectStaffListCnt(zvl); map.put("resultList", resultList); map.put("resultListCnt", resultListCnt); return map; }
public void applyUsersAuth(ZValue zvl) throws Exception { String authCode = zvl.getString("authCode"); String authName = zvl.getString("authName"); ArrayList<String> webMemIdList = zvl.getArrayList("webMemId"); for (String webMemId : webMemIdList) { ZValue param = new ZValue(); param.put("webMemId", webMemId); param.put("authCode", authCode); param.put("authName", authName); if (memberDAO.selectAuthCodeCntByWebMemId(webMemId) > 0) { memberDAO.updateUsersAuth(param); } else { memberDAO.addUsersAuth(param); } } }
public int checkDupId(ZValue zvl) throws Exception { return memberDAO.checkDupId(zvl); }
public UsersVO selectMember(ZValue zvl) throws Exception { return memberDAO.selectMember(zvl); }
public void updateUsersAuth(ZValue zvl) throws Exception { memberDAO.updateUsersAuth(zvl); }
public void addUsersAuth(ZValue zvl) throws Exception { memberDAO.addUsersAuth(zvl); }
public String selectAuthCodeByWebMemId(String webMemId) throws Exception { return memberDAO.selectAuthCodeByWebMemId(webMemId); }
public ZValue findPassword(ZValue zvl) throws Exception { return memberDAO.findPassword(zvl); }
public String findId(ZValue zvl) throws Exception { return memberDAO.findId(zvl); }
public int checkDupPinno(String pinno) throws Exception { return memberDAO.checkDupPinno(pinno); }