优化库存逻辑

This commit is contained in:
季圣华
2020-07-09 23:45:23 +08:00
parent ad5b6e9daa
commit cbba347579
8 changed files with 121 additions and 14 deletions

View File

@@ -7,7 +7,9 @@ public class DepotItemVo4DetailByTypeAndMId {
private String number;
private String newtype;
private String type;
private String subType;
private BigDecimal bnum;
@@ -21,12 +23,20 @@ public class DepotItemVo4DetailByTypeAndMId {
this.number = number;
}
public String getNewtype() {
return newtype;
public String getType() {
return type;
}
public void setNewtype(String newtype) {
this.newtype = newtype;
public void setType(String type) {
this.type = type;
}
public String getSubType() {
return subType;
}
public void setSubType(String subType) {
this.subType = subType;
}
public BigDecimal getBnum() {

View File

@@ -70,6 +70,12 @@ public interface DepotItemMapperEx {
@Param("subType") String subType,
@Param("MonthTime") String MonthTime);
BigDecimal getStockCheckSum(
@Param("depotId") Long depotId,
@Param("mId") Long mId,
@Param("beginTime") String beginTime,
@Param("endTime") String endTime);
DepotItemVo4Stock getStockByParam(
@Param("depotId") Long depotId,
@Param("mId") Long mId,