Commit 01e22891 by tyk

经验交流代码提交

parent 0d1d8023
......@@ -262,7 +262,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM
jygx_lxwh l
LEFT JOIN
jygx_wzgl w ON l.lxmc = w.lxmc AND w.wznr LIKE concat('%', #{wznr}, '%') OR w.wzbt LIKE concat('%', #{wznr}, '%')
jygx_wzgl w ON l.lxmc = w.lxmc
<if test="wznr != null and wznr != ''">
AND w.wznr LIKE concat('%', #{wznr}, '%') OR w.wzbt LIKE concat('%', #{wznr}, '%')</if>
GROUP BY
l.lxmc
</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