Compare commits
No commits in common. "5e99c0394efcf7a5e988339c695ea1f8a575c392" and "4d72461742c302710614b2b1d32222c64708394b" have entirely different histories.
5e99c0394e
...
4d72461742
|
|
@ -534,7 +534,7 @@ public class GoodsService extends BaseService {
|
||||||
return dbGoods;
|
return dbGoods;
|
||||||
}
|
}
|
||||||
UpdateWrapper<Goods> updateWrapper = new UpdateWrapper<>();
|
UpdateWrapper<Goods> updateWrapper = new UpdateWrapper<>();
|
||||||
updateWrapper.set("sale_status", target);
|
updateWrapper.set("sale_status", false);
|
||||||
updateWrapper.eq("id", id);
|
updateWrapper.eq("id", id);
|
||||||
goodsMapper.update(null, updateWrapper);
|
goodsMapper.update(null, updateWrapper);
|
||||||
dbGoods.setSaleStatus(target);
|
dbGoods.setSaleStatus(target);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue