| | |
| | | |
| | | <select id="selectPatMedWeightList" parameterType="com.smartor.domain.PatMedWeight" resultMap="PatMedWeightResult"> |
| | | <include refid="selectPatMedWeightVo"/> |
| | | <where> |
| | | where 1=1 |
| | | <if test="serialnum != null and serialnum != ''"> and serialnum = #{serialnum}</if> |
| | | <if test="fatweight != null "> and fatweight = #{fatweight}</if> |
| | | <if test="bodyweight != null "> and bodyweight = #{bodyweight}</if> |
| | |
| | | <if test="sourcename != null and sourcename != ''"> and sourcename like concat('%', #{sourcename}, '%')</if> |
| | | <if test="visittype != null "> and visittype = #{visittype}</if> |
| | | <if test="visitid != null "> and visitid = #{visitid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatMedWeightById" parameterType="Long" resultMap="PatMedWeightResult"> |