|
@@ -40,9 +40,9 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
@Autowired
|
|
|
private UserServiceClient userServiceClient;
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
- * @Description: 产品线管理添加产品
|
|
|
- * @Author: wangyu
|
|
|
+ * 产品线管理添加产品
|
|
|
* @param addProductsVO 需要提供的参数(产品名称,产品介绍,产品url,产品计费方式)
|
|
|
* @return Boolean true
|
|
|
*/
|
|
@@ -58,9 +58,9 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
return true;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
- * @Description: 朗通产品线管理修改产品
|
|
|
- * @Author: wangyu
|
|
|
+ * 朗通产品线管理修改产品
|
|
|
* @param updateProductVO 所需参数(产品名称,url,产品描述,接入模式,收费模式,是否试用)
|
|
|
* @return Boolean true
|
|
|
*/
|
|
@@ -77,10 +77,9 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @Description: 删除产品业务逻辑
|
|
|
- * @Author: wangyu
|
|
|
+ * 删除产品业务逻辑
|
|
|
* @param updateProductVO 所需参数(产品id)
|
|
|
- * @return
|
|
|
+ * @return Boolean true
|
|
|
*/
|
|
|
public Boolean deleteProduct(UpdateProductVO updateProductVO) {
|
|
|
LantoneProduct lantoneProduct = getById(updateProductVO.getId());
|
|
@@ -102,10 +101,9 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
}
|
|
|
|
|
|
/* *//**
|
|
|
- * @Description: 更改产品状态业务逻辑
|
|
|
- * @Author: wangyu
|
|
|
+ * 更改产品状态业务逻辑
|
|
|
* @param lantoneProduct
|
|
|
- * @return
|
|
|
+ * @return Boolean true
|
|
|
*//*
|
|
|
public Boolean productStatus(LantoneProduct lantoneProduct) {
|
|
|
lantoneProduct.setModifier(UserUtils.getCurrentPrincipleID());
|
|
@@ -116,10 +114,10 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
return true;
|
|
|
}*/
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
- * @Description: 查询当前用户已开通产品
|
|
|
- * @Author: zhaops
|
|
|
- * @Date: 10:10 2018/9/20
|
|
|
+ * 查询当前用户已开通产品
|
|
|
+ * @return 查询当前用户已开通产品
|
|
|
*/
|
|
|
public List<LantoneProductWrapper> opendedProductByCurrentUser() {
|
|
|
Long userId=Long.parseLong(UserUtils.getCurrentPrincipleID());
|
|
@@ -127,10 +125,9 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @Description: 根据用户id查询是否有开通产品
|
|
|
- * @Author: wangyu
|
|
|
+ * 根据用户id查询是否有开通产品
|
|
|
* @param page 页数和每页显示的条数默认显示10条
|
|
|
- * @return
|
|
|
+ * @return 根据用户id查询是否有开通产品
|
|
|
*/
|
|
|
public IPage<LantoneProduct> productLine(Page page){
|
|
|
Long userId = Long.parseLong(UserUtils.getCurrentPrincipleID());
|
|
@@ -138,14 +135,9 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
return diagLantoneProducts;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
- * @Description: 根据产品id查询产品
|
|
|
- * @Author: wangyu
|
|
|
- * @Date: 17:31 2018/9/20
|
|
|
- */
|
|
|
- /**
|
|
|
- * @Description: 根据产品id查询产品
|
|
|
- * @Author: wangyu
|
|
|
+ * 根据产品id查询产品
|
|
|
* @param id 产品id
|
|
|
* @return 产品信息
|
|
|
*/
|
|
@@ -154,8 +146,7 @@ public class LantoneProductFacade extends LantoneProductServiceImpl {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * @Description: 根据产品id查询当条产品线下所有订单信息
|
|
|
- * @Author: wangyu
|
|
|
+ * 根据产品id查询当条产品线下所有订单信息
|
|
|
* @param oppendedProductVO 所需参数(产品id,页数,和每页条数,默认显示10条)
|
|
|
* @return 当条产品线下所有订单信息
|
|
|
*/
|