This commit is contained in:
2024-09-20 10:42:19 +08:00
parent ebcc80d71a
commit 33650aad94
4 changed files with 32 additions and 5 deletions

View File

@@ -391,9 +391,6 @@ public class ProductService {
if (!CollectionUtils.isEmpty(products)) {
products.parallelStream().forEach(it -> {
TbShopUnit tbShopUnit = unitMapper.selectByPrimaryKey(Integer.valueOf(it.getUnitId()));
if (it.getName().equals("烤牛肉")) {
System.out.println("单位:"+tbShopUnit.getName());
}
it.setUnitSnap(tbShopUnit != null ? tbShopUnit.getName() : "");
if(check){
List<TbProductGroup> tbProductGroups = tbProductGroupMapper.selectByProductId(it.getShopId(), it.getId().toString());