里的B是什么意思,怎么没有梦想何必远方意思A

【Java】对比两个集合A和B,删除B中没有的A,新增A中没有的B
//删除多余的参与者
List tempContacts2 = localC
List tempParticipants2 = localP
//参与者集合,用于增加参与者
List tempParticipants = new ArrayList();
tempParticipants.addAll(localParticipants);
//增加原来没有参与者
List tempContacts = localC
//找出新选的联系人集合中已经有的参与者,临时删除掉
for(int i=0;i
Contact contact = tempContacts2.get(i);
for(int j=0;j
if(contact.getId()==tempParticipants2.get(j).getUser_id()){
tempParticipants2.remove(j);
if(tempParticipants2.size()!=0){
//要删除的邀请人的serverId
for(int i=0;i
Contact contact =
userService.queryOneContact(tempParticipants2.get(i).getUser_id());
deleteStrParti+=contact.getUserServerId()+"|";
//找出参与者中包含的联系人,临时删除
for(int i=0;i
Participant participant = tempParticipants.get(i);
for(int j=0;j
if(participant.getUser_id()==tempContacts.get(j).getId()){
tempContacts.remove(j);
if(tempContacts.size()!=0){
//添加参与者for eventLog
for(int i=0;i
addStrParti+=tempContacts.get(i).getFirstPhone()+"|";
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。中 a = + b是什么意思?
全部答案(共2个回答)
a 是个变量 假设a = 4
转换成四则运算式
if(i!=a && i!=b && i!=c && i!=d){
试试这个:
t.event.ActionE
import
t.event.ActionL
import java...
方便的话可以提供下日志,建议安装过程中把防火墙杀毒软件等关掉
大家还关注
确定举报此问题
举报原因(必选):
广告或垃圾信息
激进时政或意识形态话题
不雅词句或人身攻击
侵犯他人隐私
其它违法和不良信息
报告,这不是个问题
报告原因(必选):
这不是个问题
这个问题分类似乎错了
这个不是我熟悉的地区查看: 3224|回复: 27
紧急求助 十万火急 取出A表有 B表没有的数据 怎么不行啊
认证徽章论坛徽章:17
本帖最后由 苏上人 于
13:48 编辑
select a.imsi from
(select distinct imsi imsi from khd_base_log where&&pday_id& and pday_id& ) a&&left outer join
(select distinct imsi imsi,pday_id from&&khd_base_log where pday_id& and pday_id&) b
on a.imsi=b.imsi& &&&where b.pday_id is null
我用的左连接&&然后B表的其它字段是NULL 怎么不行啊
论坛徽章:393
你没有oracle测试环境?
论坛徽章:23
不行指的是邏輯不滿足自己的要求還是語法報錯了啊
如果是語法的話感覺少了右括號,
论坛徽章:63
典型的外连接啊
论坛徽章:9
ora_苍狗 发表于
不行指的是邏輯不滿足自己的要求還是語法報錯了啊
如果是語法的話感覺少了右括號,
不止少了右括号,括号里的a 表 from 都没有。
虽然说大致的sql大家也可以看懂。
可是楼主能拿出真正执行的sql问问题别人会看的容易点。
论坛徽章:0
不行的话就使用not exists
招聘 : 论坛徽章:113
你这是a表有,b表没有啊,
论坛徽章:289
而且你这个a,b不就是一个表么,
把时间划成两段就行了啊
khd_base_log where&&pday_id& and pday_id&
from&&khd_base_log where pday_id& and pday_id&
pday_id& and pday_id&= or pday_id&= and pday_id&
论坛徽章:11
楼主思路有点乱吖。。。
论坛徽章:1088
itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有    
 北京市公安局海淀分局网监中心备案编号: 广播电视节目制作经营许可证:编号(京)字第1149号

我要回帖

更多关于 没有注册类是什么意思 的文章

 

随机推荐