我有这个标准:
def myList = BAS.createCriteria().list () {
projections { distinct ( "id" )
property("date")
property("id")
}
carList{
eq("login",login)
}
ccList{
eq("cmd",false)
}
order("date","desc")
}
我还想添加null作为“cmd”的标准。在我的情况下是否可以使用 OR?
谢谢