dao类

    /**
     * 自定义sql查询
     * @param sqlContent
     * @return
     */

    public List<LinkedHashMap<String, Object>> customQueryItem(String sqlContent);

mapper.xml

<select id="customQueryItem" parameterType="String" resultType="java.util.LinkedHashMap">
         <![CDATA[
            SELECT *  FROM (${value}) obj
          ]]>
    </select>

 

相关文章:

  • 2022-12-23
  • 2021-08-05
  • 2022-02-12
  • 2021-11-20
  • 2022-12-23
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-15
  • 2022-01-10
  • 2022-01-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案