|
@@ -82,13 +82,9 @@ public class SupplierController {
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
- @GetMapping("/statisticsClassify")
|
|
|
- public R statisticsClassify(@RequestParam(required = false) String Purpose,
|
|
|
- @RequestParam(required = false) String search,
|
|
|
- @RequestParam(required = false) Integer accountDate,
|
|
|
- @RequestParam(required = false) Integer type
|
|
|
- ) {
|
|
|
- List<Supplier> list = supplierService.statisticsClassify(Purpose, search, accountDate, type);
|
|
|
+ @PostMapping("/statisticsClassify")
|
|
|
+ public R statisticsClassify(@RequestBody Map<String, Object> condition) {
|
|
|
+ List<Supplier> list = supplierService.statisticsClassify(condition);
|
|
|
return R.success(list);
|
|
|
}
|
|
|
|