陈昶聿
6 天以前 672412bddd714eed3191b5393b85ab2b22d70e00
smartor/src/main/resources/mapper/smartor/PatSatisfactionMapper.xml
@@ -58,8 +58,9 @@
    <select id="selectPatSatisfactionList" parameterType="com.smartor.domain.PatSatisfaction"
            resultMap="PatSatisfactionResult">
        <include refid="selectPatSatisfactionVo"/>
        <where>
            del_flag=0
        WHERE 1=1
            AND del_flag=0
            <if test="patName != null  and patName != ''">
                and pat_name like concat('%', #{patName}, '%')
            </if>
@@ -114,7 +115,7 @@
            <if test="endTime != null">
                AND date_format(update_time,'%y%m%d') &lt;= date_format(#{endTime},'%y%m%d')
            </if>
        </where>
    </select>
    <select id="selectPatSatisfactionById" parameterType="Long"