package thyyxxk.webserver.dao.his.zhuyuanyisheng;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.*;
import org.aspectj.apache.bcel.classfile.Code;
import thyyxxk.webserver.entity.datamodify.GetDropdownBox;
import thyyxxk.webserver.entity.dictionary.CodeName;
import thyyxxk.webserver.entity.zhuyuanyisheng.shoushu.OpRecord;
import thyyxxk.webserver.entity.zhuyuanyisheng.shoushu.ShouShuFanHui;
import thyyxxk.webserver.entity.zhuyuanyisheng.shoushu.TReqSurgicalDiag;
import thyyxxk.webserver.entity.zhuyuanyisheng.shoushu.ZdIcd9Cm3;
import thyyxxk.webserver.entity.zhuyuanyisheng.yizhuluru.XinZhenYiZhu;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
/**
*
* 描述: 手术申请
*
*
* @author xc
* @date 2022-02-22 15:45
*/
@Mapper
public interface ShouShuShenQingDao extends BaseMapper {
@Select("")
List obtainSurgicalItems(String name,
Integer type);
@Select("select code as code,name_doctor as name from op_level_management where code_op = #{code} ")
List getDoctorByOpCode(String code);
@Select("select rtrim(op_name) as value " +
"from op_record with (NOLOCK) " +
"where inpatient_no = #{patNo} " +
" and admiss_times = #{times}" +
" and op_name like #{name} ")
List