|
|
@@ -28,7 +28,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<IGoodsSkuMapper, GoodsSku>
|
|
|
|
|
|
@Override
|
|
|
public ResponseGoodsSku getVoBySkuSn(String skuSn) {
|
|
|
- ResponseGoodsSku responseGoodsSku = null;
|
|
|
+ ResponseGoodsSku responseGoodsSku = new ResponseGoodsSku();
|
|
|
GoodsSku bySkuSn = this.getBySkuSn(skuSn);
|
|
|
if(bySkuSn!=null){
|
|
|
BeanUtils.copyProperties(bySkuSn,responseGoodsSku);
|