修复两处存在SQL注入漏洞问题
This commit is contained in:
		| @@ -147,7 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||
|  	        <if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> | ||||
|  	        update_time = sysdate() | ||||
|         </set> | ||||
|  	    where dept_id in (${ancestors}) | ||||
|  	    where find_in_set(#{deptId}, ancestors) | ||||
| 	</update> | ||||
| 	 | ||||
| 	<delete id="deleteDeptById" parameterType="Long"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user