打印机添加修改
This commit is contained in:
parent
c697e0e6ea
commit
1d3797fe57
|
|
@ -66,7 +66,7 @@ public class PrintMachine implements Serializable {
|
|||
/**
|
||||
* 店铺Id
|
||||
*/
|
||||
private String shopId;
|
||||
private Long shopId;
|
||||
|
||||
/**
|
||||
* 分类Id
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ public class PrintMachineServiceImpl extends ServiceImpl<PrintMachineMapper, Pri
|
|||
dto.setCategoryList(null);
|
||||
}
|
||||
PrintMachine entity = BeanUtil.copyProperties(dto, PrintMachine.class);
|
||||
entity.setShopId(shopId);
|
||||
return save(entity);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue