PID, PName, FPID CUID, CTime, BTime, ETime, status, PType, dar
SELECT p., u. * *
The FROM evaluation e, user u, project p
Where PUID=# {PUID, jdbcType=INTEGER} and Scrose=1 and u.U ID=e.B UID and p.P ID=e.F PID
GROUP BY BUID
ProjectCustom class
Public class ProjectCustom extends Project {
Private UserCustom bUser;
Public UserCustom getbUser () {
Return bUser;
}
Public void setbUser (UserCustom bUser) {
Enclosing bUser=bUser;
}
Private ListItemslist;//each item under the single
Private float scrose;//project achievement
Public ListGetItemslist () {
Return itemslist;
}
Public void setItemslist (ListItemslist) {
Enclosing itemslist=itemslist;
}
Public float getScrose () {
Return scrose;
}
Public void setScrose (float scrose) {
Enclosing scrose=scrose;
}
@ Override
Public String toString () {
The return/* "custom projects: [uname=" + uname + ", buid="+ buid + */", bUser="
+ bUser + ", itemslist="+ itemslist +", scrose="+ scrose
+ "] ";
}
}
CodePudding user response:
plug value are you inCodePudding user response:
Article 4 should be the same data, under your configuration resultMap tag,tag & lt; Id column="PID" property="PID" jdbcType="INTEGER"/& gt;representative to heavy, so only one will be shown
CodePudding user response:
Post you receive return result code, you want to get four should not receive the list with the results back?CodePudding user response:
This property is property="bUser" on the Project