|
@@ -1,5 +1,6 @@
|
|
|
package com.huimv.video.dhicc.test.request;
|
|
|
|
|
|
+import cn.hutool.core.util.ObjectUtil;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.huimv.video.dhicc.test.config.OauthConfigBaseInfo;
|
|
|
import com.huimv.video.dhicc.test.config.OauthConfigBaseInfo03;
|
|
@@ -61,7 +62,9 @@ public class PersonListRequestCn extends BaseRequest03<String> {
|
|
|
map.put("isContain", this.isContain);
|
|
|
map.put("searchKey", this.searchKey);
|
|
|
map.put("statusList", this.statusList);
|
|
|
- map.put("departmentId", this.departmentId);
|
|
|
+ if(ObjectUtil.isNotNull(this.departmentId)){
|
|
|
+ map.put("departmentId", this.departmentId);
|
|
|
+ }
|
|
|
this.setBody(JSON.toJSONString(map));
|
|
|
|
|
|
}
|