1、修改bug
This commit is contained in:
@@ -2,7 +2,7 @@ package com.zt.plat.module.contractorder.api;
|
||||
|
||||
|
||||
import com.zt.plat.framework.common.pojo.CommonResult;
|
||||
import com.zt.plat.module.contractorder.api.dto.PurchaseOrderWithDetailsDTO;
|
||||
import com.zt.plat.module.contractorder.api.dto.order.PurchaseOrderWithDetailsDTO;
|
||||
import com.zt.plat.module.contractorder.api.dto.contract.ContractRespDTO;
|
||||
import com.zt.plat.module.contractorder.api.vo.contract.ContractSaveReqVO;
|
||||
import com.zt.plat.module.contractorder.api.vo.contract.international.ContractRequest;
|
||||
@@ -11,7 +11,6 @@ import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.zt.plat.module.contractorder.api.dto;
|
||||
package com.zt.plat.module.contractorder.api.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.zt.plat.module.contractorder.api.dto;
|
||||
package com.zt.plat.module.contractorder.api.dto.order;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@@ -189,5 +189,12 @@ public class PurchaseOrderWithDetailsDTO {
|
||||
* 订单类型
|
||||
*/
|
||||
private String splyBsnTp;
|
||||
private List<PrchOrdDtlDTO> orderDetails;
|
||||
/**
|
||||
* 采购订单明细
|
||||
*/
|
||||
private List<PrchOrdDtlDTO> prchOrdDtlDTOS;
|
||||
/**
|
||||
* 消费订单明细
|
||||
*/
|
||||
private List<SalesOrdDtlDTO> salesOrdDtlDTOS;
|
||||
}
|
||||
@@ -0,0 +1,137 @@
|
||||
package com.zt.plat.module.contractorder.api.dto.order;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
@Data
|
||||
public class SalesOrdDtlDTO {
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
|
||||
private Long id;
|
||||
/**
|
||||
* 订单主键
|
||||
*/
|
||||
|
||||
private Long orderId;
|
||||
/**
|
||||
* 行项目;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private Long lineNumber;
|
||||
/**
|
||||
* 物料名称
|
||||
*/
|
||||
|
||||
private String materialName;
|
||||
/**
|
||||
* 物料编码;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private String materialNumber;
|
||||
/**
|
||||
* 工厂名称
|
||||
*/
|
||||
|
||||
private String factoryName;
|
||||
/**
|
||||
* 工厂编码;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private String factoryNumber;
|
||||
/**
|
||||
* 库位名称
|
||||
*/
|
||||
|
||||
private String warehouseName;
|
||||
/**
|
||||
* 库位编码;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private String warehouseNumber;
|
||||
/**
|
||||
* 计量单位;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private String unit;
|
||||
/**
|
||||
* 开票类型;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private String invoiceType;
|
||||
/**
|
||||
* 暂估数量;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private BigDecimal quantity;
|
||||
/**
|
||||
* 稅分类(字典:SALE_TAX);推送ERP(必须)
|
||||
*/
|
||||
|
||||
private String taxAcctasscat;
|
||||
/**
|
||||
* 项目类别;推送ERP
|
||||
*/
|
||||
|
||||
private String projectCategory;
|
||||
/**
|
||||
* 装运地点;推送ERP
|
||||
*/
|
||||
|
||||
private String shippingPlace;
|
||||
/**
|
||||
* 物料科目分配组;推送ERP(必须)
|
||||
*/
|
||||
|
||||
private String metalAcctasscatGroup;
|
||||
/**
|
||||
* 小协议号
|
||||
*/
|
||||
|
||||
private String agreementNumber;
|
||||
/**
|
||||
* 总价
|
||||
*/
|
||||
|
||||
private BigDecimal gross;
|
||||
/**
|
||||
* 金属元素缩写
|
||||
*/
|
||||
|
||||
private String elementAbbreviation;
|
||||
/**
|
||||
* 金属元素名称
|
||||
*/
|
||||
private String elementName;
|
||||
/**
|
||||
* 金属元素编码
|
||||
*/
|
||||
private String elementNumber;
|
||||
/**
|
||||
* 是否启用;处理明细中多个相同物料,只能允许一种物料启用
|
||||
*/
|
||||
|
||||
private String isEnable;
|
||||
/**
|
||||
* 价格条件详情;推送ERP(必须):JSON
|
||||
*/
|
||||
|
||||
private String priceConditionDetail;
|
||||
/**
|
||||
* 来料加工原料详情;推送ERP:订单类型(JSON)
|
||||
*/
|
||||
|
||||
private String originDetail;
|
||||
|
||||
/**
|
||||
* 税率
|
||||
*/
|
||||
|
||||
private BigDecimal taxRte;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user