serviceaddresspojo类
@One(target = BarberPojo.class, field = "barberid")
private BarberPojo barber;
dao().fetchLinks(serviceaddresspojo, "^barber$", Cnd.where("status", "=", 1));
执行的 sql 语句
"SELECT * FROM xy_barber WHERE barber_id='a3207aabddda4b82b1f2a48b9e875f6e'"
Cnd.where("status", "=", 1)条件没加进去
我想要的是
"SELECT * FROM xy_barber WHERE barber_id='a3207aabddda4b82b1f2a48b9e875f6e' and status= 1"
,怎么加?