Chuanzhi Health--MyBatisPlus--Editor Inspection Team

edit check group

When editing an inspection group, you need to query the data for data echo, including querying the information of the inspection group according to the id, querying all inspection items, and querying the selected inspection items.
When I was doing it, I sent two requests, one was to request the information of the inspection group (which contained the selected inspection items, encapsulate the data together, and return them together); the second was to query all the inspection items.

A new entity is defined, encapsulating the inspection group and selected inspection items.

Theoretically, it should be to query the inspection group information first, then query the inspection item information, and finally query the selected inspection item information for selection.
insert image description here

Guess you like

Origin blog.csdn.net/weixin_45757641/article/details/131403991