Fix(EditService): Fix get wrong tool detail
Fix get wrong tool detail in source page
This commit is contained in:
@@ -195,6 +195,7 @@
|
||||
<choose>
|
||||
<when test="operator == null">
|
||||
and tsu.username = #{username}
|
||||
and t_b_tool_main.publish != 0
|
||||
</when>
|
||||
<otherwise>
|
||||
<choose>
|
||||
@@ -206,11 +207,13 @@
|
||||
</when>
|
||||
<otherwise>
|
||||
and tsu.username = #{username}
|
||||
and t_b_tool_main.publish != 0
|
||||
</otherwise>
|
||||
</choose>
|
||||
</otherwise>
|
||||
</choose>
|
||||
</where>
|
||||
order by t_b_tool_main.id desc
|
||||
limit 1
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user