Authored by hugufei

fix bug

... ... @@ -30,7 +30,7 @@ public class UfoStoragePriceService {
if (storagePrice.getId() == null || ufoStoragePriceMapper.selectByPrimaryKey(storagePrice.getId()) == null) {
return ufoStoragePriceMapper.insertSelective(storagePrice);
} else {
return ufoStoragePriceMapper.updateByPrimaryKey(storagePrice);
return ufoStoragePriceMapper.updateByPrimaryKeySelective(storagePrice);
}
}
... ...