package com.jiuqi.mobile.nigo.comeclose.manager.app; import com.jiuqi.mobile.nigo.comeclose.bean.LoadOnGetList; import com.jiuqi.mobile.nigo.comeclose.bean.app.msg.SmsMass; import com.jiuqi.mobile.nigo.comeclose.bean.app.msg.SmsMassBean; import com.jiuqi.mobile.nigo.comeclose.exception.NiGoException; import com.jiuqi.mobile.nigo.comeclose.manager.ManagerAnnotation; import com.jiuqi.mobile.nigo.comeclose.portal.PortalAnnotation; import com.jiuqi.mobile.nigo.comeclose.portal.PortalMethodAnnctation; @ManagerAnnotation(implClass="com.jiuqi.mobile.nigo.biz.app.msg.SmsMassManagerImpl") @PortalAnnotation(implClass="com.jiuqi.mobile.nigo.biz.app.msg.SmsMassManagerImpl") public interface ISmsMassManager { /** * 发送短信 * @param bean * @throws NiGoException */ @PortalMethodAnnctation void send(SmsMass bean) throws NiGoException; /** * 发送短信验证码 * @param bean * @throws NiGoException */ @PortalMethodAnnctation void sendYZM(String mobile[]) throws NiGoException; /** * 对比短信验证码 * @param bean * @throws NiGoException */ @PortalMethodAnnctation String compareYZM(String yzm,String mobileNumber) throws NiGoException; /** * 修改短信 * @param bean * @throws NiGoException */ void update(SmsMass bean) throws NiGoException; /** * 我发送过的短信记录 * @param startTime * @param endTime * @return */ SmsMassBean[] getArrayByMain(Long startTime, Long endTime); /** * web端专用接口,android客户端禁用<br/> * 获得本级,及其下级(到县级)短信条数统计情况<br/> * 20130802调整为是0的也要 * @param superAreaCode * @return */ SmsMassList getByAreaCode(long areaCode); /** * web端专用接口,android客户端禁用<br/> * 获得省级<br/> * 20130802调整为是0的也要 * @return */ SmsMassList getByAreaCode(); /** * 根据areacode查询短信信息 * @param areaCode * @return */ LoadOnGetList<SmsMassBean> getSmsByAreaCode(SelectSmsKey key); /** * 根据条件查询发送短信信息(searchStr,guid) * @param key * @return */ LoadOnGetList<SmsMassBean> search(SelectSearchSmsKey key); }