Exemplo n.º 1
0
 public static final List<Order> getServeringOrderByCusId(Integer cusId) {
   return dao.find(
       "select * from consulter_order where customer_id=? and server_status=0 and status=1",
       cusId);
 }
Exemplo n.º 2
0
 public static final List<Order> getUnserverOrder() {
   return dao.find("select * from consulter_order where server_status=0 and status=0");
 }