Home > Back-end >  Springboot project information to deposited in the two tables should be how to implement
Springboot project information to deposited in the two tables should be how to implement

Time:11-28

Springboot + mybatis project development, encountered a problem, we do a tenant management has two table, tenant table with the user table, the tenant at the time of registration is injected into the information in the table to the tenant, but at the same time should also be injected into the users table, the tenants are only part of the information in the table, and the user table has a user's password, want to ask, how to implement?

CodePudding user response:

Object from the front end, write two SQL, respectively, have to do is to save the data

CodePudding user response:

With the knowledge of table joins?

CodePudding user response:

Write their own business if that is not literally to
Always can't be a drag generated code yourself

CodePudding user response:

Graduate XueShengWa understand operation, this have what problem?
User registration, add a user information, add a login account information, didn't understand the problem point
  • Related