예제 #1
0
 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;
 }
예제 #2
0
 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);
     }
   }
 }
예제 #3
0
 public int checkDupId(ZValue zvl) throws Exception {
   return memberDAO.checkDupId(zvl);
 }
예제 #4
0
 public UsersVO selectMember(ZValue zvl) throws Exception {
   return memberDAO.selectMember(zvl);
 }
예제 #5
0
 public void updateUsersAuth(ZValue zvl) throws Exception {
   memberDAO.updateUsersAuth(zvl);
 }
예제 #6
0
 public void addUsersAuth(ZValue zvl) throws Exception {
   memberDAO.addUsersAuth(zvl);
 }
예제 #7
0
 public String selectAuthCodeByWebMemId(String webMemId) throws Exception {
   return memberDAO.selectAuthCodeByWebMemId(webMemId);
 }
예제 #8
0
 public ZValue findPassword(ZValue zvl) throws Exception {
   return memberDAO.findPassword(zvl);
 }
예제 #9
0
 public String findId(ZValue zvl) throws Exception {
   return memberDAO.findId(zvl);
 }
예제 #10
0
 public int checkDupPinno(String pinno) throws Exception {
   return memberDAO.checkDupPinno(pinno);
 }