Commit 85083d96 by wutong

采购在途增加在途金额字段, 根据每个采购单单价* 数量汇总而成

parent 67d2e01c
...@@ -2,6 +2,7 @@ package com.bailuntec.domain.entity; ...@@ -2,6 +2,7 @@ package com.bailuntec.domain.entity;
import lombok.Data; import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
@Data @Data
...@@ -88,6 +89,42 @@ public class DcMidTransit { ...@@ -88,6 +89,42 @@ public class DcMidTransit {
private LocalDateTime gmtOutStockModified; private LocalDateTime gmtOutStockModified;
/** /**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.quantity_unshipped
*
* @mbg.generated
*/
private Integer quantityUnshipped;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.gmt_unshipped_modified
*
* @mbg.generated
*/
private LocalDateTime gmtUnshippedModified;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.company_id
*
* @mbg.generated
*/
private Integer companyId;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column dc_mid_transit.amount_purchase_transit
*
* @mbg.generated
*/
private BigDecimal amountPurchaseTransit;
/**
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table dc_mid_transit * This method corresponds to the database table dc_mid_transit
* *
...@@ -108,6 +145,10 @@ public class DcMidTransit { ...@@ -108,6 +145,10 @@ public class DcMidTransit {
sb.append(", gmtTransferModified=").append(gmtTransferModified); sb.append(", gmtTransferModified=").append(gmtTransferModified);
sb.append(", quantityOutStock=").append(quantityOutStock); sb.append(", quantityOutStock=").append(quantityOutStock);
sb.append(", gmtOutStockModified=").append(gmtOutStockModified); sb.append(", gmtOutStockModified=").append(gmtOutStockModified);
sb.append(", quantityUnshipped=").append(quantityUnshipped);
sb.append(", gmtUnshippedModified=").append(gmtUnshippedModified);
sb.append(", companyId=").append(companyId);
sb.append(", amountPurchaseTransit=").append(amountPurchaseTransit);
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
...@@ -138,7 +179,11 @@ public class DcMidTransit { ...@@ -138,7 +179,11 @@ public class DcMidTransit {
&& (this.getQuantityTransfer() == null ? other.getQuantityTransfer() == null : this.getQuantityTransfer().equals(other.getQuantityTransfer())) && (this.getQuantityTransfer() == null ? other.getQuantityTransfer() == null : this.getQuantityTransfer().equals(other.getQuantityTransfer()))
&& (this.getGmtTransferModified() == null ? other.getGmtTransferModified() == null : this.getGmtTransferModified().equals(other.getGmtTransferModified())) && (this.getGmtTransferModified() == null ? other.getGmtTransferModified() == null : this.getGmtTransferModified().equals(other.getGmtTransferModified()))
&& (this.getQuantityOutStock() == null ? other.getQuantityOutStock() == null : this.getQuantityOutStock().equals(other.getQuantityOutStock())) && (this.getQuantityOutStock() == null ? other.getQuantityOutStock() == null : this.getQuantityOutStock().equals(other.getQuantityOutStock()))
&& (this.getGmtOutStockModified() == null ? other.getGmtOutStockModified() == null : this.getGmtOutStockModified().equals(other.getGmtOutStockModified())); && (this.getGmtOutStockModified() == null ? other.getGmtOutStockModified() == null : this.getGmtOutStockModified().equals(other.getGmtOutStockModified()))
&& (this.getQuantityUnshipped() == null ? other.getQuantityUnshipped() == null : this.getQuantityUnshipped().equals(other.getQuantityUnshipped()))
&& (this.getGmtUnshippedModified() == null ? other.getGmtUnshippedModified() == null : this.getGmtUnshippedModified().equals(other.getGmtUnshippedModified()))
&& (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId()))
&& (this.getAmountPurchaseTransit() == null ? other.getAmountPurchaseTransit() == null : this.getAmountPurchaseTransit().equals(other.getAmountPurchaseTransit()));
} }
/** /**
...@@ -160,6 +205,10 @@ public class DcMidTransit { ...@@ -160,6 +205,10 @@ public class DcMidTransit {
result = prime * result + ((getGmtTransferModified() == null) ? 0 : getGmtTransferModified().hashCode()); result = prime * result + ((getGmtTransferModified() == null) ? 0 : getGmtTransferModified().hashCode());
result = prime * result + ((getQuantityOutStock() == null) ? 0 : getQuantityOutStock().hashCode()); result = prime * result + ((getQuantityOutStock() == null) ? 0 : getQuantityOutStock().hashCode());
result = prime * result + ((getGmtOutStockModified() == null) ? 0 : getGmtOutStockModified().hashCode()); result = prime * result + ((getGmtOutStockModified() == null) ? 0 : getGmtOutStockModified().hashCode());
result = prime * result + ((getQuantityUnshipped() == null) ? 0 : getQuantityUnshipped().hashCode());
result = prime * result + ((getGmtUnshippedModified() == null) ? 0 : getGmtUnshippedModified().hashCode());
result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode());
result = prime * result + ((getAmountPurchaseTransit() == null) ? 0 : getAmountPurchaseTransit().hashCode());
return result; return result;
} }
} }
\ No newline at end of file
...@@ -144,7 +144,7 @@ public interface DcMidTransitMapper { ...@@ -144,7 +144,7 @@ public interface DcMidTransitMapper {
LocalDateTime selectMaxPurchaseModified(); LocalDateTime selectMaxPurchaseModified();
LocalDateTime selectMaxUnshippedModified(); LocalDateTime selectMaxUnshippedModified();
void updateOldUnshippedToZero(@Param("unshippedModified")LocalDateTime unshippedModified); void updateOldUnshippedToZero(@Param("unshippedModified") LocalDateTime unshippedModified);
void calculateUnshipped(); void calculateUnshipped();
} }
\ No newline at end of file
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