This commit is contained in:
Guoqs
2026-04-15 10:30:58 +08:00
parent 1c30406323
commit 62bcad3007
2 changed files with 11 additions and 0 deletions

View File

@@ -15,6 +15,11 @@ public class GetInvoiceInfoDTO {
private Integer pageNum;
private Integer pageSize;
/**
* 勾选导出的申请开票记录id
*/
private Integer[] ids;
/**
* 会员id
*/

View File

@@ -204,6 +204,12 @@
<if test="dto.merchantId != null and dto.merchantId != ''"> and t1.merchant_id = #{dto.merchantId}</if>
<if test="dto.orderCodes != null and dto.orderCodes != ''"> and t1.order_codes like concat('%', #{dto.orderCodes}, '%')</if>
<if test="dto.status != null and dto.status != ''"> and t1.status = #{dto.status}</if>
<if test="dto.ids != null and dto.ids.length != 0">
and t1.id in
<foreach collection="dto.ids" item="id" open="(" separator="," close=")">
#{id,jdbcType=INTEGER}
</foreach>
</if>
order by t1.create_time desc
</select>