|
@@ -390,4 +390,15 @@ public class PmsProductServiceImpl implements PmsProductService {
|
|
|
return productExcelDao.plOfProSelect(compId);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public int verify(Long id) {
|
|
|
+ PmsProduct product = new PmsProduct();
|
|
|
+ product.setVerifyStatus(1);
|
|
|
+ PmsProductExample example = new PmsProductExample();
|
|
|
+ example.createCriteria().andIdEqualTo(id);
|
|
|
+ List<PmsProductVertifyRecord> list = new ArrayList<>();
|
|
|
+ int count = productMapper.updateByExampleSelective(product, example);
|
|
|
+ return count;
|
|
|
+ }
|
|
|
+
|
|
|
}
|