@@ -30,9 +30,5 @@
</where>
</select>
- <!--物理删除-->
- <update id="deleteBypositionId">
- DELETE FROM dp_position_address
- WHERE position_id = #{positionId}
- </update>
+
</mapper>
@@ -269,4 +269,10 @@
a.user_id = #{userId} and a.enterprise_name is null
+ <!--物理删除-->
+ <update id="deleteBypositionId">
+ DELETE FROM dp_position_address
+ WHERE position_id = #{positionId}
+ </update>