package com.lyms.talkonlineweb.mapper;
import com.lyms.talkonlineweb.domain.LymsPatient;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
/**
* @Entity com.lyms.talkonlineweb.domain.LymsPatient
*/
public interface LymsPatientMapper extends BaseMapper<LymsPatient> {
@Update(" UPDATE lyms_patient SET ccnt = ccnt+#{cnt} WHERE id = #{id}")
int updatePatientCcnt(@Param("cnt") Integer cnt, @Param("id") Integer id);
}