Commit db134cb0 by qwmqiuwenmin

fix

parent 63c6dc3f
......@@ -25,8 +25,6 @@ import com.gic.haoban.manage.web.auth.AuthRequestUtil;
import com.gic.haoban.manage.web.errCode.HaoBanErrCode;
import com.gic.haoban.manage.web.qo.StaffEditJsonQO;
import com.gic.haoban.manage.web.vo.LoginVO;
import com.google.gson.JsonArray;
import com.squareup.moshi.Json;
@RestController
......@@ -131,6 +129,22 @@ public class StaffController extends WebBaseController{
return resultResponse(HaoBanErrCode.ERR_1);
}
@RequestMapping("staff-invite")
public HaobanResponse staffInvite(String staffIds){
String[] staffArr = staffIds.split(",");
String[] userArr = new String[staffArr.length];
int index = 0;
for (String staffId : staffArr) {
StaffDTO staff = staffApiService.selectById(staffId);
if(staff != null){
String userId = staff.getWxUserId();
userArr[index] = userId;
}
index ++;
}
return resultResponse(HaoBanErrCode.ERR_1);
}
@RequestMapping("staff-batch-edit-department")
public HaobanResponse staffBatchEditDepartment(String params){
......
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