mirror of
https://github.com/weizhiqiang1995/erp-pro.git
synced 2025-01-31 19:53:11 +08:00
feat: 修复新增订单品论时,无法新增的bug
This commit is contained in:
parent
67bdc2e49f
commit
c8c3bb253a
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ public class OrderServiceImpl extends SkyeyeBusinessServiceImpl<OrderDao, Order>
|
|||
@Override
|
||||
public void updateCommonState(String id, Integer state) {
|
||||
UpdateWrapper<Order> updateWrapper = new UpdateWrapper<>();
|
||||
updateWrapper.eq(MybatisPlusUtil.toColumns(Order::getId), id);
|
||||
updateWrapper.eq(CommonConstants.ID, id);
|
||||
updateWrapper.set(MybatisPlusUtil.toColumns(Order::getCommentState), state);
|
||||
update(updateWrapper);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue