Java - Select one of the three dao data to be mapped to a url according to the request parameters. How to write it better?
迷茫2017-05-17 10:09:03
0
1
648
The data of 3 daos should be mapped to a url, and the request parameters are used to indicate which dao to use. How to choose this? Use @RequestParam to make selections in the controller or in the service?
Judge the parameters in the service and see what dao to use