@Override
public void run() {
AlertDialog.Builder ab = new AlertDialog.Builder(DashboardActivity.this);
ab.setMessage("invalid deal id or does not belong to the same organization").
setNegativeButton("OK", dialogClickListener).show();
}
当我点击确定警报时不会解雇; 试着 ab.dismiss() ab.cancel()
任何帮助?
答案 0 :(得分:0)
<ul>
<li ng-repeat="user in users | customFilter: 15">
{{ user }}
</li>
</ul>
答案 1 :(得分:-1)
String sql = "select u from User u where UPPER(u.role) like (:role)";
List<User> u = em.createQuery(sql, User.class)
.setParameter("role", "journalist")
.getResultList();
这有效:)