package cn.hnthyy.thmz.mapper.his;

import cn.hnthyy.thmz.entity.his.MzBlRecord;
import org.apache.ibatis.annotations.Insert;

/**
 * 病历数据库操作接口
 */
public interface MzBlRecordMapper {
    @Insert("insert into mz_bl_record(patient_id,times,emr_no,emr_type,visit_date,doctor_code,dept_code,first_or_not,emr_chief_complaint,emr_hpi,emr_ps,emr_pe,emr_fzjc," +
            "emr_process,emr_xyy,emr_yypg,emr_gnpg,emr_jkjy) VALUES (#{patientId,jdbcType=CHAR}," +
            "#{times,jdbcType=INTEGER},#{emrNo,jdbcType=VARCHAR},#{emrType,jdbcType=CHAR},#{visitDate,jdbcType=TIMESTAMP},#{doctorCode,jdbcType=CHAR}," +
            "#{deptCode,jdbcType=VARCHAR},#{firstOrNot,jdbcType=CHAR},#{emrChiefComplaint,jdbcType=VARCHAR},#{emrHpi,jdbcType=VARCHAR},#{emrPs,jdbcType=VARCHAR}," +
            "#{emrPe,jdbcType=VARCHAR},#{emrFzjc,jdbcType=VARCHAR},#{emrProcess,jdbcType=VARCHAR},#{emrXyy,jdbcType=VARCHAR},#{emrYypg,jdbcType=VARCHAR}," +
            "#{emrGnpg,jdbcType=VARCHAR},#{emrJkjy,jdbcType=VARCHAR})")
    int insertMzBlRecord(MzBlRecord mzBlRecord);
}

