Commit 170a366c by xugaojun

过滤状态为0导购

parent ba9fcf63
...@@ -120,7 +120,10 @@ public class KafkaMessageServiceImpl implements MessageListener<String, GicRecor ...@@ -120,7 +120,10 @@ public class KafkaMessageServiceImpl implements MessageListener<String, GicRecor
staffClerkRelationService.delBind(syncPojo.getClerkId(), "-1", ChannelCodeEnum.SYNC_UNBIND.getCode()); staffClerkRelationService.delBind(syncPojo.getClerkId(), "-1", ChannelCodeEnum.SYNC_UNBIND.getCode());
} else if (gicRecordType.equals(GicRecordType.INSERT)) { } else if (gicRecordType.equals(GicRecordType.INSERT)) {
StaffClerkRelationDTO relationDTO = staffClerkRelationService.getOneBindCodeNoStatus(syncPojo.getEnterpriseId(), syncPojo.getClerkCode()); StaffClerkRelationDTO relationDTO = staffClerkRelationService.getOneBindCodeNoStatus(syncPojo.getEnterpriseId(), syncPojo.getClerkCode());
moveOrAddClerk(syncPojo, relationDTO); if (syncPojo.getStatus() != 0) {
// 过滤掉状态为0的同步导购数据
moveOrAddClerk(syncPojo, relationDTO);
}
} else if (gicRecordType.equals(GicRecordType.UPDATE)) { } else if (gicRecordType.equals(GicRecordType.UPDATE)) {
StaffClerkRelationDTO relationDTO = new StaffClerkRelationDTO(); StaffClerkRelationDTO relationDTO = new StaffClerkRelationDTO();
relationDTO.setClerkId(syncPojo.getClerkId()); relationDTO.setClerkId(syncPojo.getClerkId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment