业务申请电话时长不显示在别的项目中已经存在的客户信息

This commit is contained in:
tangfutang 2018-09-05 19:18:24 +08:00
parent 69a9a352ac
commit 5bc706dd8c

View File

@ -180,7 +180,7 @@ public class OnlineClient {
String name = ds.get(i).get("name");
String phone = ds.get(i).get("phone");
BizObjectManager ltbom = JBOFactory.getBizObjectManager(LB_TELONLINE.CLASS_NAME, tx);
BizObject lton = ltbom.createQuery("PERSON_ID=:PERSON_ID").setParameter(LB_TELONLINE.PERSON_ID, certid).getSingleResult(true);
BizObject lton = ltbom.createQuery("PERSON_ID=:PERSON_ID and PROJECT_ID=:projectid").setParameter(LB_TELONLINE.PERSON_ID, certid).setParameter("projectid", projectId).getSingleResult(true);
Map mapTypes =null;
//1.不存在则新增
if(lton==null){