|
|
@@ -572,7 +572,6 @@ public class GoodsDonController {
|
|
|
DateTime now = DateTime.now();
|
|
|
list.forEach(data->{
|
|
|
Integer sold = orderDonMapper.selectCount(Wrappers.lambdaQuery(OrderDon.class)
|
|
|
- .eq(OrderDon::getYhsId, yhsId)
|
|
|
.eq(OrderDon::getGoodsId, data.getId()).notIn(OrderDon::getStatus, Constant.noOrderStatus));
|
|
|
data.setSold(sold + data.getVs());
|
|
|
data.setNotifyMsg(getPayMsgTime(data.getId(), now, 1, yhsId));
|