|
|
@@ -437,10 +437,10 @@
|
|
|
</if>
|
|
|
where 1=1
|
|
|
<if test="shiro ==0">
|
|
|
- <if test="isFollow ==0">
|
|
|
+ <if test="isFollow ==1">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="isFollow ==1">
|
|
|
+ <if test="isFollow ==0">
|
|
|
and a.input_id = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
</if>
|
|
|
@@ -495,8 +495,13 @@
|
|
|
left join admin e on e.department_id=c.id
|
|
|
</if>
|
|
|
where 1=1
|
|
|
- <if test="shiro ==0">
|
|
|
+ <if test="shiro ==0">
|
|
|
+ <if test="isFollow ==1">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
+ <if test="isFollow ==0">
|
|
|
+ and a.input_id = #{aid,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
</if>
|
|
|
<if test="shiro ==1">
|
|
|
and e.id = #{aid,jdbcType=VARCHAR}
|