Commit fb1b667f by qwmqiuwenmin

fix

parent 3efc7c0d
......@@ -250,13 +250,16 @@ public class DepartmentContoller extends WebBaseController{
}
@RequestMapping("department-batch-sync")
public HaobanResponse departmentBatchSync(String editDepartment,String delDepartmentIds,String addDepartment,@RequestBody SyncDepartmentQO args) {
public HaobanResponse departmentBatchSync(@RequestBody SyncDepartmentQO args) {
LoginVO login = (LoginVO) AuthRequestUtil.getSessionUser();
String wxEnterpriseId = login.getWxEnterpriseId();
String key = "haoban-sync-department-" + wxEnterpriseId;
if(RedisUtil.getCache(key) != null){
return resultResponse(HaoBanErrCode.ERR_10011);
}
String editDepartment = "";
String addDepartment = "";
String delDepartmentIds = "";
logger.info("【部门同步】args={}",JSON.toJSONString(args));
if(args != null){
editDepartment = args.getEditDepartment();
......
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