DracImCustomerCollectionMapper.java
1.35 KB
package cn.com.glsx.entmicro.mapper;
import cn.com.glsx.entmicro.entity.DracImCustomerCollection;
import cn.com.glsx.entmicro.model.request.drainage.DracImCustomerSearchPagelRequest;
import cn.com.glsx.entmicro.model.request.drainage.MessageListRequest;
import cn.com.glsx.entmicro.model.response.DracImCustomerCollectionResponse;
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.List;
@Mapper
public interface DracImCustomerCollectionMapper extends CommonBaseMapper<DracImCustomerCollection> {
List<DracImCustomerCollectionResponse> findByDracId(@Param("id") Integer id);
List<DracImCustomerCollectionResponse> findByUuid(@Param("uuid")String uuid);
void updateStatus(@Param("imId") Integer imId);
Page<DracImCustomerCollectionResponse> findAllByPage(@Param("condition") MessageListRequest condition);
DracImCustomerCollectionResponse findByIdAndPhone(@Param("imId") Integer imId, @Param("phone")String phone);
int findMessageStatic(@Param("merchantId") Integer merchantId, @Param("status")Integer status);
String findPhoneByState(@Param("state") String state);
Page<DracImCustomerCollectionResponse> dracCustomerConditionPageSearch(@Param("condition")DracImCustomerSearchPagelRequest condition);
}