流程中推送关务;

This commit is contained in:
王奎兴
2026-06-12 16:09:19 +08:00
parent c0d3372e0c
commit 36cd52a701
4 changed files with 52 additions and 9 deletions
@@ -283,13 +283,20 @@ public class ReservationStockInOrderApplicationService {
* @return Boolean
*/
public Boolean auditState(ReservationStockInOrderDO stockInOrderDO){
Integer issueStatus = stockInOrderDO.getIssueStatus();
// if (issueStatus == 2) {
// List<Long> idList = new ArrayList();
// idList.add(stockInOrderDO.getInOrderId());
// batchPush(idList);
// }
return stockInOrderDomainService.auditState(stockInOrderDO);
Boolean b = stockInOrderDomainService.auditState(stockInOrderDO);
Integer needCustomsDeclaration = stockInOrderDO.getNeedCustomsDeclaration();
Integer auditStatus = stockInOrderDO.getAuditStatus();
try {
if (needCustomsDeclaration != null && needCustomsDeclaration == 1 && auditStatus != null && auditStatus == 2) {
Long inOrderId = stockInOrderDO.getInOrderId();
List<Long> idList = new ArrayList<>();
idList.add(inOrderId);
batchPush(idList);
}
} catch (Exception e) {
throw new ServiceException("推送关务系统失败!");
}
return b;
}
/**