|
@ -108,18 +108,18 @@ public class SynergyManageService extends BaseJpaService {
|
|
|
}else if(userType==2){//客服
|
|
|
if(isAcceptTask==1){//我接收
|
|
|
whereSql +=" and w.create_user_type=1 ";//创建人为医生
|
|
|
whereSql += " and e.executor_code ="+code+" ";
|
|
|
whereSql += " and e.executor_code ='"+code+"' ";
|
|
|
}else if(isAcceptTask==2){//我派发
|
|
|
whereSql +=" and w.create_user_type=2 ";//创建人为客服
|
|
|
whereSql += " and e.create_user ="+code+" ";
|
|
|
whereSql += " and e.create_user ='"+code+"' ";
|
|
|
}
|
|
|
}else if(userType==3){//医生
|
|
|
if(isAcceptTask==1){//我接收
|
|
|
whereSql +=" and w.create_user_type=2 ";//创建人为客服
|
|
|
whereSql += " and e.executor_code ="+code+" ";
|
|
|
whereSql += " and e.executor_code ='"+code+"' ";
|
|
|
}else if(isAcceptTask==2){//我派发
|
|
|
whereSql +=" and w.create_user_type=2 ";//创建人为医生
|
|
|
whereSql += " and e.create_user ="+code+" ";
|
|
|
whereSql += " and e.create_user ='"+code+"' ";
|
|
|
}
|
|
|
}
|
|
|
|
|
@ -136,7 +136,7 @@ public class SynergyManageService extends BaseJpaService {
|
|
|
}
|
|
|
//是否是我负责的
|
|
|
if(isMyTask!=null){
|
|
|
whereSql += " and e.executor_code ="+code+" and e.executor_type=1 ";
|
|
|
whereSql += " and e.executor_code ='"+code+"' and e.executor_type=1 ";
|
|
|
}
|
|
|
//工单状态
|
|
|
if(status!=null){
|