Commit 93fcc6df authored by “yiyousong”'s avatar “yiyousong”
parents d83790fb ea4ed6b3
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.matter.dao.ibatis.MatterDaoImpl"> <mapper namespace="com.mortals.xhx.module.matter.dao.ibatis.MatterDaoImpl">
<select id="getSubListCount" parameterType="paramDto" resultType="int"> <select id="getSubListCount" parameterType="paramDto" resultType="int">
SELECT SELECT
count( 1 ) count( 1 )
...@@ -12,7 +10,7 @@ ...@@ -12,7 +10,7 @@
LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
<if test="condition.siteId!=null and condition.siteId!=''"> <if test="condition.siteId!=null and condition.siteId!=''">
a.siteId = #{condition.siteId,jdbcType=VARCHAR} where a.siteId = #{condition.siteId,jdbcType=VARCHAR}
</if> </if>
</trim> </trim>
)AS b ON a.matterNo = b.matterCode )AS b ON a.matterNo = b.matterCode
...@@ -41,7 +39,7 @@ ...@@ -41,7 +39,7 @@
LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter LEFT JOIN ( SELECT matterCode FROM mortals_sys_site_matter
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
<if test="condition.siteId!=null and condition.siteId!=''"> <if test="condition.siteId!=null and condition.siteId!=''">
a.siteId = #{condition.siteId,jdbcType=VARCHAR} where a.siteId = #{condition.siteId,jdbcType=VARCHAR}
</if> </if>
</trim> </trim>
) AS b ON a.matterNo = b.matterCode ) AS b ON a.matterNo = b.matterCode
......
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