|
@@ -1,14 +1,5 @@
|
|
package com.diagbot.facade;
|
|
package com.diagbot.facade;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
-import java.util.List;
|
|
|
|
-import java.util.Map;
|
|
|
|
-import java.util.stream.Collectors;
|
|
|
|
-
|
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
|
-import org.springframework.transaction.annotation.Transactional;
|
|
|
|
-
|
|
|
|
import com.diagbot.client.UserServiceClient;
|
|
import com.diagbot.client.UserServiceClient;
|
|
import com.diagbot.dto.AuthDetailDTO;
|
|
import com.diagbot.dto.AuthDetailDTO;
|
|
import com.diagbot.dto.ProductAuthProgressDTO;
|
|
import com.diagbot.dto.ProductAuthProgressDTO;
|
|
@@ -30,6 +21,14 @@ import com.diagbot.util.DateUtil;
|
|
import com.diagbot.util.UserUtils;
|
|
import com.diagbot.util.UserUtils;
|
|
import com.diagbot.vo.AddOrderVO;
|
|
import com.diagbot.vo.AddOrderVO;
|
|
import com.diagbot.vo.ProductOrderVO;
|
|
import com.diagbot.vo.ProductOrderVO;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
+
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 订单业务
|
|
* 订单业务
|
|
@@ -82,8 +81,8 @@ public class ProductOrderFacade extends ProductOrderServiceImpl {
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Description: 根据用户选择的产品生成订单
|
|
* @Description: 根据用户选择的产品生成订单
|
|
- * @Author: wangyu
|
|
|
|
- * @Date: 19:59 2018/9/18
|
|
|
|
|
|
+ * @param addOrderVO 需要提供参数(产品id)
|
|
|
|
+ * @return Boolean true
|
|
*/
|
|
*/
|
|
@Transactional
|
|
@Transactional
|
|
public Boolean addOrders(AddOrderVO addOrderVO){
|
|
public Boolean addOrders(AddOrderVO addOrderVO){
|
|
@@ -137,8 +136,8 @@ public class ProductOrderFacade extends ProductOrderServiceImpl {
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Description: 产品申请查询所有订单信息
|
|
* @Description: 产品申请查询所有订单信息
|
|
- * @Author: wangyu
|
|
|
|
- * @Date: 20:23 2018/9/24
|
|
|
|
|
|
+ * @param productOrderVO (订单编号,机构名称,申请状态)
|
|
|
|
+ * @return 所有订单信息
|
|
*/
|
|
*/
|
|
public List<ProductOrderWrapper> selectAllProductOrder(ProductOrderVO productOrderVO){
|
|
public List<ProductOrderWrapper> selectAllProductOrder(ProductOrderVO productOrderVO){
|
|
ProductOrderIndex productOrderIndex =new ProductOrderIndex();
|
|
ProductOrderIndex productOrderIndex =new ProductOrderIndex();
|