商品模块bug修复

This commit is contained in:
Tankaikai
2025-03-11 10:50:30 +08:00
parent 7c6e8445cd
commit ac521d7013

View File

@@ -83,7 +83,7 @@ public class ConsGroupServiceImpl extends ServiceImpl<ConsGroupMapper, ConsGroup
throw new CzgException("耗材分组已存在");
}
ConsGroup entity = BeanUtil.copyProperties(dto, ConsGroup.class);
entity.setStatus(StatusEnum.ENABLED.value());
//entity.setStatus(StatusEnum.ENABLED.value());
entity.setShopId(shopId);
super.save(entity);
List<Long> consIds = dto.getConsIds();