故障申報bug修改
This commit is contained in:
parent
fe71a0d180
commit
60b9c7806c
|
@ -22,12 +22,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bf.vehicle_num,
|
||||
bf.store_id,
|
||||
su.agent_id
|
||||
from <include refid="searchTables"/>
|
||||
<include refid="searchTables"></include>
|
||||
</sql>
|
||||
|
||||
<sql id="searchTables">
|
||||
bst_fault bf
|
||||
from bst_fault bf
|
||||
left join sys_user su on bf.store_id = su.user_id
|
||||
left join sys_user syu on bf.user_id = syu.user_id
|
||||
</sql>
|
||||
|
||||
<sql id="searchCondition">
|
||||
|
@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="query.appealStatus != null and query.appealStatus != ''"> and bf.appeal_status = #{query.appealStatus}</if>
|
||||
${@com.ruoyi.framework.util.DataScopeUtil@dataScope(
|
||||
null,
|
||||
"bf.store_id,su.agent_id",
|
||||
"bf.store_id,su.agent_id,bf.user_id",
|
||||
null,
|
||||
null,
|
||||
query.scope
|
||||
|
|
|
@ -49,6 +49,7 @@ public class FaultController extends BaseController
|
|||
startPage();
|
||||
startOrderBy();
|
||||
query.setScope(true);
|
||||
query.setStoreId(getUserId());
|
||||
List<FaultVO> list = faultService.selectFaultList(query);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user