Activiti7 Highlights Java Common Workflow Development activities

v:ititit111222333

    /** * Query all active member roles under the user ID */
    public List<Member> queryMemberByUserId(Integer userId) {
        Member member = new Member();
        member.setUserId(userId);
        member.setIsDeleted(MEMBER_IS_DELETED_NO);
        member.setStatus(MEMBER_STATUS_NO);
        QueryWrapper<Member> queryWrapper = new QueryWrapper<>();
        queryWrapper.setEntity(member);
        return memberMapper.selectList(queryWrapper);
    }
Copy the code