|
|
@@ -329,6 +329,7 @@ public class SmartAttendanceController implements SmartAttendanceControllerAPI {
|
|
|
//返回的结果中 code为1表示成功
|
|
|
String bsResult = RequestUtils.httpPost(url, jsonobject.toJSONString());
|
|
|
|
|
|
+
|
|
|
ObjectMapper objectMapper = new ObjectMapper();
|
|
|
BsLeaveVo leave = objectMapper.readValue(bsResult, BsLeaveVo.class);
|
|
|
|
|
|
@@ -588,6 +589,7 @@ public class SmartAttendanceController implements SmartAttendanceControllerAPI {
|
|
|
try {
|
|
|
pushBs(askForLeaveRequest);
|
|
|
} catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
logger.error("请假id为:"+smartAttendance.getId()+"上传失败");
|
|
|
}
|
|
|
|