|
@@ -36,13 +36,13 @@ import java.util.Map;
|
|
|
* <p>
|
|
|
* 商品
|
|
|
* </p>
|
|
|
- *
|
|
|
+ * 603版 已作废
|
|
|
* @author Andy.Tan
|
|
|
*/
|
|
|
@Service
|
|
|
public class SkuServiceImpl implements SkuService {
|
|
|
|
|
|
- @Autowired
|
|
|
+ /*@Autowired
|
|
|
private BaseSkuMapper baseSkuMapper;
|
|
|
|
|
|
@Autowired
|
|
@@ -51,9 +51,9 @@ public class SkuServiceImpl implements SkuService {
|
|
|
@Autowired
|
|
|
private BaseMaterialMapper baseMaterialMapper;
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 新增商品
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public void addSku(AddSkuReq req){
|
|
|
//校验入参
|
|
@@ -83,9 +83,9 @@ public class SkuServiceImpl implements SkuService {
|
|
|
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 编辑商品
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public void updateSku(UpdateSkuReq req){
|
|
|
|
|
@@ -102,9 +102,9 @@ public class SkuServiceImpl implements SkuService {
|
|
|
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 分页查询商品
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public ListSkuRes listSku(ListSkuReq req){
|
|
|
|
|
@@ -122,9 +122,9 @@ public class SkuServiceImpl implements SkuService {
|
|
|
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 查询商品明细
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public GetSkuRes getSku(GetSkuReq req){
|
|
|
|
|
@@ -139,9 +139,9 @@ public class SkuServiceImpl implements SkuService {
|
|
|
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 商品启用
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public void enableSku(EnableSkuReq req){
|
|
|
List<Long> ids = req.getIds();
|
|
@@ -162,9 +162,9 @@ public class SkuServiceImpl implements SkuService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 商品禁用
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public void disableSku(DisableSkuReq req){
|
|
|
List<Long> ids = req.getIds();
|
|
@@ -195,12 +195,12 @@ public class SkuServiceImpl implements SkuService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 其他页面下拉选择SKU
|
|
|
* @param listSkuForSelectReq
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public ListSkuForSelectRes listSkuForSelect(ListSkuForSelectReq listSkuForSelectReq) throws Exception {
|
|
|
//1-查询所有有效的物料
|
|
@@ -217,12 +217,12 @@ public class SkuServiceImpl implements SkuService {
|
|
|
return res;
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
+ *//**
|
|
|
* 批量导入SKU
|
|
|
* @param skuPropertiesList
|
|
|
* @return
|
|
|
* @throws Exception
|
|
|
- */
|
|
|
+ *//*
|
|
|
@Override
|
|
|
public ExcelImportRes skulExcelImport(List<SkuProperty> skuPropertiesList) throws Exception {
|
|
|
List<ExcelImportRes.FailBean> failList = new ArrayList<>();
|
|
@@ -283,6 +283,6 @@ public class SkuServiceImpl implements SkuService {
|
|
|
}
|
|
|
returnMap.put("errorMessage",errorMessage.toString());
|
|
|
return returnMap;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
}
|