KdYdCustomerReferrerMapper.java 712 B

12345678910111213141516171819202122232425
  1. package com.malk.huagao.mapper;
  2. import com.malk.huagao.entity.KdYdCustomer;
  3. import com.malk.huagao.entity.KdYdCustomerReferrer;
  4. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  5. import org.apache.ibatis.annotations.Select;
  6. import java.time.LocalDateTime;
  7. import java.util.List;
  8. /**
  9. * <p>
  10. * Mapper 接口
  11. * </p>
  12. *
  13. * @author LQY
  14. * @since 2025-10-14
  15. */
  16. public interface KdYdCustomerReferrerMapper extends BaseMapper<KdYdCustomerReferrer> {
  17. @Select("SELECT id, formInstId, tjruuid, bm, update_time FROM KD_YD_CUSTOMER_REFERRER " +
  18. "WHERE update_time >= #{startTime} " +
  19. "AND bm IS NOT NULL")
  20. List<KdYdCustomerReferrer> selectRecentUpdated(LocalDateTime startTime);
  21. }