Selaa lähdekoodia

==改为equals

zhengqiang 4 vuotta sitten
vanhempi
commit
204fb3b761

+ 2 - 2
common/src/main/java/com/jpsoft/shinestar/modules/business/service/impl/MeetingPersonRecodeServiceImpl.java

@@ -118,7 +118,7 @@ public class MeetingPersonRecodeServiceImpl implements MeetingPersonRecodeServic
 							boolean isSignPerson = false;
 
 							for (MeetingPerson meetingPerson:meetingPersonList) {
-								if(meetingPerson.getPersonId() == personId){
+								if(meetingPerson.getPersonId().equals(personId)){
 									isSignPerson = true;
 									break;
 								}
@@ -150,7 +150,7 @@ public class MeetingPersonRecodeServiceImpl implements MeetingPersonRecodeServic
 							boolean isSignPerson = false;
 
 							for (MeetingPerson meetingPerson:meetingPersonList) {
-								if(meetingPerson.getPersonId() == personId){
+								if(meetingPerson.getPersonId().equals(personId)){
 									isSignPerson = true;
 									break;
 								}