update code

dev_xds
haha 2024-03-26 01:05:54 +08:00
parent 4b9a42c288
commit a88422a963
1 changed files with 6 additions and 1 deletions

View File

@ -251,7 +251,7 @@ public class AttendanceJgwTask {
public static void findTeamByProjectId(String appId,String token,String projectId){
String path="webapi/project/findTeamByProjectId";
String time = System.currentTimeMillis() + "";
String startId="0";
String startId="100";
String url=host+path+"?appId=" + appId + "&tokenSign=" + token +"&timestamp=" + time;
String tokenSign = Md5Utils.hash(url);
@ -322,6 +322,11 @@ public class AttendanceJgwTask {
cnt++;
}
SurProjectAttendanceUser user=SurProjectAttendanceUser.createFromJgw(json);
if(user.getWorkerId().equals("e878b1b9c6ac461ebc4109843974f4c3")){
String k=user.getName();
JSONArray arr2= json.getJSONArray("corpName");
Object o=arr2.get(0);
}
}
System.out.println("cnt:"+cnt+","+arr.size());
//findAddWorkerByProject(appId, token, projectId, endId);