优化商品模块的库存统计
This commit is contained in:
@@ -10,7 +10,7 @@ public class MaterialVo4Unit extends Material{
|
||||
|
||||
private String materialOther;
|
||||
|
||||
private Long stock;
|
||||
private BigDecimal stock;
|
||||
|
||||
public String getUnitName() {
|
||||
return unitName;
|
||||
@@ -36,11 +36,11 @@ public class MaterialVo4Unit extends Material{
|
||||
this.materialOther = materialOther;
|
||||
}
|
||||
|
||||
public Long getStock() {
|
||||
public BigDecimal getStock() {
|
||||
return stock;
|
||||
}
|
||||
|
||||
public void setStock(Long stock) {
|
||||
public void setStock(BigDecimal stock) {
|
||||
this.stock = stock;
|
||||
}
|
||||
}
|
||||
@@ -36,12 +36,6 @@ public interface DepotItemMapperEx {
|
||||
Long findDetailByTypeAndMaterialIdCounts(
|
||||
@Param("mId") Long mId);
|
||||
|
||||
Long findByTypeAndMaterialIdIn(
|
||||
@Param("mId") Long mId);
|
||||
|
||||
Long findByTypeAndMaterialIdOut(
|
||||
@Param("mId") Long mId);
|
||||
|
||||
List<DepotItemVo4WithInfoEx> getDetailList(
|
||||
@Param("headerId") Long headerId);
|
||||
|
||||
@@ -77,12 +71,10 @@ public interface DepotItemMapperEx {
|
||||
@Param("tenantId") Long tenantId);
|
||||
|
||||
/**
|
||||
* create by: cjl
|
||||
* description:
|
||||
* 通过单据主表id查询所有单据子表数据
|
||||
* create time: 2019/1/24 16:56
|
||||
* @Param: depotheadId
|
||||
* @return java.util.List<com.jsh.erp.datasource.entities.DepotItem>
|
||||
* 通过单据主表id查询所有单据子表数据
|
||||
* @param depotheadId
|
||||
* @param enableSerialNumber
|
||||
* @return
|
||||
*/
|
||||
List<DepotItem> findDepotItemListBydepotheadId(@Param("depotheadId")Long depotheadId,
|
||||
@Param("enableSerialNumber")String enableSerialNumber);
|
||||
@@ -103,7 +95,6 @@ public interface DepotItemMapperEx {
|
||||
|
||||
List<DepotItem> getDepotItemListListByMaterialIds(@Param("materialIds") String[] materialIds);
|
||||
|
||||
|
||||
List<DepotItemStockWarningCount> findStockWarningCount(@Param("offset") Integer offset,
|
||||
@Param("rows") Integer rows, @Param("pid") Integer pid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user