예제 #1
0
 /** @Title: getOrderAcceptInfoByDept @Description: 查询制定部门的待受理订单数量 */
 @Override
 public OrderAcceptInfo getOrderAcceptInfoByDept(OrderAcceptConfig oac, String standardCode) {
   oac.setStandardCode(standardCode);
   SqlSession session = this.getSqlSession(ExecutorType.SIMPLE);
   return (OrderAcceptInfo)
       session.selectOne(NAMESPACE_ORDERREMINDER + "generateOrderAcceptInfo", oac);
 }
예제 #2
0
 /** @Title: generateOrderAcceptInfo @Description: 统计待受理订单的部门和订单数量 */
 @Override
 public List<OrderAcceptInfo> generateOrderAcceptInfo(OrderAcceptConfig oac) {
   oac.setStandardCode(null);
   SqlSession session = this.getSqlSession(ExecutorType.SIMPLE);
   return session.selectList(NAMESPACE_ORDERREMINDER + "generateOrderAcceptInfo", oac);
 }