liusheng
2 天以前 da026a34bcc97b2eb49607a3b02d94d8f683f997
smartor/src/main/resources/mapper/smartor/PatMedDrugMapper.xml
@@ -61,7 +61,7 @@
    <select id="selectPatMedDrugList" parameterType="com.smartor.domain.PatMedDrug" resultMap="PatMedDrugResult">
        <include refid="selectPatMedDrugVo"/>
        <where>
        where 1=1
            <if test="serialnum != null  and serialnum != ''">and serialnum = #{serialnum}</if>
            <if test="patid != null ">and patid = #{patid}</if>
            <if test="drugname != null  and drugname != ''">and drugname like concat('%', #{drugname}, '%')</if>
@@ -79,7 +79,6 @@
            <if test="visitid != null ">and visitid = #{visitid}</if>
            <if test="schemestatus != null ">and schemestatus = #{schemestatus}</if>
            <if test="schemetime != null ">and schemetime = #{schemetime}</if>
        </where>
    </select>
    <select id="selectPatMedDrugById" parameterType="Long" resultMap="PatMedDrugResult">