Compare commits

..

No commits in common. "53a27fae8a6b0d602a33130e6508196380855699" and "7b4f714af1d0d48c116ec1e1c2cbec81c40d0ff1" have entirely different histories.

View File

@ -24,11 +24,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bf.store_id,
ba.name as area_name,
su.agent_id
from <include refid="searchTables"/>
from bst_fault bf
left join bst_area ba on bf.area_id = ba.id
left join sys_user su on bf.store_id = su.user_id
</sql>
<sql id="searchTables">
bst_fault bf
left join bst_area ba on bf.area_id = ba.id
from bst_fault bf
left join sys_user su on bf.store_id = su.user_id
</sql>
@ -271,6 +272,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</delete>
<!-- selectCount -->
<select id="selectCount" parameterType="FaultQuery" resultType="Integer">
select count(bf.id)
from <include refid="searchTables"/>