打印机添加修改
This commit is contained in:
@@ -66,7 +66,7 @@ public class PrintMachine implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 店铺Id
|
* 店铺Id
|
||||||
*/
|
*/
|
||||||
private String shopId;
|
private Long shopId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分类Id
|
* 分类Id
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user