DriverIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/AgreementMapper.xml
@@ -19,9 +19,12 @@ <select id="queryByType" resultType="java.lang.String"> select content from t_agreement where `type` = #{type} and flag != 3 and `language` = 1 select content from t_agreement where `type` = #{type} and flag != 3 <if test="null != useType"> and useType = #{useType} </if> <if test="null != language"> and `language` = #{language} </if> </select> </mapper>