Prechádzať zdrojové kódy

销售订单报表 完善接口文档

liuchaohui 3 rokov pred
rodič
commit
9442bc18e7

+ 23 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/report/controller/SoSoDetailsController.java

@@ -8,6 +8,8 @@ import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
 import com.alibaba.fastjson.JSONObject;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
 import org.jeecg.common.api.vo.Result;
 import org.jeecg.common.system.query.QueryGenerator;
 import org.jeecg.common.aspect.annotation.AutoLog;
@@ -173,6 +175,15 @@ public class SoSoDetailsController extends JeecgController<SoSoDetails, ISoSoDet
 	  */
 	 @AutoLog(value = "订单统计报表查询")
 	 @ApiOperation(value="订单统计报表查询", notes="订单统计报表查询")
+	 @ApiImplicitParams({
+			 @ApiImplicitParam(name="vendorType",value="内外部",required=true),
+			 @ApiImplicitParam(name="startYearMonth",value="开始年月"),
+			 @ApiImplicitParam(name="endYearMonth",value="结束年月"),
+			 @ApiImplicitParam(name="department",value="部门"),
+			 @ApiImplicitParam(name="customer",value="客户"),
+			 @ApiImplicitParam(name="pageNo",value="页码",required=true),
+			 @ApiImplicitParam(name="pageSize",value="每页条数",required=true)
+	 })
 	 @GetMapping(value = "/getSO_SOMainReport")
 	 public Result<IPage<SoSoDetails>> getSO_SOMainReport(String vendorType,String startYearMonth,String endYearMonth,
 	 														String department,String customer,
@@ -202,6 +213,12 @@ public class SoSoDetailsController extends JeecgController<SoSoDetails, ISoSoDet
 	  */
 	 @AutoLog(value = "订单报表统计图-客户")
 	 @ApiOperation(value="订单报表统计图-客户", notes="订单报表统计图-客户")
+	 @ApiImplicitParams({
+			 @ApiImplicitParam(name="vendorType",value="内外部",required=true),
+			 @ApiImplicitParam(name="startYearMonth",value="开始年月"),
+			 @ApiImplicitParam(name="endYearMonth",value="结束年月"),
+			 @ApiImplicitParam(name="department",value="部门")
+	 })
 	 @GetMapping(value = "/QuerySO_SOMainReportBydepartment")
 	 public Result<List<SoSoDetails>> QuerySO_SOMainReportBydepartment(String vendorType,String startYearMonth,String endYearMonth,
 														String department){
@@ -216,6 +233,12 @@ public class SoSoDetailsController extends JeecgController<SoSoDetails, ISoSoDet
 	  */
 	 @AutoLog(value = "订单报表统计图-部门")
 	 @ApiOperation(value="订单报表统计图-部门", notes="订单报表统计图-部门")
+	 @ApiImplicitParams({
+			 @ApiImplicitParam(name="vendorType",value="内外部",required=true),
+			 @ApiImplicitParam(name="startYearMonth",value="开始年月"),
+			 @ApiImplicitParam(name="endYearMonth",value="结束年月"),
+			 @ApiImplicitParam(name="customer",value="客户")
+	 })
 	 @GetMapping(value = "/QuerySO_SOMainReportBycustomer")
 	 public Result<List<SoSoDetails>> QuerySO_SOMainReportBycustomer(String vendorType,String startYearMonth,String endYearMonth,
 																	 String customer){