@ -7,4 +7,5 @@ import lombok.Data;
public class FilterInvPreinDetailRequest extends ListPageRequest {
private String orderId;
private String code;
}
@ -12,6 +12,9 @@
<if test="orderId != null and orderId != ''">
AND ic.orderId = #{orderId}
</if>
<if test="code != null and code != ''">
and ic.code like concat('%',#{code},'%')
</where>
group by ic.id
</select>