123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
- <mapper namespace="com.xinxin.topro.inpnurseservice.mysqlmapper.ExpandOrderMapper" >
- <resultMap id="BaseResultMap" type="com.xinxin.topro.inpnurseservice.mysqlmodel.InpExpandOrder" >
- <id column="IEO_ID" property="ieoId" jdbcType="INTEGER" />
- <result column="HI_ID" property="hiId" jdbcType="INTEGER" />
- <result column="PatientNo" property="patientno" jdbcType="VARCHAR" />
- <result column="DD_DepDm" property="ddDepdm" jdbcType="VARCHAR" />
- <result column="DW_WardDm" property="dwWarddm" jdbcType="VARCHAR" />
- <result column="DB_BedNo" property="dbBedno" jdbcType="VARCHAR" />
- <result column="IEO_Order_ID" property="ieoOrderId" jdbcType="VARCHAR" />
- <result column="IEO_Order_Name" property="ieoOrderName" jdbcType="VARCHAR" />
- <result column="IEO_Opener" property="ieoOpener" jdbcType="VARCHAR" />
- <result column="IEO_Open_Time" property="ieoOpenTime" jdbcType="TIMESTAMP" />
- <result column="IEO_Pre_ExecTime" property="ieoPreExectime" jdbcType="TIMESTAMP" />
- <result column="IEO_Item_Explain" property="ieoItemExplain" jdbcType="VARCHAR" />
- <result column="IEO_Order_DepDm" property="ieoOrderDepdm" jdbcType="VARCHAR" />
- <result column="IEO_Order_WardDm" property="ieoOrderWarddm" jdbcType="VARCHAR" />
- <result column="IEO_Item_Code" property="ieoItemCode" jdbcType="VARCHAR" />
- <result column="IEO_Item_Name" property="ieoItemName" jdbcType="VARCHAR" />
- <result column="IEO_Dose" property="ieoDose" jdbcType="DOUBLE" />
- <result column="IEO_DoseUnit" property="ieoDoseunit" jdbcType="VARCHAR" />
- <result column="IEO_Med_Way" property="ieoMedWay" jdbcType="VARCHAR" />
- <result column="IEO_Order_Type" property="ieoOrderType" jdbcType="INTEGER" />
- <result column="IEO_Rate" property="ieoRate" jdbcType="VARCHAR" />
- <result column="IEO_Rate_Unit" property="ieoRateUnit" jdbcType="VARCHAR" />
- <result column="IEO_TakeMed_Way" property="ieoTakemedWay" jdbcType="INTEGER" />
- <result column="IEO_IsLucifugal" property="ieoIslucifugal" jdbcType="INTEGER" />
- <result column="IEO_IsLong" property="ieoIslong" jdbcType="INTEGER" />
- <result column="IEO_Item_OrderID" property="ieoItemOrderid" jdbcType="VARCHAR" />
- <result column="IEO_Bar_Code" property="ieoBarCode" jdbcType="VARCHAR" />
- <result column="IEO_Status" property="ieoStatus" jdbcType="INTEGER" />
- <result column="IMO_Med_Usage" property="imoMedUsage" jdbcType="VARCHAR" />
- <result column="IEO_Dosage_Form" property="ieoDosageForm" jdbcType="VARCHAR" />
- <result column="IEO_AdviceNo" property="ieoAdviceno" jdbcType="VARCHAR" />
- <result column="IEO_IsSkinTest" property="ieoIsskintest" jdbcType="INTEGER" />
- <result column="IEO_Expand_ID" property="ieoExpandId" jdbcType="VARCHAR" />
- <result column="IEO_PageID" property="ieoPageid" jdbcType="VARCHAR" />
- <result column="IEO_DrugValidity" property="ieoDrugvalidity" jdbcType="VARCHAR" />
- <result column="IEO_IsDoubleCheck" property="ieoIsdoublecheck" jdbcType="INTEGER" />
- <result column="IEO_DispensedStatus" property="ieoDispensedstatus" jdbcType="INTEGER" />
- <result column="IEO_DispensedTime" property="ieoDispensedtime" jdbcType="TIMESTAMP" />
- <result column="IEO_Entrust" property="ieoEntrust" jdbcType="VARCHAR" />
- <result column="IP_Name" property="ptName" jdbcType="VARCHAR" />
- <result column="DMW_Name" property="wayName" jdbcType="VARCHAR" />
- </resultMap>
- <sql id="Base_Column_List" >
- IEO_ID, HI_ID, PatientNo, DD_DepDm, DW_WardDm, DB_BedNo, IEO_Order_ID, IEO_Order_Name,
- IEO_Opener, IEO_Open_Time, IEO_Pre_ExecTime, IEO_Item_Explain, IEO_Order_DepDm, IEO_Order_WardDm,
- IEO_Item_Code, IEO_Item_Name, IEO_Dose, IEO_DoseUnit, IEO_Med_Way, IEO_Order_Type,
- IEO_Rate, IEO_Rate_Unit, IEO_TakeMed_Way, IEO_IsLucifugal, IEO_IsLong, IEO_Item_OrderID,
- IEO_Bar_Code, IEO_Status, IMO_Med_Usage, IEO_Dosage_Form, IEO_AdviceNo, IEO_IsSkinTest,
- IEO_Expand_ID, IEO_PageID, IEO_DrugValidity, IEO_IsDoubleCheck, IEO_DispensedStatus,
- IEO_DispensedTime, IEO_Entrust
- </sql>
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
- select
- <include refid="Base_Column_List" />
- from inp_expand_order
- where IEO_ID = #{ieoId,jdbcType=INTEGER}
- </select>
- <select id="selectOrderSignInfo" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
- select a.* ,b.IP_Name,d.DMW_Name
- from inp_expand_order a INNER JOIN inp_patient b on a.PatientNo = b.IP_PatientNo
- LEFT JOIN dic_med_way d on a.IEO_AdviceNo = d.DMW_Code
- where a.DW_WardDm = #{departNo}
- and a.IEO_Pre_ExecTime >= #{execSTime} and a.IEO_Pre_ExecTime <= #{execETime}
- AND (a.IEO_Order_Type = 2 OR a.IEO_Order_Type = 99) and a.HI_ID = #{visitZone}
- and a.IEO_Status = 3
- <if test='longOrTemp!=null'>
- and a.IEO_IsLong = #{longOrTemp}
- </if>
- <if test='beds!=null'>
- and a.DB_BedNo in <foreach item='item' index='index' collection='beds' open='(' separator=',' close=')'> #{item} </foreach>
- </if>
- and b.IP_Status = #{inHospitalStatus}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
- delete from inp_expand_order
- where IEO_ID = #{ieoId,jdbcType=INTEGER}
- </delete>
- <insert id="insert" parameterType="com.xinxin.topro.inpnurseservice.mysqlmodel.InpExpandOrder" >
- insert into inp_expand_order (IEO_ID, HI_ID, PatientNo,
- DD_DepDm, DW_WardDm, DB_BedNo,
- IEO_Order_ID, IEO_Order_Name, IEO_Opener,
- IEO_Open_Time, IEO_Pre_ExecTime, IEO_Item_Explain,
- IEO_Order_DepDm, IEO_Order_WardDm, IEO_Item_Code,
- IEO_Item_Name, IEO_Dose, IEO_DoseUnit,
- IEO_Med_Way, IEO_Order_Type, IEO_Rate,
- IEO_Rate_Unit, IEO_TakeMed_Way, IEO_IsLucifugal,
- IEO_IsLong, IEO_Item_OrderID, IEO_Bar_Code,
- IEO_Status, IMO_Med_Usage, IEO_Dosage_Form,
- IEO_AdviceNo, IEO_IsSkinTest, IEO_Expand_ID,
- IEO_PageID, IEO_DrugValidity, IEO_IsDoubleCheck,
- IEO_DispensedStatus, IEO_DispensedTime,
- IEO_Entrust)
- values (#{ieoId,jdbcType=INTEGER}, #{hiId,jdbcType=INTEGER}, #{patientno,jdbcType=VARCHAR},
- #{ddDepdm,jdbcType=VARCHAR}, #{dwWarddm,jdbcType=VARCHAR}, #{dbBedno,jdbcType=VARCHAR},
- #{ieoOrderId,jdbcType=VARCHAR}, #{ieoOrderName,jdbcType=VARCHAR}, #{ieoOpener,jdbcType=VARCHAR},
- #{ieoOpenTime,jdbcType=TIMESTAMP}, #{ieoPreExectime,jdbcType=TIMESTAMP}, #{ieoItemExplain,jdbcType=VARCHAR},
- #{ieoOrderDepdm,jdbcType=VARCHAR}, #{ieoOrderWarddm,jdbcType=VARCHAR}, #{ieoItemCode,jdbcType=VARCHAR},
- #{ieoItemName,jdbcType=VARCHAR}, #{ieoDose,jdbcType=DOUBLE}, #{ieoDoseunit,jdbcType=VARCHAR},
- #{ieoMedWay,jdbcType=VARCHAR}, #{ieoOrderType,jdbcType=INTEGER}, #{ieoRate,jdbcType=VARCHAR},
- #{ieoRateUnit,jdbcType=VARCHAR}, #{ieoTakemedWay,jdbcType=INTEGER}, #{ieoIslucifugal,jdbcType=INTEGER},
- #{ieoIslong,jdbcType=INTEGER}, #{ieoItemOrderid,jdbcType=VARCHAR}, #{ieoBarCode,jdbcType=VARCHAR},
- #{ieoStatus,jdbcType=INTEGER}, #{imoMedUsage,jdbcType=VARCHAR}, #{ieoDosageForm,jdbcType=VARCHAR},
- #{ieoAdviceno,jdbcType=VARCHAR}, #{ieoIsskintest,jdbcType=INTEGER}, #{ieoExpandId,jdbcType=VARCHAR},
- #{ieoPageid,jdbcType=VARCHAR}, #{ieoDrugvalidity,jdbcType=VARCHAR}, #{ieoIsdoublecheck,jdbcType=INTEGER},
- #{ieoDispensedstatus,jdbcType=INTEGER}, #{ieoDispensedtime,jdbcType=TIMESTAMP},
- #{ieoEntrust,jdbcType=VARCHAR})
- </insert>
- <insert id="insertSelective" parameterType="com.xinxin.topro.inpnurseservice.mysqlmodel.InpExpandOrder" >
- insert into inp_expand_order
- <trim prefix="(" suffix=")" suffixOverrides="," >
- <if test="ieoId != null" >
- IEO_ID,
- </if>
- <if test="hiId != null" >
- HI_ID,
- </if>
- <if test="patientno != null" >
- PatientNo,
- </if>
- <if test="ddDepdm != null" >
- DD_DepDm,
- </if>
- <if test="dwWarddm != null" >
- DW_WardDm,
- </if>
- <if test="dbBedno != null" >
- DB_BedNo,
- </if>
- <if test="ieoOrderId != null" >
- IEO_Order_ID,
- </if>
- <if test="ieoOrderName != null" >
- IEO_Order_Name,
- </if>
- <if test="ieoOpener != null" >
- IEO_Opener,
- </if>
- <if test="ieoOpenTime != null" >
- IEO_Open_Time,
- </if>
- <if test="ieoPreExectime != null" >
- IEO_Pre_ExecTime,
- </if>
- <if test="ieoItemExplain != null" >
- IEO_Item_Explain,
- </if>
- <if test="ieoOrderDepdm != null" >
- IEO_Order_DepDm,
- </if>
- <if test="ieoOrderWarddm != null" >
- IEO_Order_WardDm,
- </if>
- <if test="ieoItemCode != null" >
- IEO_Item_Code,
- </if>
- <if test="ieoItemName != null" >
- IEO_Item_Name,
- </if>
- <if test="ieoDose != null" >
- IEO_Dose,
- </if>
- <if test="ieoDoseunit != null" >
- IEO_DoseUnit,
- </if>
- <if test="ieoMedWay != null" >
- IEO_Med_Way,
- </if>
- <if test="ieoOrderType != null" >
- IEO_Order_Type,
- </if>
- <if test="ieoRate != null" >
- IEO_Rate,
- </if>
- <if test="ieoRateUnit != null" >
- IEO_Rate_Unit,
- </if>
- <if test="ieoTakemedWay != null" >
- IEO_TakeMed_Way,
- </if>
- <if test="ieoIslucifugal != null" >
- IEO_IsLucifugal,
- </if>
- <if test="ieoIslong != null" >
- IEO_IsLong,
- </if>
- <if test="ieoItemOrderid != null" >
- IEO_Item_OrderID,
- </if>
- <if test="ieoBarCode != null" >
- IEO_Bar_Code,
- </if>
- <if test="ieoStatus != null" >
- IEO_Status,
- </if>
- <if test="imoMedUsage != null" >
- IMO_Med_Usage,
- </if>
- <if test="ieoDosageForm != null" >
- IEO_Dosage_Form,
- </if>
- <if test="ieoAdviceno != null" >
- IEO_AdviceNo,
- </if>
- <if test="ieoIsskintest != null" >
- IEO_IsSkinTest,
- </if>
- <if test="ieoExpandId != null" >
- IEO_Expand_ID,
- </if>
- <if test="ieoPageid != null" >
- IEO_PageID,
- </if>
- <if test="ieoDrugvalidity != null" >
- IEO_DrugValidity,
- </if>
- <if test="ieoIsdoublecheck != null" >
- IEO_IsDoubleCheck,
- </if>
- <if test="ieoDispensedstatus != null" >
- IEO_DispensedStatus,
- </if>
- <if test="ieoDispensedtime != null" >
- IEO_DispensedTime,
- </if>
- <if test="ieoEntrust != null" >
- IEO_Entrust,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides="," >
- <if test="ieoId != null" >
- #{ieoId,jdbcType=INTEGER},
- </if>
- <if test="hiId != null" >
- #{hiId,jdbcType=INTEGER},
- </if>
- <if test="patientno != null" >
- #{patientno,jdbcType=VARCHAR},
- </if>
- <if test="ddDepdm != null" >
- #{ddDepdm,jdbcType=VARCHAR},
- </if>
- <if test="dwWarddm != null" >
- #{dwWarddm,jdbcType=VARCHAR},
- </if>
- <if test="dbBedno != null" >
- #{dbBedno,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderId != null" >
- #{ieoOrderId,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderName != null" >
- #{ieoOrderName,jdbcType=VARCHAR},
- </if>
- <if test="ieoOpener != null" >
- #{ieoOpener,jdbcType=VARCHAR},
- </if>
- <if test="ieoOpenTime != null" >
- #{ieoOpenTime,jdbcType=TIMESTAMP},
- </if>
- <if test="ieoPreExectime != null" >
- #{ieoPreExectime,jdbcType=TIMESTAMP},
- </if>
- <if test="ieoItemExplain != null" >
- #{ieoItemExplain,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderDepdm != null" >
- #{ieoOrderDepdm,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderWarddm != null" >
- #{ieoOrderWarddm,jdbcType=VARCHAR},
- </if>
- <if test="ieoItemCode != null" >
- #{ieoItemCode,jdbcType=VARCHAR},
- </if>
- <if test="ieoItemName != null" >
- #{ieoItemName,jdbcType=VARCHAR},
- </if>
- <if test="ieoDose != null" >
- #{ieoDose,jdbcType=DOUBLE},
- </if>
- <if test="ieoDoseunit != null" >
- #{ieoDoseunit,jdbcType=VARCHAR},
- </if>
- <if test="ieoMedWay != null" >
- #{ieoMedWay,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderType != null" >
- #{ieoOrderType,jdbcType=INTEGER},
- </if>
- <if test="ieoRate != null" >
- #{ieoRate,jdbcType=VARCHAR},
- </if>
- <if test="ieoRateUnit != null" >
- #{ieoRateUnit,jdbcType=VARCHAR},
- </if>
- <if test="ieoTakemedWay != null" >
- #{ieoTakemedWay,jdbcType=INTEGER},
- </if>
- <if test="ieoIslucifugal != null" >
- #{ieoIslucifugal,jdbcType=INTEGER},
- </if>
- <if test="ieoIslong != null" >
- #{ieoIslong,jdbcType=INTEGER},
- </if>
- <if test="ieoItemOrderid != null" >
- #{ieoItemOrderid,jdbcType=VARCHAR},
- </if>
- <if test="ieoBarCode != null" >
- #{ieoBarCode,jdbcType=VARCHAR},
- </if>
- <if test="ieoStatus != null" >
- #{ieoStatus,jdbcType=INTEGER},
- </if>
- <if test="imoMedUsage != null" >
- #{imoMedUsage,jdbcType=VARCHAR},
- </if>
- <if test="ieoDosageForm != null" >
- #{ieoDosageForm,jdbcType=VARCHAR},
- </if>
- <if test="ieoAdviceno != null" >
- #{ieoAdviceno,jdbcType=VARCHAR},
- </if>
- <if test="ieoIsskintest != null" >
- #{ieoIsskintest,jdbcType=INTEGER},
- </if>
- <if test="ieoExpandId != null" >
- #{ieoExpandId,jdbcType=VARCHAR},
- </if>
- <if test="ieoPageid != null" >
- #{ieoPageid,jdbcType=VARCHAR},
- </if>
- <if test="ieoDrugvalidity != null" >
- #{ieoDrugvalidity,jdbcType=VARCHAR},
- </if>
- <if test="ieoIsdoublecheck != null" >
- #{ieoIsdoublecheck,jdbcType=INTEGER},
- </if>
- <if test="ieoDispensedstatus != null" >
- #{ieoDispensedstatus,jdbcType=INTEGER},
- </if>
- <if test="ieoDispensedtime != null" >
- #{ieoDispensedtime,jdbcType=TIMESTAMP},
- </if>
- <if test="ieoEntrust != null" >
- #{ieoEntrust,jdbcType=VARCHAR},
- </if>
- </trim>
- </insert>
- <update id="updateByPrimaryKeySelective" parameterType="com.xinxin.topro.inpnurseservice.mysqlmodel.InpExpandOrder" >
- update inp_expand_order
- <set >
- <if test="hiId != null" >
- HI_ID = #{hiId,jdbcType=INTEGER},
- </if>
- <if test="patientno != null" >
- PatientNo = #{patientno,jdbcType=VARCHAR},
- </if>
- <if test="ddDepdm != null" >
- DD_DepDm = #{ddDepdm,jdbcType=VARCHAR},
- </if>
- <if test="dwWarddm != null" >
- DW_WardDm = #{dwWarddm,jdbcType=VARCHAR},
- </if>
- <if test="dbBedno != null" >
- DB_BedNo = #{dbBedno,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderId != null" >
- IEO_Order_ID = #{ieoOrderId,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderName != null" >
- IEO_Order_Name = #{ieoOrderName,jdbcType=VARCHAR},
- </if>
- <if test="ieoOpener != null" >
- IEO_Opener = #{ieoOpener,jdbcType=VARCHAR},
- </if>
- <if test="ieoOpenTime != null" >
- IEO_Open_Time = #{ieoOpenTime,jdbcType=TIMESTAMP},
- </if>
- <if test="ieoPreExectime != null" >
- IEO_Pre_ExecTime = #{ieoPreExectime,jdbcType=TIMESTAMP},
- </if>
- <if test="ieoItemExplain != null" >
- IEO_Item_Explain = #{ieoItemExplain,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderDepdm != null" >
- IEO_Order_DepDm = #{ieoOrderDepdm,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderWarddm != null" >
- IEO_Order_WardDm = #{ieoOrderWarddm,jdbcType=VARCHAR},
- </if>
- <if test="ieoItemCode != null" >
- IEO_Item_Code = #{ieoItemCode,jdbcType=VARCHAR},
- </if>
- <if test="ieoItemName != null" >
- IEO_Item_Name = #{ieoItemName,jdbcType=VARCHAR},
- </if>
- <if test="ieoDose != null" >
- IEO_Dose = #{ieoDose,jdbcType=DOUBLE},
- </if>
- <if test="ieoDoseunit != null" >
- IEO_DoseUnit = #{ieoDoseunit,jdbcType=VARCHAR},
- </if>
- <if test="ieoMedWay != null" >
- IEO_Med_Way = #{ieoMedWay,jdbcType=VARCHAR},
- </if>
- <if test="ieoOrderType != null" >
- IEO_Order_Type = #{ieoOrderType,jdbcType=INTEGER},
- </if>
- <if test="ieoRate != null" >
- IEO_Rate = #{ieoRate,jdbcType=VARCHAR},
- </if>
- <if test="ieoRateUnit != null" >
- IEO_Rate_Unit = #{ieoRateUnit,jdbcType=VARCHAR},
- </if>
- <if test="ieoTakemedWay != null" >
- IEO_TakeMed_Way = #{ieoTakemedWay,jdbcType=INTEGER},
- </if>
- <if test="ieoIslucifugal != null" >
- IEO_IsLucifugal = #{ieoIslucifugal,jdbcType=INTEGER},
- </if>
- <if test="ieoIslong != null" >
- IEO_IsLong = #{ieoIslong,jdbcType=INTEGER},
- </if>
- <if test="ieoItemOrderid != null" >
- IEO_Item_OrderID = #{ieoItemOrderid,jdbcType=VARCHAR},
- </if>
- <if test="ieoBarCode != null" >
- IEO_Bar_Code = #{ieoBarCode,jdbcType=VARCHAR},
- </if>
- <if test="ieoStatus != null" >
- IEO_Status = #{ieoStatus,jdbcType=INTEGER},
- </if>
- <if test="imoMedUsage != null" >
- IMO_Med_Usage = #{imoMedUsage,jdbcType=VARCHAR},
- </if>
- <if test="ieoDosageForm != null" >
- IEO_Dosage_Form = #{ieoDosageForm,jdbcType=VARCHAR},
- </if>
- <if test="ieoAdviceno != null" >
- IEO_AdviceNo = #{ieoAdviceno,jdbcType=VARCHAR},
- </if>
- <if test="ieoIsskintest != null" >
- IEO_IsSkinTest = #{ieoIsskintest,jdbcType=INTEGER},
- </if>
- <if test="ieoExpandId != null" >
- IEO_Expand_ID = #{ieoExpandId,jdbcType=VARCHAR},
- </if>
- <if test="ieoPageid != null" >
- IEO_PageID = #{ieoPageid,jdbcType=VARCHAR},
- </if>
- <if test="ieoDrugvalidity != null" >
- IEO_DrugValidity = #{ieoDrugvalidity,jdbcType=VARCHAR},
- </if>
- <if test="ieoIsdoublecheck != null" >
- IEO_IsDoubleCheck = #{ieoIsdoublecheck,jdbcType=INTEGER},
- </if>
- <if test="ieoDispensedstatus != null" >
- IEO_DispensedStatus = #{ieoDispensedstatus,jdbcType=INTEGER},
- </if>
- <if test="ieoDispensedtime != null" >
- IEO_DispensedTime = #{ieoDispensedtime,jdbcType=TIMESTAMP},
- </if>
- <if test="ieoEntrust != null" >
- IEO_Entrust = #{ieoEntrust,jdbcType=VARCHAR},
- </if>
- </set>
- where IEO_ID = #{ieoId,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.xinxin.topro.inpnurseservice.mysqlmodel.InpExpandOrder" >
- update inp_expand_order
- set HI_ID = #{hiId,jdbcType=INTEGER},
- PatientNo = #{patientno,jdbcType=VARCHAR},
- DD_DepDm = #{ddDepdm,jdbcType=VARCHAR},
- DW_WardDm = #{dwWarddm,jdbcType=VARCHAR},
- DB_BedNo = #{dbBedno,jdbcType=VARCHAR},
- IEO_Order_ID = #{ieoOrderId,jdbcType=VARCHAR},
- IEO_Order_Name = #{ieoOrderName,jdbcType=VARCHAR},
- IEO_Opener = #{ieoOpener,jdbcType=VARCHAR},
- IEO_Open_Time = #{ieoOpenTime,jdbcType=TIMESTAMP},
- IEO_Pre_ExecTime = #{ieoPreExectime,jdbcType=TIMESTAMP},
- IEO_Item_Explain = #{ieoItemExplain,jdbcType=VARCHAR},
- IEO_Order_DepDm = #{ieoOrderDepdm,jdbcType=VARCHAR},
- IEO_Order_WardDm = #{ieoOrderWarddm,jdbcType=VARCHAR},
- IEO_Item_Code = #{ieoItemCode,jdbcType=VARCHAR},
- IEO_Item_Name = #{ieoItemName,jdbcType=VARCHAR},
- IEO_Dose = #{ieoDose,jdbcType=DOUBLE},
- IEO_DoseUnit = #{ieoDoseunit,jdbcType=VARCHAR},
- IEO_Med_Way = #{ieoMedWay,jdbcType=VARCHAR},
- IEO_Order_Type = #{ieoOrderType,jdbcType=INTEGER},
- IEO_Rate = #{ieoRate,jdbcType=VARCHAR},
- IEO_Rate_Unit = #{ieoRateUnit,jdbcType=VARCHAR},
- IEO_TakeMed_Way = #{ieoTakemedWay,jdbcType=INTEGER},
- IEO_IsLucifugal = #{ieoIslucifugal,jdbcType=INTEGER},
- IEO_IsLong = #{ieoIslong,jdbcType=INTEGER},
- IEO_Item_OrderID = #{ieoItemOrderid,jdbcType=VARCHAR},
- IEO_Bar_Code = #{ieoBarCode,jdbcType=VARCHAR},
- IEO_Status = #{ieoStatus,jdbcType=INTEGER},
- IMO_Med_Usage = #{imoMedUsage,jdbcType=VARCHAR},
- IEO_Dosage_Form = #{ieoDosageForm,jdbcType=VARCHAR},
- IEO_AdviceNo = #{ieoAdviceno,jdbcType=VARCHAR},
- IEO_IsSkinTest = #{ieoIsskintest,jdbcType=INTEGER},
- IEO_Expand_ID = #{ieoExpandId,jdbcType=VARCHAR},
- IEO_PageID = #{ieoPageid,jdbcType=VARCHAR},
- IEO_DrugValidity = #{ieoDrugvalidity,jdbcType=VARCHAR},
- IEO_IsDoubleCheck = #{ieoIsdoublecheck,jdbcType=INTEGER},
- IEO_DispensedStatus = #{ieoDispensedstatus,jdbcType=INTEGER},
- IEO_DispensedTime = #{ieoDispensedtime,jdbcType=TIMESTAMP},
- IEO_Entrust = #{ieoEntrust,jdbcType=VARCHAR}
- where IEO_ID = #{ieoId,jdbcType=INTEGER}
- </update>
- </mapper>
|