修改考勤参数
parent
af69e57c4f
commit
5a19e81931
|
@ -106,9 +106,7 @@ public class UniCallBackController {
|
||||||
|
|
||||||
String admitGuid=json.getString("admitGuid");
|
String admitGuid=json.getString("admitGuid");
|
||||||
String cardNo=json.getString("cardNo");
|
String cardNo=json.getString("cardNo");
|
||||||
List<String> tmps= Arrays.asList(cardNo.split("0000"));
|
long projectId=Long.parseLong(cardNo);
|
||||||
long projectId=tmps.size()>1? Long.parseLong(tmps.get(1)):0;
|
|
||||||
long userId=tmps.size()>0? Long.parseLong(tmps.get(0)):0;
|
|
||||||
String deviceNo=json.getString("deviceNo");
|
String deviceNo=json.getString("deviceNo");
|
||||||
String filePath=json.getString("filePath");
|
String filePath=json.getString("filePath");
|
||||||
Date showTime=new Date(json.getLong("showTime"));
|
Date showTime=new Date(json.getLong("showTime"));
|
||||||
|
|
|
@ -487,7 +487,7 @@ public class UniServiceImpl implements IUniService{
|
||||||
userJo.put("name",puser.getUserName());
|
userJo.put("name",puser.getUserName());
|
||||||
userJo.put("phone",puser.getUserPhone());
|
userJo.put("phone",puser.getUserPhone());
|
||||||
userJo.put("tag",puser.getUserName());
|
userJo.put("tag",puser.getUserName());
|
||||||
userJo.put("cardNo",puser.getUserId()+"00000"+projectId);
|
userJo.put("cardNo",projectId);
|
||||||
userJo.put("idCardNo",puser.getCardCode());
|
userJo.put("idCardNo",puser.getCardCode());
|
||||||
userJo.put("password","");
|
userJo.put("password","");
|
||||||
userJo.put("addition","");
|
userJo.put("addition","");
|
||||||
|
|
Loading…
Reference in New Issue