Commit bfb982c6 authored by 赵啸非's avatar 赵啸非

修改根据业务查询部门逻辑

parent db04d4d6
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
<trim suffixOverrides="where" suffix=""> <trim suffixOverrides="where" suffix="">
where 1=1 and where 1=1 and
<trim prefixOverrides="and" prefix=""> <trim prefixOverrides="and" prefix="">
<if test="conditionParamRef.containsKey('siteBusinessIdList')"> <if test="condition.containsKey('siteBusinessIdList')">
${_conditionType_} siteBusinessId in ${_conditionType_} siteBusinessId in
<foreach collection="conditionParamRef.siteBusinessIdList" open="(" close=")" index="index" <foreach collection="condition.siteBusinessIdList" open="(" close=")" index="index"
item="item" separator=","> item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
......
...@@ -57,9 +57,13 @@ GET {{baseUrl}}/dept/edit?id={{Dept_id}} ...@@ -57,9 +57,13 @@ GET {{baseUrl}}/dept/edit?id={{Dept_id}}
Accept: application/json Accept: application/json
###部门删除 ###部门
GET {{baseUrl}}/dept/delete?id={{Dept_id}} POST {{baseUrl}}/dept/getDeptListByBusiness
Accept: application/json Content-Type: application/json
{
"siteBusinessIdList":[8,28]
}
......
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