Commit 73815a27 by lijingjing

业务等级只看自己的数据

parent d57db9b4
...@@ -104,6 +104,7 @@ public class EntrustController extends ServiceController { ...@@ -104,6 +104,7 @@ public class EntrustController extends ServiceController {
EntrustStatusEnum.TEST, EntrustStatusEnum.TEST,
EntrustStatusEnum.QUALITY_CHECK EntrustStatusEnum.QUALITY_CHECK
)); ));
entrust.setUid(getAccount().getUserId());
return success(entrustService.pageVO(getPage(), entrust)); return success(entrustService.pageVO(getPage(), entrust));
} }
......
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
<if test="null!=vo.flowStatus"> <if test="null!=vo.flowStatus">
AND e.flow_status = #{vo.flowStatus} AND e.flow_status = #{vo.flowStatus}
</if> </if>
<if test="null != vo.uid">
AND e.uid = #{vo.uid}
</if>
<if test="null != vo.groupNameList"> <if test="null != vo.groupNameList">
AND e.test_side IN AND e.test_side IN
<foreach collection="vo.groupNameList" index="index" item="groupName" open="(" separator="," close=")"> <foreach collection="vo.groupNameList" index="index" item="groupName" open="(" separator="," close=")">
...@@ -123,9 +126,6 @@ ...@@ -123,9 +126,6 @@
) )
</if> </if>
<if test="null != vo.uid">
AND e.uid = #{vo.uid}
</if>
order by e.ctime DESC order by e.ctime DESC
</select> </select>
......
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