@ -22,5 +22,7 @@ public class FilterReceiveRequest extends ListPageRequest {
private String invCode;
private Integer status;
private Integer type;
}
@ -37,6 +37,15 @@
<if test="status != null">
AND status = #{status}
</if>
<if test="type == 1">
AND (status=1 or status=2)
<if test="type == 2">
AND (status=2)
<if test="type == 3">
AND (status=3 or status=4)
</where>
</select>
</mapper>