|
|
@@ -56,7 +56,7 @@ public class RecbalanceServiceImpl implements RecbalanceService {
|
|
|
|
|
|
Long rbId = recbalance.getId();
|
|
|
if (rbId > 0){
|
|
|
- recbalanceMapper.updateByPrimaryKey(recbalance);
|
|
|
+ recbalanceMapper.updateByPrimaryKeySelective(recbalance);
|
|
|
}else {
|
|
|
recbalance.setCompanyId(BaseContextHolder.getCompanyId());
|
|
|
recbalanceMapper.insertSelective(recbalance);
|