package cn.hnthyy.thmz.mapper.his.zy;

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

public interface ZyWorkLogMapper {
    /**
     * 新增出院日志
     * @param zyWorkLog
     * @return
     */
    @Insert("insert into zy_work_log ( inpatient_no , admiss_times , ledger_sn , op_id , op_date , log_type , dept_code , ward_code , name ) " +
            "values ( #{inpatientNo} , #{admissTimes} , #{ledgerSn} , #{opId} , #{opDate} , #{logType} ,#{deptCode} , #{wardCode} , #{name} ) ")
    int insertZyWorkLog(ZyWorkLog zyWorkLog);
}
