| | |
| | | <if test="intakeName != null and intakeName != ''"> |
| | | and pint.name like CONCAT('%', #{intakeName,jdbcType=VARCHAR}, '%') |
| | | </if> |
| | | <if test="lossAmountGreaterOrEqual != null "> |
| | | and rldl.loss_amount >= #{lossAmountGreaterOrEqual,jdbcType=DOUBLE} |
| | | </if> |
| | | <if test="startDt != null"> |
| | | and rldl.dt >= #{startDt,jdbcType=DATE} |
| | | </if> |
| | |
| | | <if test="intakeName != null and intakeName != ''"> |
| | | and pint.name like CONCAT('%', #{intakeName,jdbcType=VARCHAR}, '%') |
| | | </if> |
| | | <if test="lossAmountGreaterOrEqual != null "> |
| | | and rldl.loss_amount >= #{lossAmountGreaterOrEqual,jdbcType=DOUBLE} |
| | | </if> |
| | | <if test="startDt != null"> |
| | | and rldl.dt >= #{startDt,jdbcType=DATE} |
| | | </if> |
| | |
| | | and rldl.dt <= #{endDt,jdbcType=DATE} |
| | | </if> |
| | | </where> |
| | | ORDER BY rldl.dt DESC, rldl.loss_amount DESC |
| | | <!-- <if test="pageCurr != null and pageSize != null">--> |
| | | <!-- LIMIT ${(pageCurr-1)*pageSize}, ${pageSize}--> |
| | | <!-- </if>--> |
| | | ORDER BY rldl.dt_last DESC |
| | | <trim prefix="limit "> |
| | | <if test="start != null and count != null"> |
| | | #{start,javaType=Integer,jdbcType=INTEGER}, #{count,javaType=Integer,jdbcType=INTEGER} |