优化商品库存流水接口
This commit is contained in:
@@ -77,7 +77,9 @@ public class DepotItemController {
|
||||
if (list != null) {
|
||||
for (DepotItemVo4DetailByTypeAndMId d: list) {
|
||||
JSONObject item = new JSONObject();
|
||||
item.put("number", d.getNumber()); //商品编号
|
||||
item.put("number", d.getNumber()); //编号
|
||||
item.put("barCode", d.getBarCode()); //条码
|
||||
item.put("materialName", d.getMaterialName()); //名称
|
||||
String type = d.getType();
|
||||
String subType = d.getSubType();
|
||||
if(("其它").equals(type)) {
|
||||
|
||||
@@ -7,6 +7,10 @@ public class DepotItemVo4DetailByTypeAndMId {
|
||||
|
||||
private String number;
|
||||
|
||||
private String barCode;
|
||||
|
||||
private String materialName;
|
||||
|
||||
private String type;
|
||||
|
||||
private String subType;
|
||||
@@ -25,6 +29,22 @@ public class DepotItemVo4DetailByTypeAndMId {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public String getBarCode() {
|
||||
return barCode;
|
||||
}
|
||||
|
||||
public void setBarCode(String barCode) {
|
||||
this.barCode = barCode;
|
||||
}
|
||||
|
||||
public String getMaterialName() {
|
||||
return materialName;
|
||||
}
|
||||
|
||||
public void setMaterialName(String materialName) {
|
||||
this.materialName = materialName;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user