zjh
2025-04-14 ff8914dab90da51dc8d46010f4f658780d5dba0e
ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjCustomerBlackMapper.java
@@ -3,7 +3,11 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltkj.hosp.domain.TjCustomerBlack;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface TjCustomerBlackMapper extends BaseMapper<TjCustomerBlack> {
    @Select("SELECT * FROM tj_customer_black a WHERE a.cus_id=#{cusId} AND a.is_expiration='N'")
    TjCustomerBlack isTjCustomerBlack(String cusId);
}