zjh
2025-05-30 b7d7d80a8a9e9ac145a05b5e1d545b6b61fc0cc4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.ltkj.hosp.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ltkj.hosp.domain.TjUserAdvice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
@Mapper
public interface TjUserAdviceMapper extends BaseMapper<TjUserAdvice> {
 
 
    @Select("select * from tj_user_advice a where a.user_id=#{userId} and a.advice_id=#{adviceId}")
    TjUserAdvice getTjUserAdviceByUserId(@Param("userId") Long userId,@Param("adviceId") Long adviceId);
}