Przeglądaj źródła

提交获取指令功能

master
梁超 1 miesiąc temu
rodzic
commit
cc8a2f8650

+ 1
- 0
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/dto/portal/AuthDTO.java Wyświetl plik

@@ -53,6 +53,7 @@ public class AuthDTO extends BaseModel {
request.setExpireDate(LocalDate.parse(expireDate, DateTimeFormatter.ofPattern("yyyy-MM-dd")));
if (SourceType.findByCode(loginSource) == null) throw new ManagerException("未知的登录来源方");
request.setLoginSource(SourceType.findByCode(loginSource));
request.setAccessToken(accessToken);
return request;
}
}

+ 1
- 0
zhywpt-app-iaw/src/main/java/cn/com/taiji/iaw/dto/portal/FindAccountInfoByTokenDTO.java Wyświetl plik

@@ -23,6 +23,7 @@ public class FindAccountInfoByTokenDTO extends BaseModel {
FindAccountInfoByTokenRequest request = new FindAccountInfoByTokenRequest();
if (SourceType.findByCode(loginSource) == null) throw new ManagerException("未知的登录来源方");
request.setLoginSource(SourceType.findByCode(loginSource));
request.setAccessToken(accessToken);
return request;
}
}

+ 2
- 3
zhywpt-service-inss/src/main/java/cn/com/taiji/inss/manager/inst/InstOnlineActiveMananger.java Wyświetl plik

@@ -11,10 +11,8 @@ import cn.com.taiji.core.entity.invw.InvwCardDetails;
import cn.com.taiji.core.entity.invw.InvwObuDetails;
import cn.com.taiji.core.entity.issue.IssueOrderinfo;
import cn.com.taiji.core.entity.issue.IssueProduct;
import cn.com.taiji.core.entity.log.InssInterfaceLog;
import cn.com.taiji.core.manager.tools.issue.QdCallUtil;
import cn.com.taiji.core.model.comm.protocol.inss.inst.InstCallBackRequest;
import cn.com.taiji.core.model.comm.protocol.inss.inst.InstCallBackResponse;
import cn.com.taiji.core.model.comm.protocol.valid.GlyServiceError;
import cn.com.taiji.core.repo.jpa.basic.*;
import cn.com.taiji.core.repo.jpa.invw.InvwCardDetailsRepo;
@@ -238,6 +236,7 @@ public class InstOnlineActiveMananger extends AbstractCallBackManager {
}
if (vo.isSaveObu()) {
saveObuInfo(vo, orderInfo);
//更新签库存
obuDetails.setStatus(InvDeviceStatus.USED);
obuDetailsRepo.save(obuDetails);
}
@@ -383,7 +382,7 @@ public class InstOnlineActiveMananger extends AbstractCallBackManager {
persistTransaction(ISSUE_OBU_SYNC, vo.getOrderId(), "obu");
persistTransaction(ISSUE_OBU_UPLOAD, vo.getOrderId(), Operation.ADD.name());
//通知渠道
if(orderInfo.getOrderSource()==SourceType.CHANNEL){
if (orderInfo.getOrderSource() == SourceType.CHANNEL) {
qdCallUtil.callBackQd(orderInfo, "");
//公众号通知


Ładowanie…
Anuluj
Zapisz