解决单据提交时库存未根据仓库去判断的bug

This commit is contained in:
季圣华
2019-06-10 23:14:40 +08:00
parent 4cf39d4d5f
commit 7b795718be
3 changed files with 38 additions and 5 deletions

View File

@@ -51,6 +51,14 @@ public interface DepotItemMapperEx {
int findByTypeAndMaterialIdOut(
@Param("mId") Long mId);
int findByTypeAndDepotIdAndMaterialIdIn(
@Param("depotId") Long depotId,
@Param("mId") Long mId);
int findByTypeAndDepotIdAndMaterialIdOut(
@Param("depotId") Long depotId,
@Param("mId") Long mId);
List<DepotItemVo4WithInfoEx> getDetailList(
@Param("headerId") Long headerId);