解决单据录入的时候,商品条码被修改的bug

This commit is contained in:
季圣华
2023-08-28 22:05:15 +08:00
parent 2e44512ae1
commit 3147afaa27
3 changed files with 10 additions and 2 deletions

View File

@@ -382,9 +382,10 @@ public class MaterialExtendService {
.andDeleteFlagNotEqualTo(BusinessConstants.DELETE_FLAG_DELETED);
List<MaterialExtend> list = materialExtendMapper.selectByExample(example);
if(list!=null && list.size()>0) {
materialExtend = list.get(0);
return list.get(0);
} else {
return null;
}
return materialExtend;
}
/**