use of com.cas.sim.tis.mapper.DrawMapper in project TeachingInSimulation by ScOrPiOzzy.
the class DrawServiceImpl method findByCreatorId.
@Override
public List<Draw> findByCreatorId(int creatorId) {
DrawMapper mapper = (DrawMapper) this.mapper;
Condition condition = new Condition(Draw.class);
Criteria criteria = condition.createCriteria();
criteria.andEqualTo("creatorId", creatorId);
criteria.andEqualTo("del", 0);
return mapper.selectByCondition(condition);
}
Aggregations