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