单据扫码:支持序列号查询,先根据序列号查询条码,如果查不到就直接查条码

This commit is contained in:
季圣华
2023-05-24 22:32:41 +08:00
parent dca981467e
commit 39bdda9002
4 changed files with 23 additions and 0 deletions

View File

@@ -1350,4 +1350,8 @@ public class MaterialService {
example.createCriteria().andIdIn(idList).andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
return materialMapper.updateByExampleSelective(material, example);
}
public MaterialExtend getMaterialExtendBySerialNumber(String serialNumber) {
return materialMapperEx.getMaterialExtendBySerialNumber(serialNumber);
}
}