/**
   * This method was generated by MyBatis Generator. This method corresponds to the database table
   * `trade_move_check`
   *
   * @mbggenerated
   */
  public String selectByExample(TradeMoveCheckExample example) {
    SQL sql = new SQL();
    if (example != null && example.isDistinct()) {
      sql.SELECT_DISTINCT("id");
    } else {
      sql.SELECT("id");
    }
    sql.SELECT("order_id");
    sql.SELECT("order_sn");
    sql.SELECT("order_no");
    sql.SELECT("is_move_success");
    sql.SELECT("is_in_info");
    sql.SELECT("info_flag");
    sql.SELECT("info_desc");
    sql.SELECT("create_time");
    sql.SELECT("update_time");
    sql.FROM("`trade_move_check`");
    applyWhere(sql, example, false);

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

    String sqlStr = sql.toString();
    if (example.getPage() != null) {
      sqlStr =
          sqlStr
              + " limit "
              + example.getPage().getOffset()
              + ","
              + example.getPage().getLimit()
              + "";
    }
    return sqlStr;
  }