|
|
@@ -89,8 +89,8 @@ public class UpdatePanguDataTask {
|
|
|
public Boolean checkHasRecord(List<PromoteQrcodePoolRecord> promoteQrcodePoolRecordList,Integer promoteId,Integer custserviceId){
|
|
|
Boolean hasRecord = false;
|
|
|
for (PromoteQrcodePoolRecord promoteQrcodePoolRecord : promoteQrcodePoolRecordList) {
|
|
|
- if (promoteQrcodePoolRecord.getPromoteId() == promoteId
|
|
|
- && promoteQrcodePoolRecord.getCustserviceId() == custserviceId) {
|
|
|
+ if (promoteQrcodePoolRecord.getPromoteId().equals(promoteId)
|
|
|
+ && promoteQrcodePoolRecord.getCustserviceId().equals(custserviceId)) {
|
|
|
hasRecord = true;
|
|
|
}
|
|
|
}
|