主键为Null问题
This commit is contained in:
@@ -127,6 +127,7 @@ public class MkPointsGoodsServiceImpl extends ServiceImpl<MkPointsGoodsMapper, M
|
|||||||
@Override
|
@Override
|
||||||
public boolean upNumberById(Long id, Integer quantity, Integer totalExchangeCount) {
|
public boolean upNumberById(Long id, Integer quantity, Integer totalExchangeCount) {
|
||||||
MkPointsGoods goodUp = new MkPointsGoods();
|
MkPointsGoods goodUp = new MkPointsGoods();
|
||||||
|
goodUp.setId(id);
|
||||||
goodUp.setQuantity(quantity);
|
goodUp.setQuantity(quantity);
|
||||||
goodUp.setTotalExchangeCount(totalExchangeCount);
|
goodUp.setTotalExchangeCount(totalExchangeCount);
|
||||||
return updateById(goodUp);
|
return updateById(goodUp);
|
||||||
|
|||||||
Reference in New Issue
Block a user