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