LymsPatientMapper.java 530 Bytes
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
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);
}