Commit 7a97038d by fudahua

根据userId 伪登录

parent 61c25f45
......@@ -73,8 +73,15 @@ public class KafkaMessageServiceImpl implements MessageListener<String, GicRecor
clerkIds.add(syncPojo.getClerkId());
StaffClerkRelationDTO bindRelationDTO = staffClerkRelationService.getOneBindCodeNoStatus(syncPojo.getEnterpriseId(), syncPojo.getClerkCode());
if (bindRelationDTO == null) {
logger.info("没有关联导购,不需要操作:{}",syncPojo.getClerkId());
return;
StaffClerkRelationDTO clerkRelationDTO = staffClerkRelationService.getByClerkId(syncPojo.getClerkId());
if (null == clerkRelationDTO) {
logger.info("没有关联导购,不需要操作:{}", syncPojo.getClerkId());
return;
}else{
logger.info("更新关联信息1:{}",syncPojo.getClerkId());
staffClerkRelationService.updateByClerkId(relationDTO);
}
}
if (bindRelationDTO.getStatusFlag().equals(StatusEnum.NORMAL.getValue())
&&syncPojo.getOldStatus().equals(1)) {
......
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