删除销售订单的ITF
This commit is contained in:
parent
7c9779aca9
commit
c2be0d5e61
@ -1,116 +0,0 @@
|
||||
package com.foreverwin.iep.integration.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import com.foreverwin.iep.common.utils.HandleBoProcessor;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 销售订单中间接口日志主表
|
||||
*
|
||||
* @author Snow
|
||||
* @date 2024-11-07
|
||||
*/
|
||||
@Data
|
||||
@TableName("z_sales_order_itf")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "销售订单中间接口日志主表")
|
||||
public class SalesOrderItf extends Model<SalesOrderItf> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public static final String KW_WMS_SALES_ORDER_ITF_BO = "SalesOrderItfBO";
|
||||
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private String handle;
|
||||
|
||||
@ApiModelProperty(value = "站点")
|
||||
private String site;
|
||||
|
||||
@ApiModelProperty(value = "SO销售凭证")
|
||||
private String soNumber;
|
||||
|
||||
@ApiModelProperty(value = "SO创建者")
|
||||
private String soCreator;
|
||||
|
||||
@ApiModelProperty(value = "SO创建日期")
|
||||
private String soCreateTime;
|
||||
|
||||
@ApiModelProperty(value = "SO订单原因")
|
||||
private String soReason;
|
||||
|
||||
@ApiModelProperty(value = "SO订单类型")
|
||||
private String soType;
|
||||
|
||||
@ApiModelProperty(value = "SO凭证类别")
|
||||
private String soCategory;
|
||||
|
||||
@ApiModelProperty(value = "SO凭证货币")
|
||||
private String soCurrency;
|
||||
|
||||
@ApiModelProperty(value = "SO销售组织")
|
||||
private String soSalesOrg;
|
||||
|
||||
@ApiModelProperty(value = "SO分销渠道")
|
||||
private String soSalesDistributor;
|
||||
|
||||
@ApiModelProperty(value = "SO销售办事处")
|
||||
private String soSalesOffice;
|
||||
|
||||
@ApiModelProperty(value = "SO销售组")
|
||||
private String soSalesGroup;
|
||||
|
||||
@ApiModelProperty(value = "SO售达方")
|
||||
private String soSalesPartner;
|
||||
|
||||
@ApiModelProperty(value = "SO售达方简称")
|
||||
private String soSalesPartnerCode;
|
||||
|
||||
@ApiModelProperty(value = "SO业务经理")
|
||||
private String soManager;
|
||||
|
||||
@ApiModelProperty(value = "SO销售助理")
|
||||
private String soAssistant;
|
||||
|
||||
@ApiModelProperty(value = "SO销售助理")
|
||||
private String soCustomer;
|
||||
|
||||
@ApiModelProperty(value = "SO终端客户简称")
|
||||
private String soCustomerCode;
|
||||
|
||||
@ApiModelProperty(value = "SO信用状态")
|
||||
private String soCreditStatus;
|
||||
|
||||
@ApiModelProperty(value = "SO回款认领状态")
|
||||
private String soPaymentStatus;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime dateCreate;
|
||||
|
||||
@ApiModelProperty(value = "成功返回S,失败返回E")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty(value = "返回信息")
|
||||
private String message;
|
||||
|
||||
@ApiModelProperty(value = "请求的流水号")
|
||||
private String bat;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<SalesOrderLineItf> salesOrderLineItfList;
|
||||
|
||||
public static String genHandle(String site, String soNumber) {
|
||||
return HandleBoProcessor.genHandle(KW_WMS_SALES_ORDER_ITF_BO, site, soNumber);
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,63 +0,0 @@
|
||||
package com.foreverwin.iep.integration.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import com.foreverwin.iep.common.utils.HandleBoProcessor;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 销售订单配置项
|
||||
*
|
||||
* @author Snow
|
||||
* @date 2024-11-07
|
||||
*/
|
||||
@Data
|
||||
@TableName("z_sales_order_line_config_itf")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "销售订单配置项")
|
||||
public class SalesOrderLineConfigItf extends Model<SalesOrderLineConfigItf> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public static final String KW_WMS_SALES_ORDER_LINE_CONFIG_ITF_BO = "SalesOrderLineConfigItfBO";
|
||||
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private String handle;
|
||||
|
||||
@ApiModelProperty(value = "关联销售订单明细表")
|
||||
private String salesOrderLineBo;
|
||||
|
||||
@ApiModelProperty(value = "SO配置项")
|
||||
private String configItem;
|
||||
|
||||
@ApiModelProperty(value = "SO配置项描述")
|
||||
private String configItemDesc;
|
||||
|
||||
@ApiModelProperty(value = "SO配置值")
|
||||
private String configItemValue;
|
||||
|
||||
@ApiModelProperty(value = "SO配置值描述")
|
||||
private String configItemValueDesc;
|
||||
|
||||
@ApiModelProperty(value = "成功返回S,失败返回E")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty(value = "返回信息")
|
||||
private String message;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime dateCreate;
|
||||
|
||||
public static String genHandle(String salesOrderLineBo, String configItem) {
|
||||
return HandleBoProcessor.genHandle(KW_WMS_SALES_ORDER_LINE_CONFIG_ITF_BO, salesOrderLineBo, configItem);
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,98 +0,0 @@
|
||||
package com.foreverwin.iep.integration.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
||||
import com.foreverwin.iep.common.utils.HandleBoProcessor;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 销售订单明细
|
||||
*
|
||||
* @author Snow
|
||||
* @date 2024-11-07
|
||||
*/
|
||||
@Data
|
||||
@TableName("z_sales_order_line_itf")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "销售订单明细")
|
||||
public class SalesOrderLineItf extends Model<SalesOrderLineItf> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public static final String KW_WMS_SALES_ORDER_LINE_ITF_BO = "SalesOrderLineItfBO";
|
||||
|
||||
|
||||
@TableId(type = IdType.INPUT)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private String handle;
|
||||
|
||||
@ApiModelProperty(value = "关联销售订单主表")
|
||||
private String salesOrderBo;
|
||||
|
||||
@ApiModelProperty(value = "SO行项目")
|
||||
private Integer soLineId;
|
||||
|
||||
@ApiModelProperty(value = "SO项目类别")
|
||||
private String category;
|
||||
|
||||
@ApiModelProperty(value = "SO拒绝原因")
|
||||
private String reason;
|
||||
|
||||
@ApiModelProperty(value = "SO物料")
|
||||
private String item;
|
||||
|
||||
@ApiModelProperty(value = "SO物料描述")
|
||||
private String itemDes;
|
||||
|
||||
@ApiModelProperty(value = "SO订单数量")
|
||||
private BigDecimal qty;
|
||||
|
||||
@ApiModelProperty(value = "SO最多超量数量")
|
||||
private BigDecimal overQty;
|
||||
|
||||
@ApiModelProperty(value = "SO交货日期")
|
||||
private String deliveryDate;
|
||||
|
||||
@ApiModelProperty(value = "SO基本计量单位")
|
||||
private String uom;
|
||||
|
||||
@ApiModelProperty(value = "SO销售计量单位")
|
||||
private String salesUom;
|
||||
|
||||
@ApiModelProperty(value = "SO发货工厂")
|
||||
private String deliveryPlant;
|
||||
|
||||
@ApiModelProperty(value = "SO行价格状态")
|
||||
private String priceStatus;
|
||||
|
||||
@ApiModelProperty(value = "SO行交期状态")
|
||||
private String deliveryStatus;
|
||||
|
||||
@ApiModelProperty(value = "SO配置ID")
|
||||
private String configId;
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private LocalDateTime dateCreate;
|
||||
|
||||
@ApiModelProperty(value = "成功返回S,失败返回E")
|
||||
private String status;
|
||||
|
||||
@ApiModelProperty(value = "返回信息")
|
||||
private String message;
|
||||
|
||||
@TableField(exist = false)
|
||||
private List<SalesOrderLineConfigItf> salesOrderLineConfigItfList;
|
||||
public static String genHandle(String salesOrderBo, String soLineId) {
|
||||
return HandleBoProcessor.genHandle(KW_WMS_SALES_ORDER_LINE_ITF_BO, salesOrderBo, soLineId);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user