Compare commits
2 Commits
cdcefab554
...
745f2ee510
Author | SHA1 | Date |
---|---|---|
|
745f2ee510 | |
|
a88422a963 |
|
@ -251,7 +251,7 @@ public class AttendanceJgwTask {
|
||||||
public static void findTeamByProjectId(String appId,String token,String projectId){
|
public static void findTeamByProjectId(String appId,String token,String projectId){
|
||||||
String path="webapi/project/findTeamByProjectId";
|
String path="webapi/project/findTeamByProjectId";
|
||||||
String time = System.currentTimeMillis() + "";
|
String time = System.currentTimeMillis() + "";
|
||||||
String startId="0";
|
String startId="100";
|
||||||
String url=host+path+"?appId=" + appId + "&tokenSign=" + token +"×tamp=" + time;
|
String url=host+path+"?appId=" + appId + "&tokenSign=" + token +"×tamp=" + time;
|
||||||
|
|
||||||
String tokenSign = Md5Utils.hash(url);
|
String tokenSign = Md5Utils.hash(url);
|
||||||
|
@ -322,6 +322,11 @@ public class AttendanceJgwTask {
|
||||||
cnt++;
|
cnt++;
|
||||||
}
|
}
|
||||||
SurProjectAttendanceUser user=SurProjectAttendanceUser.createFromJgw(json);
|
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());
|
System.out.println("cnt:"+cnt+","+arr.size());
|
||||||
//findAddWorkerByProject(appId, token, projectId, endId);
|
//findAddWorkerByProject(appId, token, projectId, endId);
|
||||||
|
|
Loading…
Reference in New Issue