打印机添加修改

This commit is contained in:
张松
2025-02-24 13:56:15 +08:00
parent c697e0e6ea
commit 1d3797fe57
2 changed files with 2 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ public class PrintMachine implements Serializable {
/** /**
* 店铺Id * 店铺Id
*/ */
private String shopId; private Long shopId;
/** /**
* 分类Id * 分类Id

View File

@@ -41,6 +41,7 @@ public class PrintMachineServiceImpl extends ServiceImpl<PrintMachineMapper, Pri
dto.setCategoryList(null); dto.setCategoryList(null);
} }
PrintMachine entity = BeanUtil.copyProperties(dto, PrintMachine.class); PrintMachine entity = BeanUtil.copyProperties(dto, PrintMachine.class);
entity.setShopId(shopId);
return save(entity); return save(entity);
} }