新增通过采购订单明细id获取明细
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
package com.zt.plat.module.contractorder.api;
|
||||||
|
|
||||||
|
import com.zt.plat.framework.common.pojo.CommonResult;
|
||||||
|
import com.zt.plat.module.contractorder.api.dto.order.OrderDTO;
|
||||||
|
import com.zt.plat.module.contractorder.enums.ApiConstants;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@FeignClient(name = ApiConstants.NAME)
|
||||||
|
@Tag(name = "RPC 服务 - 订单")
|
||||||
|
public interface OrderApi {
|
||||||
|
String PREFIX = ApiConstants.PREFIX + "/order";
|
||||||
|
@PostMapping(PREFIX + "/order-by-order-ids")
|
||||||
|
@Operation(summary = "通过订单id获取订单信息", description = "通过订单编号获取订单信息")
|
||||||
|
CommonResult<List<OrderDTO>> getOrderByOrderIds(@RequestBody List<Long> ids);
|
||||||
|
|
||||||
|
@PostMapping(PREFIX + "/order-by-order-nos")
|
||||||
|
@Operation(summary = "通过订单号批量获取订单信息", description = "通过订单编号获取订单信息")
|
||||||
|
CommonResult<List<OrderDTO>> getOrderByOrderNos(@RequestBody List<String> orderNoS);
|
||||||
|
}
|
||||||
@@ -99,6 +99,11 @@ public class OrdDtlDTO {
|
|||||||
*/
|
*/
|
||||||
private String taxNum;
|
private String taxNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 税率 Y
|
||||||
|
*/
|
||||||
|
private BigDecimal taxRte;
|
||||||
|
|
||||||
// ========================== 采购订单特有属性(PrchOrdDtlDTO 独有)==========================
|
// ========================== 采购订单特有属性(PrchOrdDtlDTO 独有)==========================
|
||||||
/**
|
/**
|
||||||
* 含税单价;推送ERP(必须)
|
* 含税单价;推送ERP(必须)
|
||||||
@@ -271,10 +276,6 @@ public class OrdDtlDTO {
|
|||||||
*/
|
*/
|
||||||
private BigDecimal gross;
|
private BigDecimal gross;
|
||||||
|
|
||||||
/**
|
|
||||||
* 税率 Y
|
|
||||||
*/
|
|
||||||
private BigDecimal taxRte;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 价格条件详情;推送ERP(必须):JSON
|
* 价格条件详情;推送ERP(必须):JSON
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -274,6 +274,6 @@ public class PrchOrdDtlDO extends BusinessBaseDO {
|
|||||||
* 税率
|
* 税率
|
||||||
*/
|
*/
|
||||||
@TableField("TAX_RTE")
|
@TableField("TAX_RTE")
|
||||||
private String taxRte;
|
private BigDecimal taxRte;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user