Revert "非繁忙时间"
This reverts commit 26960dba6e60d2a377c5489ec054378fb2d3e73e.
| | |
| | | sqlMap.put("leave", VisitOrderCommon.STATUS_LEAVE); |
| | | sqlMap.put("time", ordersTotal.getCreateTime()); |
| | | sqlSentence.sqlSentence(" status not in (#{m.wait}, #{m.leave})" + |
| | | " and arrivalTime <= #{m.time} and leaveTime >= #{m.time} and isDel = #{m.isDel}", sqlMap); |
| | | " and arrivalTime <= #{m.time} and leaveTime >= #{m.createTime} and isDel = #{m.isDel}", sqlMap); |
| | | count = commonService.selectCount(VisitOrderMapper.class, sqlSentence); |
| | | ordersSnapshot.setIsOrder(count > 0 ? 1 : 0); |
| | | // 是否是初诊0:否,1:是) |