优化商品条码查询接口,支持选择多商品
This commit is contained in:
@@ -36,6 +36,8 @@ public class MaterialVo4Unit extends Material{
|
||||
|
||||
private String sku;
|
||||
|
||||
private Long depotId;
|
||||
|
||||
public String getUnitName() {
|
||||
return unitName;
|
||||
}
|
||||
@@ -163,4 +165,12 @@ public class MaterialVo4Unit extends Material{
|
||||
public void setSku(String sku) {
|
||||
this.sku = sku;
|
||||
}
|
||||
|
||||
public Long getDepotId() {
|
||||
return depotId;
|
||||
}
|
||||
|
||||
public void setDepotId(Long depotId) {
|
||||
this.depotId = depotId;
|
||||
}
|
||||
}
|
||||
@@ -84,7 +84,7 @@ public interface MaterialMapperEx {
|
||||
|
||||
int setUnitIdToNull(@Param("id") Long id);
|
||||
|
||||
List<MaterialVo4Unit> getMaterialByBarCode(@Param("barCode") String barCode);
|
||||
List<MaterialVo4Unit> getMaterialByBarCode(@Param("barCodeArray") String [] barCodeArray);
|
||||
|
||||
List<MaterialVo4Unit> getListWithStock(
|
||||
@Param("depotId") Long depotId,
|
||||
|
||||
Reference in New Issue
Block a user