故障新增运营区
This commit is contained in:
parent
007e4eed3a
commit
7039bebd43
|
@ -24,12 +24,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bf.store_id,
|
||||
ba.name as area_name,
|
||||
su.agent_id
|
||||
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
|
||||
from <include refid="searchTables"/>
|
||||
</sql>
|
||||
<sql id="searchTables">
|
||||
from bst_fault bf
|
||||
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>
|
||||
|
||||
|
@ -271,8 +270,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</foreach>
|
||||
</delete>
|
||||
|
||||
<!-- selectCount -->
|
||||
|
||||
<!-- selectCount -->
|
||||
<select id="selectCount" parameterType="FaultQuery" resultType="Integer">
|
||||
select count(bf.id)
|
||||
from <include refid="searchTables"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user