Commit d578f761 by tyk

经验交流代码提交

parent 44510a0f
...@@ -281,13 +281,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -281,13 +281,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="selectsyssList" parameterType="JygxWzgl" resultMap="JygxWzglResult"> <select id="selectsyssList" parameterType="JygxWzgl" resultMap="JygxWzglResult">
select * from jygx_wzgl d select * from jygx_wzgl
<where> <where>
<if test="wznr != null and wznr != ''"> <if test="wznr != null and wznr != ''">
wznr LIKE concat('%', #{wznr}, '%') OR wzbt LIKE concat('%', #{wznr}, '%') (wznr LIKE concat('%', #{wznr}, '%') OR wzbt LIKE concat('%', #{wznr}, '%'))
</if> </if>
<if test="lxmc != null and lxmc != ''"> and lxmc = #{lxmc}</if> <if test="lxmc != null and lxmc != ''"> and (lxmc = #{lxmc})</if>
and lxmc != "syxw" AND (lxmc != 'syxw')
</where> </where>
ORDER BY ifnull (px,999999), wzsj desc ORDER BY ifnull (px,999999), wzsj desc
</select> </select>
......
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