| | |
| | | if (skipServiceOrderStep(Dictionary.SERVICE_OVER_BEGIN_END)) { |
| | | projServices.setStartTime(new Date()); |
| | | projServices.setState(Dictionary.SERVICE_STATU_FWWC); |
| | | } else { |
| | | projServices.setState(Dictionary.SERVICE_STATU_PLWC); |
| | | } |
| | | // 释放床位资源 |
| | | // SysBedState checkBedState = sysBedStateDao.selectBySerIdAndBedId(projServices.getBedId(), projServices.getId()); |
| | |
| | | /** |
| | | * 跳过服务单某步骤 |
| | | */ |
| | | private boolean skipServiceOrderStep(String step) { |
| | | @Override |
| | | public boolean skipServiceOrderStep(String step) { |
| | | SysUsers users = (SysUsers) WebUtil.getSession().getAttribute(MatrixConstance.LOGIN_KEY); |
| | | ParameterSettings ps = new ParameterSettings(); |
| | | ps.setCompanyId(users.getCompanyId()); |