| | |
| | | @Transactional |
| | | public Boolean checkOrder(CheckBo bo) |
| | | { |
| | | if (StringUtils.isNotEmpty(bo.getIds())){ |
| | | if (StringUtils.isEmpty(bo.getIds())){ |
| | | throw new BaseException("请选择要审批的单据!"); |
| | | } |
| | | switch (bo.getCheckType()) |
| | |
| | | order.setCheckStatus(-1); |
| | | //审批拒绝,给申请人发送短信,如果通知企业也给企业发送短信 |
| | | smsService.sendCheckMsg(order.getApplyPhone(), order.getCheckStatus()); |
| | | orderService.updateById(order); |
| | | } else { |
| | | List<String> phones = orderService.getCheckPhones(order.getCheckLevel()+1, order.getApplyDeptId()); |
| | | if (StringUtils.isNotEmpty(phones)){ |