Update LogAccService
Penambahan informasi pegawaifk put log presensi
This commit is contained in:
parent
60509821f6
commit
92bce8e70c
@ -84,8 +84,9 @@ public class LogAccServiceImpl extends BaseVoServiceImpl implements LogAccServic
|
||||
con.setDoOutput(true);
|
||||
|
||||
OutputStream os = con.getOutputStream();
|
||||
String jsonOutputString = "{tr_no:" + vo.getTr_no() + ",empl_code:\"" + vo.getEmpl_code() + "\",ip_addr:\""
|
||||
+ vo.getIp_addr() + "\",client_ip_addr:\"" + vo.getClientIPAddress() + "\"}";
|
||||
String jsonOutputString = "{\"tr_no\":" + vo.getTr_no() + ",\"pegawaifk\":\"" + vo.getPegawai().getId()
|
||||
+ ",\"empl_code\":\"" + vo.getEmpl_code() + "\",\"ip_addr\":\"" + vo.getIp_addr()
|
||||
+ "\",\"client_ip_addr\":\"" + vo.getClientIPAddress() + "\"}";
|
||||
|
||||
byte[] requestBody = jsonOutputString.getBytes("UTF-8");
|
||||
os.write(requestBody, 0, requestBody.length);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user