优化订单分批出入库的状态计算逻辑

This commit is contained in:
季圣华
2022-05-17 00:04:35 +08:00
parent ae216488fe
commit 8b88d0abc4
4 changed files with 89 additions and 9 deletions

View File

@@ -0,0 +1,26 @@
package com.jsh.erp.datasource.entities;
import java.math.BigDecimal;
public class DepotItemVo4MaterialAndSum {
private Long materialExtendId;
private BigDecimal operNumber;
public Long getMaterialExtendId() {
return materialExtendId;
}
public void setMaterialExtendId(Long materialExtendId) {
this.materialExtendId = materialExtendId;
}
public BigDecimal getOperNumber() {
return operNumber;
}
public void setOperNumber(BigDecimal operNumber) {
this.operNumber = operNumber;
}
}

View File

@@ -159,4 +159,11 @@ public interface DepotItemMapperEx {
Long getCountByMaterialAndDepot(
@Param("mId") Long mId,
@Param("depotId") Long depotId);
List<DepotItemVo4MaterialAndSum> getLinkBillDetailMaterialSum(
@Param("linkNumber") String linkNumber);
List<DepotItemVo4MaterialAndSum> getBatchBillDetailMaterialSum(
@Param("linkNumber") String linkNumber,
@Param("type") String type);
}