@@ -319,6 +319,8 @@ public class GoodsWholesalePayServiceImpl implements GoodsWholesalePayService {
if (deposit.getId() == null) {
depositMapper.insert(deposit);
+ } else {
+ depositMapper.updateById(deposit);
}
return deposit;