|
@@ -205,8 +205,10 @@ public class SoSoDetailsController extends JeecgController<SoSoDetails, ISoSoDet
|
|
|
@GetMapping(value = "/QuerySO_SOMainReportBydepartment")
|
|
|
public Result<List<SoSoDetails>> QuerySO_SOMainReportBydepartment(String vendorType,String startYearMonth,String endYearMonth,
|
|
|
String department){
|
|
|
-
|
|
|
- return null;
|
|
|
+ Result<List<SoSoDetails>> result =new Result<>();
|
|
|
+ List<SoSoDetails> list = soSoDetailsService.QuerySO_SOMainReportBydepartment(vendorType, startYearMonth, endYearMonth, department);
|
|
|
+ result.setResult(list);
|
|
|
+ return result;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -217,8 +219,10 @@ public class SoSoDetailsController extends JeecgController<SoSoDetails, ISoSoDet
|
|
|
@GetMapping(value = "/QuerySO_SOMainReportBycustomer")
|
|
|
public Result<List<SoSoDetails>> QuerySO_SOMainReportBycustomer(String vendorType,String startYearMonth,String endYearMonth,
|
|
|
String customer){
|
|
|
-
|
|
|
- return null;
|
|
|
+ Result<List<SoSoDetails>> result =new Result<>();
|
|
|
+ List<SoSoDetails> list = soSoDetailsService.QuerySO_SOMainReportBycustomer(vendorType, startYearMonth, endYearMonth, customer);
|
|
|
+ result.setResult(list);
|
|
|
+ return result;
|
|
|
}
|
|
|
|
|
|
}
|