|
@@ -242,6 +242,7 @@ public class OrTeachingJobService {
|
|
|
* @Param
|
|
|
* @return
|
|
|
**/
|
|
|
+// @Scheduled(fixedDelay = 30000)
|
|
|
@Scheduled(fixedDelay = 30000)
|
|
|
public void synchronousDoorOpeningAndClosingRecords(){
|
|
|
try {
|
|
@@ -256,6 +257,7 @@ public class OrTeachingJobService {
|
|
|
appIsin.setUpdateTime(DateUtils.str2Date(data.getGmtCreate(), new SimpleDateFormat("yyyy-MM-dd HH:mm:ss")));
|
|
|
appIsin.setIsinStatus(1);
|
|
|
appIsin.setUseImage(data.getPortraitUrl());
|
|
|
+ appIsin.setOriginId(data.getPortraitUrl());
|
|
|
appIsinMapper.updateById(appIsin);
|
|
|
AppOrderProInfo orderProInfo = appOrderProInfoMapper.selectById(appIsin.getOrderProInfoId());
|
|
|
orderProInfo.setOrderStatus(2);
|
|
@@ -349,6 +351,7 @@ public class OrTeachingJobService {
|
|
|
record.getEmployeeNo(),
|
|
|
record.getAuthResultMsg(),
|
|
|
record.getGmtCreate(),
|
|
|
+ record.getOriginId(),
|
|
|
record.getPortraitUrl() // 可能为null,不影响
|
|
|
))
|
|
|
.filter(data -> data.getEmployeeNo() != null) // 可选:排除无效数据
|
|
@@ -377,6 +380,7 @@ public class OrTeachingJobService {
|
|
|
private String gmtCreate;
|
|
|
private String portraitUrl;
|
|
|
private String secMsgCode;
|
|
|
+ private String originId;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -389,5 +393,6 @@ public class OrTeachingJobService {
|
|
|
private String authResultMsg;
|
|
|
private String gmtCreate;
|
|
|
private String portraitUrl;
|
|
|
+ private String originId;
|
|
|
}
|
|
|
}
|