src/main/resources/mapper/ViewStayTimeMapper.xml
@@ -58,6 +58,11 @@ where 1=1 <include refid="viewStayTimeConditionSql"></include> ) t left join (select matnr as c ,store_max_date,store_max,store_min from man_mat) b on t.matnr = b.c left join (select matnr as f,sum(asr_loc_detl.anfme) as sum_qty from asr_loc_detl group by asr_loc_detl.matnr ) as z on z.f= b.c ) a where a.row between ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize}) </select>