配置测试环境支付成功回调
This commit is contained in:
@@ -41,5 +41,8 @@ public class TbShopTable implements Serializable {
|
|||||||
|
|
||||||
private Integer autoClear;
|
private Integer autoClear;
|
||||||
|
|
||||||
|
private Integer productNum;
|
||||||
|
private BigDecimal totalAmount;
|
||||||
|
private BigDecimal realAmount;
|
||||||
|
private Integer useNum;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1908,12 +1908,20 @@ public class OrderService {
|
|||||||
.eq(TbShopTable::getQrcode, entity.getTableId())
|
.eq(TbShopTable::getQrcode, entity.getTableId())
|
||||||
.eq(TbShopTable::getAutoClear, 1)
|
.eq(TbShopTable::getAutoClear, 1)
|
||||||
.set(TbShopTable::getStatus, "idle")
|
.set(TbShopTable::getStatus, "idle")
|
||||||
|
.set(TbShopTable::getProductNum, 0)
|
||||||
|
.set(TbShopTable::getTotalAmount, BigDecimal.ZERO)
|
||||||
|
.set(TbShopTable::getRealAmount, BigDecimal.ZERO)
|
||||||
|
.set(TbShopTable::getUseNum, 0)
|
||||||
.set(TbShopTable::getUpdatedAt, System.currentTimeMillis())
|
.set(TbShopTable::getUpdatedAt, System.currentTimeMillis())
|
||||||
);
|
);
|
||||||
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
|
mpShopTableMapper.update(null, new LambdaUpdateWrapper<TbShopTable>()
|
||||||
.eq(TbShopTable::getQrcode, entity.getTableId())
|
.eq(TbShopTable::getQrcode, entity.getTableId())
|
||||||
.eq(TbShopTable::getAutoClear, 0)
|
.eq(TbShopTable::getAutoClear, 0)
|
||||||
.set(TbShopTable::getStatus, "cleaning")
|
.set(TbShopTable::getStatus, "cleaning")
|
||||||
|
.set(TbShopTable::getProductNum, 0)
|
||||||
|
.set(TbShopTable::getTotalAmount, BigDecimal.ZERO)
|
||||||
|
.set(TbShopTable::getRealAmount, BigDecimal.ZERO)
|
||||||
|
.set(TbShopTable::getUseNum, 0)
|
||||||
.set(TbShopTable::getUpdatedAt, System.currentTimeMillis())
|
.set(TbShopTable::getUpdatedAt, System.currentTimeMillis())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user