添加序列号新增时验证条件

This commit is contained in:
cjl
2019-01-24 10:00:36 +08:00
parent 69bd3567fb
commit 2b77119819
8 changed files with 127 additions and 39 deletions

View File

@@ -37,4 +37,9 @@ public interface SerialNumberMapperEx {
* 修改序列号信息
* */
int updateSerialNumber(SerialNumberEx serialNumberEx);
/**
* 查询指定商品下有效的序列号数量
* 未删除为卖出的视为有效
* */
int findSerialNumberByMaterialId(@Param("materialId") Long materialId);
}