Package org.hamster.weixinmp.dao.entity.resp

Examples of org.hamster.weixinmp.dao.entity.resp.WxRespPicDescEntity


  }

  public WxRespPicDescEntity createRespPicDesc(
      List<WxItemPicDescEntity> articles, String fromUserName,
      String toUserName, Integer funcFlag) {
    WxRespPicDescEntity respPicDesc = new WxRespPicDescEntity();
    respPicDesc.setCreatedDate(new Date());
    respPicDesc.setCreateTime(WxUtil.currentTimeInSec());
    respPicDesc.setFromUserName(fromUserName);
    respPicDesc.setToUserName(toUserName);
    respPicDesc.setFuncFlag(funcFlag);
    respPicDesc.setMsgType(WxMsgRespType.NEWS);
    respPicDesc.setArticles(articles);
    if (respPicDescDao != null) {
      respPicDescDao.save(respPicDesc);
    } else {

    }
View Full Code Here


    return respPicDesc;
  }

  public WxRespPicDescEntity createRespPicDesc2(List<Long> articleIds,
      String fromUserName, String toUserName, Integer funcFlag) {
    WxRespPicDescEntity respPicDesc = new WxRespPicDescEntity();
    respPicDesc.setCreatedDate(new Date());
    respPicDesc.setCreateTime(WxUtil.currentTimeInSec());
    respPicDesc.setFromUserName(fromUserName);
    respPicDesc.setToUserName(toUserName);
    respPicDesc.setFuncFlag(funcFlag);
    respPicDesc.setMsgType(WxMsgRespType.NEWS);
    respPicDesc.setArticles(wxItemPicDescDao.findByIdIn(articleIds));
    if (respPicDescDao != null) {
      respPicDescDao.save(respPicDesc);
    } else {

    }
View Full Code Here

TOP

Related Classes of org.hamster.weixinmp.dao.entity.resp.WxRespPicDescEntity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.