public String selectByExample(StudentLogAssignExample example) {
    BEGIN();
    if (example != null && example.isDistinct()) {
      SELECT_DISTINCT("assign_id");
    } else {
      SELECT("assign_id");
    }
    SELECT("student_id");
    SELECT("depart_code");
    SELECT("depart_name");
    SELECT("job_code");
    SELECT("job_name");
    SELECT("job_days");
    SELECT("job_deadline");
    SELECT("assigned_to");
    SELECT("create_time");
    SELECT("create_user");
    FROM("student_log_assign");
    applyWhere(example, false);

    if (example != null && example.getOrderByClause() != null) {
      ORDER_BY(example.getOrderByClause());
    }

    return SQL();
  }
 /**
  * This method was generated by MyBatis Generator. This method corresponds to the database table
  * voltage_rank_classify
  *
  * @mbggenerated Wed Jan 13 12:15:38 CST 2016
  */
 public String selectByExample(VoltageRankClassifyExample example) {
   BEGIN();
   if (example != null && example.isDistinct()) {
     SELECT_DISTINCT("id");
   } else {
     SELECT("id");
   }
   SELECT("name");
   SELECT("value");
   SELECT("bigEquipment");
   FROM("voltage_rank_classify");
   applyWhere(example, false);
   if (example != null && example.getOrderByClause() != null) {
     ORDER_BY(example.getOrderByClause());
   }
   return SQL();
 }
  public String selectByExample(NewsExample example) {
    BEGIN();
    if (example != null && example.isDistinct()) {
      SELECT_DISTINCT("id");
    } else {
      SELECT("id");
    }
    SELECT("host");
    SELECT("title");
    SELECT("url");
    FROM("news");
    applyWhere(example, false);

    if (example != null && example.getOrderByClause() != null) {
      ORDER_BY(example.getOrderByClause());
    }

    return SQL();
  }