模版修改
This commit is contained in:
@@ -283,6 +283,11 @@ public class OrderDTO {
|
||||
*/
|
||||
@TableField("PYER_NUM")
|
||||
private String payerNum;
|
||||
/**
|
||||
* 货权准转移类型
|
||||
*/
|
||||
private String meteringType;
|
||||
|
||||
|
||||
/**
|
||||
* 订单明细
|
||||
|
||||
@@ -198,6 +198,11 @@ public class PurchaseOrderWithDetailsDTO {
|
||||
* 税码
|
||||
*/
|
||||
private String taxNum;
|
||||
|
||||
/**
|
||||
* 货权准转移类型
|
||||
*/
|
||||
private String meteringType;
|
||||
/**
|
||||
* 采购订单明细
|
||||
*/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.zt.plat.module.contractorder.controller.admin.purchaseorder.vo;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -133,5 +134,8 @@ public class PurchaseOrderPageReqVO extends PageParam {
|
||||
@Schema(description = "订单分类")
|
||||
private String splyBsnTp;
|
||||
|
||||
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||
private String meteringType;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -196,4 +196,8 @@ public class PurchaseOrderRespVO {
|
||||
@ExcelProperty(" 审批意见")
|
||||
private String reviewOpinion;
|
||||
|
||||
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||
@ExcelProperty("货权转移类型(字典:ASY_MTNG_TP)")
|
||||
private String meteringType;
|
||||
|
||||
}
|
||||
|
||||
@@ -178,4 +178,21 @@ public class PurchaseOrderSaveReqVO {
|
||||
@Schema(description = "订单分类(字典:SPLY_BSN_TP)", example = "2")
|
||||
@ExcelProperty("订单分类")
|
||||
private String splyBsnTp;
|
||||
|
||||
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||
@ExcelProperty("货权转移类型(字典:ASY_MTNG_TP)")
|
||||
private String meteringType;
|
||||
|
||||
@Schema(description = "产品组名")
|
||||
@ExcelProperty("产品组名")
|
||||
private String pdtGrpName;
|
||||
@Schema(description = "产品组编码")
|
||||
@ExcelProperty("产品组编码")
|
||||
private String pdtGrpCdg;
|
||||
@Schema(description = "付款方名称")
|
||||
@ExcelProperty("付款方名称")
|
||||
private String payerName;
|
||||
@Schema(description = "付款方编码")
|
||||
@ExcelProperty("付款方编码")
|
||||
private String payerNum;
|
||||
}
|
||||
|
||||
@@ -156,4 +156,7 @@ public class SalesOrderPageReqVO extends PageParam {
|
||||
@ExcelProperty("产品组编码")
|
||||
private String pdtGrpCdg;
|
||||
|
||||
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||
private String meteringType;
|
||||
|
||||
}
|
||||
|
||||
@@ -220,5 +220,8 @@ public class SalesOrderRespVO {
|
||||
@Schema(description = "付款方编码")
|
||||
@ExcelProperty("付款方编码")
|
||||
private String payerNum;
|
||||
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||
@ExcelProperty("货权转移类型(字典:ASY_MTNG_TP)")
|
||||
private String meteringType;
|
||||
|
||||
}
|
||||
|
||||
@@ -198,4 +198,8 @@ public class SalesOrderSaveReqVO {
|
||||
@Schema(description = "付款方编码")
|
||||
@ExcelProperty("付款方编码")
|
||||
private String payerNum;
|
||||
@Schema(description = "货权转移类型(字典:ASY_MTNG_TP)")
|
||||
@ExcelProperty("货权转移类型(字典:ASY_MTNG_TP)")
|
||||
private String meteringType;
|
||||
|
||||
}
|
||||
|
||||
@@ -283,4 +283,10 @@ public class PurchaseOrderDO extends BusinessBaseDO {
|
||||
*/
|
||||
@TableField("TAX_RTE")
|
||||
private BigDecimal taxRte;
|
||||
|
||||
/**
|
||||
* 货权准转移类型
|
||||
*/
|
||||
@TableField("MTRG_TP")
|
||||
private String meteringType;
|
||||
}
|
||||
|
||||
@@ -303,9 +303,8 @@ public class SalesOrderDO extends BusinessBaseDO {
|
||||
*/
|
||||
@TableField("PYER_NUM")
|
||||
private String payerNum;
|
||||
// /**
|
||||
// * 税码
|
||||
// */
|
||||
// @TableField("TAX_NUM")
|
||||
// private String taxNum;
|
||||
/**
|
||||
* 货权准转移类型
|
||||
*/
|
||||
private String meteringType;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,7 @@ public interface PurchaseOrderMapper extends BaseMapperX<PurchaseOrderDO> {
|
||||
.eqIfPresent(PurchaseOrderDO::getSplyBsnTp, reqVO.getSplyBsnTp() != null ? reqVO.getSplyBsnTp() : "PUR")
|
||||
.eqIfPresent(PurchaseOrderDO::getCause, reqVO.getCause())
|
||||
.eqIfPresent(PurchaseOrderDO::getStatus, reqVO.getStatus())
|
||||
.eqIfPresent(PurchaseOrderDO::getMeteringType, reqVO.getMeteringType())
|
||||
.likeIfPresent(PurchaseOrderDO::getPurchaseGroupName, reqVO.getPurchaseGroupName())
|
||||
.orderByDesc(PurchaseOrderDO::getId));
|
||||
}
|
||||
|
||||
@@ -27,6 +27,7 @@ public interface SalesOrderMapper extends BaseMapperX<SalesOrderDO> {
|
||||
.eqIfPresent(SalesOrderDO::getSupplierNumber, reqVO.getSupplierNumber())
|
||||
.likeIfPresent(SalesOrderDO::getSupplierName, reqVO.getSupplierName())
|
||||
.eqIfPresent(SalesOrderDO::getType, reqVO.getType())
|
||||
.eqIfPresent(SalesOrderDO::getMeteringType, reqVO.getMeteringType())
|
||||
.betweenIfPresent(SalesOrderDO::getVoucherDate, reqVO.getVoucherDate())
|
||||
.eqIfPresent(SalesOrderDO::getPurchaseOrganizationCustomsDeclaration, reqVO.getPurchaseOrganizationCustomsDeclaration())
|
||||
.likeIfPresent(SalesOrderDO::getReceiveFactoryName, reqVO.getReceiveFactoryName())
|
||||
|
||||
Reference in New Issue
Block a user