给报表中增加单位
This commit is contained in:
@@ -287,7 +287,7 @@ public class DepotItemController {
|
||||
String materialOther = getOtherInfo(mpArr, diEx);
|
||||
item.put("materialOther", materialOther);
|
||||
item.put("materialColor", diEx.getMColor());
|
||||
item.put("unitName", getUName(diEx.getMaterialUnit(), diEx.getUnitName()));
|
||||
item.put("unitName", diEx.getMaterialUnit());
|
||||
|
||||
item.put("prevSum", depotItemService.getStockByParam(depotId,mId,null,timeA));
|
||||
item.put("inSum", depotItemService.getInNumByParam(depotId,mId,timeA,timeB));
|
||||
|
||||
@@ -17,6 +17,8 @@ public class DepotHeadVo4InOutMCount {
|
||||
|
||||
private String categoryName;
|
||||
|
||||
private String materialUnit;
|
||||
|
||||
private BigDecimal numSum;
|
||||
|
||||
private BigDecimal priceSum;
|
||||
@@ -71,6 +73,14 @@ public class DepotHeadVo4InOutMCount {
|
||||
this.categoryName = categoryName;
|
||||
}
|
||||
|
||||
public String getMaterialUnit() {
|
||||
return materialUnit;
|
||||
}
|
||||
|
||||
public void setMaterialUnit(String materialUnit) {
|
||||
this.materialUnit = materialUnit;
|
||||
}
|
||||
|
||||
public BigDecimal getNumSum() {
|
||||
return numSum;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user