优化单据列表接口,增加总数量返回字段
This commit is contained in:
@@ -61,6 +61,9 @@ public interface DepotHeadMapperEx {
|
||||
String findMaterialsListByHeaderId(
|
||||
@Param("id") Long id);
|
||||
|
||||
BigDecimal getMaterialCountByHeaderId(
|
||||
@Param("id") Long id);
|
||||
|
||||
List<DepotHeadVo4InDetail> findInOutDetail(
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
|
||||
@@ -41,6 +41,8 @@ public class DepotHeadVo4List extends DepotHead{
|
||||
|
||||
private BigDecimal debt;
|
||||
|
||||
private BigDecimal materialCount;
|
||||
|
||||
public String getProjectName() {
|
||||
return projectName;
|
||||
}
|
||||
@@ -176,4 +178,12 @@ public class DepotHeadVo4List extends DepotHead{
|
||||
public void setDebt(BigDecimal debt) {
|
||||
this.debt = debt;
|
||||
}
|
||||
|
||||
public BigDecimal getMaterialCount() {
|
||||
return materialCount;
|
||||
}
|
||||
|
||||
public void setMaterialCount(BigDecimal materialCount) {
|
||||
this.materialCount = materialCount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user