| | |
| | | </if> |
| | | |
| | | ) a ) b |
| | | WHERE 1=1 and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit}) |
| | | WHERE 1=1 |
| | | <if test="curr != null and curr !=''"> |
| | | and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit}) |
| | | </if> |
| | | |
| | | </select> |
| | | <select id="selectWorkCountInTotal" resultType="java.lang.Integer"> |
| | |
| | | and matnr = #{matnr} |
| | | </if> |
| | | ) a ) b |
| | | WHERE 1=1 and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit}) |
| | | WHERE 1=1 |
| | | <if test="curr != null and curr !=''"> |
| | | and b.row between ((#{curr}-1)*#{limit}+1) and (#{curr}*#{limit}) |
| | | </if> |
| | | </select> |
| | | <select id="selectWorkCountOutTotal" resultType="java.lang.Integer"> |
| | | SELECT COUNT(*) FROM asr_wrkout_count_view |