예제 #1
0
 public Integer queryWebUserByParentIdUsertypeEncoded(
     String parentId, String encoded, String userType) {
   Map<String, Object> queryMap = new HashMap<String, Object>();
   queryMap.put("parentId", parentId);
   queryMap.put("userType", userType);
   queryMap.put("encoded", encoded);
   return webUserInfoDao.queryWebUserByParentIdUsertypeEncoded(queryMap);
 }
예제 #2
0
 public List<WebUserInfo> queryWebUserInfo(WebUserInfo webUserInfo) {
   Map<String, Object> queryMap = new HashMap<String, Object>();
   queryMap.put("id", webUserInfo.getId());
   queryMap.put("code", webUserInfo.getCode());
   queryMap.put("mobilephone", webUserInfo.getMobilephone());
   queryMap.put("companyId", webUserInfo.getCompanyId());
   queryMap.put("deletedFlag", webUserInfo.getDeletedFlag());
   return webUserInfoDao.queryWebUserInfo(queryMap);
 }
예제 #3
0
 public List<WebUserInfoDamain> querySonWebUserInfoPage(WebUserInfoDamain webUserInfoDamain) {
   List<WebUserInfoDamain> list = new ArrayList<WebUserInfoDamain>();
   Map<String, Object> queryMap = new HashMap<String, Object>();
   if (webUserInfoDamain != null) {
     if (StringUtils.isNotEmpty(webUserInfoDamain.getUserType())) {
       queryMap.put("userType", webUserInfoDamain.getUserType());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getParentId())) {
       queryMap.put("parentId", webUserInfoDamain.getParentId());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getCompanyName())) {
       queryMap.put("companyName", webUserInfoDamain.getCompanyName());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getCreateTimeStart())) {
       queryMap.put("createTimeStart", webUserInfoDamain.getCreateTimeStart());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getCreateTimeEnd())) {
       queryMap.put("createTimeEnd", webUserInfoDamain.getCreateTimeEnd());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getDeletedFlag())) {
       queryMap.put("deletedFlag", webUserInfoDamain.getDeletedFlag());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getCompanyProvince())) {
       queryMap.put("companyProvince", webUserInfoDamain.getCompanyProvince());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getCompanyCity())) {
       queryMap.put("companyCity", webUserInfoDamain.getCompanyCity());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getCompanyCounty())) {
       queryMap.put("companyCounty", webUserInfoDamain.getCompanyCounty());
     }
     if (webUserInfoDamain.getPageInfo() != null) {
       webUserInfoDamain
           .getPageInfo()
           .setTotalRecords(webUserInfoDao.querySonWebUserInfoPageCount(queryMap));
       queryMap.put("pageSize", webUserInfoDamain.getPageInfo().getPageSize());
       queryMap.put("curPage", webUserInfoDamain.getPageInfo().getCurPage());
       list = webUserInfoDao.querySonWebUserInfoPage(queryMap);
     } else {
       list = webUserInfoDao.querySonWebUserInfoList(queryMap);
     }
   }
   return list;
 }
예제 #4
0
 public List<WebUserInfoDamain> querySonWebUserInfoById(WebUserInfoDamain webUserInfoDamain) {
   List<WebUserInfoDamain> list = new ArrayList<WebUserInfoDamain>();
   Map<String, Object> queryMap = new HashMap<String, Object>();
   if (webUserInfoDamain != null) {
     if (StringUtils.isNotEmpty(webUserInfoDamain.getUserType())) {
       queryMap.put("userType", webUserInfoDamain.getUserType());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getParentId())) {
       queryMap.put("parentId", webUserInfoDamain.getParentId());
     }
     if (StringUtils.isNotEmpty(webUserInfoDamain.getId())) {
       queryMap.put("id", webUserInfoDamain.getId());
     }
     list = webUserInfoDao.querySonWebUserInfoList(queryMap);
   }
   return list;
 }
예제 #5
0
 public WebUserInfoDamain queryWebUserCompanyoyById(String id) {
   return webUserInfoDao.queryWebUserCompanyoyById(id);
 }
예제 #6
0
 public void updateUserFlag(Map<String, Object> map) {
   webUserInfoDao.updateUserFlag(map);
 }
예제 #7
0
 public WebUserInfo queryWebUserInfoByMobilephone(String mobilephone) {
   return webUserInfoDao.queryWebUserInfoByMobilephone(mobilephone);
 }
예제 #8
0
 public WebUserInfo queryWebUserInfoByCode(String code) {
   return webUserInfoDao.queryWebUserInfoByCode(code);
 }
예제 #9
0
 public WebUserInfo queryWebUserInfoById(String userId) {
   return webUserInfoDao.queryWebUserInfoById(userId);
 }
예제 #10
0
 public String getNextEncode() throws Exception {
   WebUserInfo info = webUserInfoDao.queryWebUserInfoEncoded();
   return PrimaryGenerater.generaterNextNumber(info.getEncoded());
 }