| | |
| | | import com.lf.server.helper.Md5Helper; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.mapper.show.ApplyMapper; |
| | | import org.hsqldb.rights.User; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | @Override |
| | | public ApplyEntity selectById(int id) { |
| | | return applyMapper.selectById(id); |
| | | } |
| | | |
| | | @Override |
| | | public UserEntity selectUserByDepid(Integer depid) { |
| | | return applyMapper.selectUserByDepid(depid); |
| | | } |
| | | |
| | | @Override |
| | |
| | | List<FlowEntity> list = new ArrayList<>(); |
| | | for (Integer depid : dr.getIds()) { |
| | | UserEntity user = selectUserByDepid(depid); |
| | | if (null == user) { |
| | | continue; |
| | | } |
| | | |
| | | FlowEntity flow = new FlowEntity(); |
| | | flow.setApplyid(applyId); |
| | |
| | | } |
| | | |
| | | return list; |
| | | } |
| | | |
| | | /** |
| | | * 根据单位ID查询用户 |
| | | */ |
| | | private UserEntity selectUserByDepid(Integer depid) { |
| | | // |
| | | |
| | | return null; |
| | | } |
| | | } |