topic description
my project is a maven multi-module project, health-shop-mp (hereinafter referred to as mp) is a springboot project, and other modules are ordinary business modules.
the problem now is that after mp introduces other modules, the xml under the mapper of other modules cannot be used. You can only use the xml of all modules under the mapper folder of mp. This runs counter to my original intention of sub-modules. Do you have any suggestions?
my idea is that each sub-project has its own business implementation from service to xml. Mp directly calls serivce in controller to complete the business logic by introducing various business modules.
A background springboot module will be added later. Now the xml of all business modules is placed under mp, and the background module cannot be called.
if my description is not very clear, you can ask
in the comments.Welcome to answer