sysUser sysUser= ApplicationContextUtils.getBean(SysUser.class);
void execute(@Param("sql") String sql);
<update id="execute">
${sql}
</update>
String selectGenericString(@Param("sql") String sql);
<select id="selectGenericString" resultType="java.lang.String">
${sql}
</select>
int selectGenericCount(String s);
${s}
List<String> selectGenericStringList(@Param("sql") String sql);
<select id="selectGenericStringList" resultType="java.lang.String">
${sql}
</select>
List<HashMap<String, Object>> selectGenericObject(@Param("sql") String sql);
<select id="selectGenericObject" resultType="java.util.LinkedHashMap">
${sql}
</select>