Commit 3a789883 by tyk

经验交流代码提交

parent 3871530a
...@@ -253,8 +253,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -253,8 +253,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectcxflList" parameterType="JygxWzgl" resultMap="SsflResult"> <select id="selectcxflList" parameterType="JygxWzgl" resultMap="SsflResult">
SELECT '全部' AS lxmc, COUNT(*) AS ts SELECT '全部' AS lxmc, COUNT(*) AS ts
FROM jygx_wzgl FROM jygx_wzgl
WHERE wznr LIKE concat('%', #{wznr}, '%') <where>
OR wzbt LIKE concat('%', #{wznr}, '%') <if test="wznr != null and wznr != ''">
AND wznr LIKE concat('%', #{wznr}, '%') OR wzbt LIKE concat('%', #{wznr}, '%')</if>
</where>
UNION ALL UNION ALL
SELECT SELECT
l.lxmc, l.lxmc,
......
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