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?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all (1)
阿神

Judge the parameters in the service and see what dao to use

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!