Commit 543d94f0 by 邹磊浩

修改代码

parent 5b78b6ef
......@@ -90,4 +90,6 @@ public class StoreOrderBo extends BaseEntity {
private String title;
private Long userId;
private Integer orderStatus;
}
......@@ -12,6 +12,7 @@ import java.util.Date;
*/
@Data
public class StoreAdminOrderVo implements Serializable {
private Integer id;
/**
......
......@@ -114,6 +114,7 @@ public class StoreOrderServiceImpl implements IStoreOrderService, ISonOrderServi
@Override
public Boolean updateByBo(StoreOrderBo bo) {
StoreOrder update = BeanUtil.toBean(bo, StoreOrder.class);
update.setStatus(bo.getOrderStatus());
validEntityBeforeSave(update);
return baseMapper.updateById(update) > 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment