Compare commits
No commits in common. "53a27fae8a6b0d602a33130e6508196380855699" and "7b4f714af1d0d48c116ec1e1c2cbec81c40d0ff1" have entirely different histories.
53a27fae8a
...
7b4f714af1
|
@ -24,11 +24,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
bf.store_id,
|
bf.store_id,
|
||||||
ba.name as area_name,
|
ba.name as area_name,
|
||||||
su.agent_id
|
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>
|
||||||
<sql id="searchTables">
|
<sql id="searchTables">
|
||||||
bst_fault bf
|
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
|
left join sys_user su on bf.store_id = su.user_id
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
|
@ -271,6 +272,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<!-- selectCount -->
|
<!-- selectCount -->
|
||||||
|
|
||||||
<select id="selectCount" parameterType="FaultQuery" resultType="Integer">
|
<select id="selectCount" parameterType="FaultQuery" resultType="Integer">
|
||||||
select count(bf.id)
|
select count(bf.id)
|
||||||
from <include refid="searchTables"/>
|
from <include refid="searchTables"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user