提交 dc7fd421 编写于 作者: Z Zhou Rui

删除多余的print(!!!!!!!!!!!!!!!)

上级 1dc1515a
......@@ -122,10 +122,6 @@ public class PersonFactory extends AbstractFactory {
cq.select(root.get(Person_.id));
Query query = em.createQuery(cq.where(p));
List<String> list = em.createQuery(cq.where(p).distinct(true)).getResultList();
System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
System.out.println(query);
System.out.println(XGsonBuilder.toJson(list));
System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
if (list.size() == 1) {
return list.get(0);
} else {
......
......@@ -52,8 +52,6 @@ public class WorkLogFactory extends AbstractFactory {
} else if (list.size() == 1) {
return list.get(0);
} else {
System.out.println("!!!!!!!!!!!!!!!!!!!!!!");
System.out.println(XGsonBuilder.toJson(list));
throw new Exception("find multiple workLog point to arrivedActivityToken{value:" + activityToken
+ "}, is not impossible.");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册