Browse Source

注释规范化

wangyu 6 years ago
parent
commit
d11ddf0133

+ 12 - 13
diagbotman-service/src/main/java/com/diagbot/facade/ProductOrderFacade.java

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

+ 15 - 0
diagbotman-service/src/main/java/com/diagbot/vo/ProductOrderVO.java

@@ -11,9 +11,24 @@ import lombok.Setter;
 @Getter
 @Setter
 public class ProductOrderVO {
+    /**
+     * 页数
+     */
     private Long current;
+    /**
+     * 每页显示条数
+     */
     private Long size;
+    /**
+     * 审核状态
+     */
     private Integer auditStatus;
+    /**
+     * 订单编号
+     */
     private Integer num;
+    /**
+     * 机构名称
+     */
     private String orgName;
 }