| 12345678910111213141516171819 |
- package thyyxxk.webserver.dao.his.chronicDisease;
- import com.baomidou.mybatisplus.core.mapper.BaseMapper;
- import org.apache.ibatis.annotations.Delete;
- import org.apache.ibatis.annotations.Mapper;
- import org.apache.ibatis.annotations.Param;
- import org.apache.ibatis.annotations.Select;
- import thyyxxk.webserver.entity.chronicDisease.CrmPatientTzxx;
- @Mapper
- public interface CrmPatientTzxxDao extends BaseMapper<CrmPatientTzxx> {
- @Select(" select * from crm_patient_tzxx where p_id = #{pId} and visit_times = #{visitTimes} ")
- CrmPatientTzxx selectCrmTzxxByPid(@Param("pId") String pId, @Param("visitTimes") Integer visitTimes);
- @Delete(" delete from crm_patient_tzxx where p_id = #{pId} and visit_times = #{visitTimes} ")
- int deleteCrmTzxxByPid(@Param("pId") String pId, @Param("visitTimes") Integer visitTimes);
- }
|