给单据的序列号和批号增加重复的校验

This commit is contained in:
季圣华
2022-05-22 23:13:57 +08:00
parent a86893a75f
commit 2f6eb27168
5 changed files with 37 additions and 7 deletions

View File

@@ -166,4 +166,9 @@ public interface DepotItemMapperEx {
List<DepotItemVo4MaterialAndSum> getBatchBillDetailMaterialSum(
@Param("linkNumber") String linkNumber,
@Param("type") String type);
Long getCountByMaterialAndBatchNumber(
@Param("meId") Long meId,
@Param("batchNumber") String batchNumber,
@Param("type") String type);
}