Commit 5accc46a authored by daniel's avatar daniel

feat(invoice): 发票查询优化

parent 91c1f1de
...@@ -18,6 +18,9 @@ public class InvoiceParam { ...@@ -18,6 +18,9 @@ public class InvoiceParam {
@ApiModelProperty(value = "发票类型(1:普通发票,2:增值税专票)", notes = "发票类型(1:普通发票,2:增值税专票)") @ApiModelProperty(value = "发票类型(1:普通发票,2:增值税专票)", notes = "发票类型(1:普通发票,2:增值税专票)")
private String invoiceType; private String invoiceType;
@ApiModelProperty(value = "发票类型(1:普通发票,2:增值税专票)", notes = "发票类型(1:普通发票,2:增值税专票)")
private String markNo;
@ApiModelProperty(value = "开票方式(0:电子发票,1:纸质发票)", notes = "开票方式(0:电子发票,1:纸质发票)") @ApiModelProperty(value = "开票方式(0:电子发票,1:纸质发票)", notes = "开票方式(0:电子发票,1:纸质发票)")
private String paperInvoice; private String paperInvoice;
} }
\ No newline at end of file
...@@ -122,6 +122,9 @@ ...@@ -122,6 +122,9 @@
<if test="param.paperInvoice != null and param.paperInvoice != '' "> <if test="param.paperInvoice != null and param.paperInvoice != '' ">
and paper_invoice=#{param.paperInvoice} and paper_invoice=#{param.paperInvoice}
</if> </if>
<if test="param.markNo != null and param.markNo != '' ">
and mark_no=#{markNo}
</if>
</sql> </sql>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment