Commit 1b80878b by qwmqiuwenmin

fix

parent 85e96745
......@@ -175,7 +175,7 @@ public class PreDealServiceImpl implements PreDealService {
@Override
public boolean checkStaffTaskByTaskIdAndPDataId(String taskId, String pDataId) {
return preDealLogMapper.countFailStaffTaskByTaskIdAndPDataId(taskId,pDataId) == 0;
return preDealLogMapper.countFailStaffTaskByTaskIdAndPDataId(taskId,pDataId) == 1;
}
@Override
......
......@@ -91,6 +91,8 @@ public class SelfFriendSyncOperation implements BaseSyncOperation{
ExternalUserDTO pojo = memberUnionidRelatedApiService.getCorpSelfExternalUseridInfo(wxEnterpriseId,wxUserId, externalUserId);
if(pojo == null){
dealException(taskId, externalUserId, null, "好友不存在");
checkStaffTask(taskId, wxUserId);
return;
}
pojo.setEnterpriseId(staffClerkRelationDTO.getEnterpriseId());
pojo.setStoreId(mainStore.getStoreId());
......
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