| | |
| | | |
| | | import com.aizuda.bpm.engine.entity.FlwTaskActor; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.domain.model.LoginUser; |
| | | import com.ruoyi.system.bo.ProcessAgreeBO; |
| | | import com.ruoyi.system.task.base.AbstractJob; |
| | |
| | | processAgreeBO.setRemark("自动审批"); |
| | | processAgreeBO.setUserId(Long.valueOf(flwTaskActor.getActorId())); |
| | | stateProcessTemplateService.agree(processAgreeBO); |
| | | // 短信发送 |
| | | SysUser sysUser = sysUserService.selectUserById(Long.valueOf(flwTaskActor.getActorId())); |
| | | smsUtil.sendSms(sysUser.getPhonenumber(), "2369951", new String[]{""}); |
| | | }catch(Exception e){ |
| | | e.printStackTrace(); |
| | | } |