Home > database >  Mybatis query in the joining together of two fields into a field
Mybatis query in the joining together of two fields into a field

Time:10-06

Table with HH and MM two field, could you tell me how in the mapping file according to the id of the the result is that the HH + Chinese + MM pieced together a new field?
Inside information is as follows:
Id name age money HH MM
001 zhang 25 130 8 13
In order to achieve the effect of is: according to the id query, the query result is: 8 PM
Great god teach me trouble

CodePudding user response:

How do you write in the XML?
  • Related