Commit 0f00ce82 authored by zhangjianqian's avatar zhangjianqian

模糊搜索

parent 3c280b1e
......@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectTRiskManagerList" parameterType="TRiskManager" resultMap="TRiskManagerResult">
<include refid="selectTRiskManagerVo"/>
<where>
<if test="riskPart != null and riskPart != ''"> and risk_part = #{riskPart}</if>
<if test="riskPart != null and riskPart != ''"> and risk_part LIKE concat('%',#{riskPart},'%')</if>
<if test="riskContent != null and riskContent != ''"> and risk_content = #{riskContent}</if>
<if test="riskLevel != null and riskLevel != ''"> and risk_level = #{riskLevel}</if>
<if test="riskType != null and riskType != ''"> and risk_type = #{riskType}</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment