Commit af35b1bd by 陈斌

Merge remote-tracking branch 'remotes/origin/feature/20210915_订单发票_chenbin'

parents 9b59bc53 727121e8
...@@ -128,6 +128,7 @@ public class OrderInvoiceAdapter { ...@@ -128,6 +128,7 @@ public class OrderInvoiceAdapter {
request.setInvoiceTypeCode(InvoiceTypeCodeEnum.ELECTRONIC_INVOICE.getBwType()); request.setInvoiceTypeCode(InvoiceTypeCodeEnum.ELECTRONIC_INVOICE.getBwType());
request.setInvoiceNo(UUID.randomUUID().toString().replaceAll("-", "")); request.setInvoiceNo(UUID.randomUUID().toString().replaceAll("-", ""));
request.setDrawer(createRequest.getDrawer()); request.setDrawer(createRequest.getDrawer());
request.setPriceTaxMark(CommonsConstant.CONSTANTS_ONE_STRING); //含税标记
// 订单商品明细 // 订单商品明细
List<InvoiceProductDetailRequest> productDetailList = new ArrayList<>(); List<InvoiceProductDetailRequest> productDetailList = new ArrayList<>();
......
...@@ -18,6 +18,8 @@ public class CommonsConstant { ...@@ -18,6 +18,8 @@ public class CommonsConstant {
public static final Integer CONSTANTS_ONE_INTEGER = 1; public static final Integer CONSTANTS_ONE_INTEGER = 1;
public static final String CONSTANTS_ONE_STRING = "1";
public static final String CONSTANTS_TWO_STRING = "2"; public static final String CONSTANTS_TWO_STRING = "2";
public static final Integer CONSTANTS_TWO_INTEGER = 2; public static final Integer CONSTANTS_TWO_INTEGER = 2;
......
...@@ -36,6 +36,9 @@ public class InvoiceCreateRequest { ...@@ -36,6 +36,9 @@ public class InvoiceCreateRequest {
@NotEmpty(message = "开票人不能为空") @NotEmpty(message = "开票人不能为空")
private String drawer; private String drawer;
@ApiModelProperty(value = "含税标志,默认不含税 {0-不含税,1-含税}")
private String priceTaxMark = "0";
@ApiModelProperty(value = "发票明细") @ApiModelProperty(value = "发票明细")
private List<InvoiceProductDetailRequest> productDetailList; private List<InvoiceProductDetailRequest> productDetailList;
} }
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