|
@@ -65,14 +65,14 @@ public class TsbCjWithdrawInvoiceJob extends TsbAbstractJob<Collection<Delivery>
|
|
|
wmsDeliveryService.updateWmsRecallInvoice(data);
|
|
wmsDeliveryService.updateWmsRecallInvoice(data);
|
|
|
|
|
|
|
|
// 3. mall tb_order_change 테이블 update
|
|
// 3. mall tb_order_change 테이블 update
|
|
|
- deliveryService.updateTbOrderChaneInvoc(data);
|
|
|
|
|
|
|
+ deliveryService.updateTbOrderChaneInvoc(data);
|
|
|
|
|
|
|
|
// 4. cj 회수 송장번호 수신결과 update
|
|
// 4. cj 회수 송장번호 수신결과 update
|
|
|
- cjDeliveryService.updateCjInvcNo(data);
|
|
|
|
|
- succCnt ++;
|
|
|
|
|
- }catch(Exception e) {
|
|
|
|
|
- failCnt++;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ cjDeliveryService.updateCjInvcNo(data);
|
|
|
|
|
+ succCnt ++;
|
|
|
|
|
+ }catch(Exception e) {
|
|
|
|
|
+ failCnt++;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -87,6 +87,10 @@ public class TsbCjWithdrawInvoiceJob extends TsbAbstractJob<Collection<Delivery>
|
|
|
for(Delivery data : statList) {
|
|
for(Delivery data : statList) {
|
|
|
|
|
|
|
|
// 2. mall tb_order_change 상태값 업뎃 , tb_order_change_detail 변경상태 업데이트 (배송완료일경우)
|
|
// 2. mall tb_order_change 상태값 업뎃 , tb_order_change_detail 변경상태 업데이트 (배송완료일경우)
|
|
|
|
|
+
|
|
|
|
|
+ data.setOrdChgSq(Integer.parseInt(data.getCjOrdChgSq()));
|
|
|
|
|
+ data.setOrdNo(Integer.parseInt(data.getCjOrdNo()));
|
|
|
|
|
+
|
|
|
deliveryService.updateTbOrderChangeStat(data);
|
|
deliveryService.updateTbOrderChangeStat(data);
|
|
|
|
|
|
|
|
// 3. cj 완료 업데이트
|
|
// 3. cj 완료 업데이트
|