ScrmBatchMessagingMapper.java
1.8 KB
package cn.com.glsx.entmicro.mapper;
import cn.com.glsx.entmicro.entity.wechatcloudcontrol.batchmessaging.BatchMessagingDO;
import cn.com.glsx.entmicro.entity.wechatcloudcontrol.batchmessaging.CloudEncryptionIdRelation;
import cn.com.glsx.entmicro.model.response.wechatcloudcontrol.batchmessaging.BatchMessagingRecordResponse;
import com.github.pagehelper.Page;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
@Mapper
public interface ScrmBatchMessagingMapper extends CommonBaseMapper<BatchMessagingDO> {
List<CloudEncryptionIdRelation> selectUseridBefEncryptionByOneId(@Param("merchantId") Integer merchantId, @Param("oneIdList") List<String> oneIdList,
@Param("staffIdList") List<Integer> staffIdList,
@Param("customerIdList") List<Integer> customerIdList,
@Param("staffCloudIdList") List<String> staffCloudIdList,
@Param("customerCloudIdList") List<String> customerCloudIdList);
Page<BatchMessagingRecordResponse> selectBatchMessagingByCondition(@Param("merchantId") Integer merchantId, @Param("msgName") String msgName,
@Param("startTime") Date startTime, @Param("endTime") Date endTime,
@Param("msgMerchantName") String msgMerchantName);
Integer selectBatchMessagingIdByRequestKey(@Param("requestKey") String requestKey, @Param("msgState") Integer msgState);
}