|
|
|
@ -119,8 +119,7 @@ public class CheckOrderUtils {
|
|
|
|
|
orderEntity.setStatus(ConstantStatus.ORDER_STATUS_SUCCESS);
|
|
|
|
|
orderEntity.setContrastStatus(ConstantStatus.ORDER_CHECK_SUCCESS);
|
|
|
|
|
orderEntity.setUpdateTime(new Date());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
orderService.updateOrder(orderEntity);
|
|
|
|
|
//更新业务单据为已校验
|
|
|
|
|
List<String> erpIds = DataTransUtil.strToErpList(orderEntity.getErpFk());
|
|
|
|
|
String status = "";
|
|
|
|
@ -138,9 +137,9 @@ public class CheckOrderUtils {
|
|
|
|
|
}
|
|
|
|
|
if (status.equals(ConstantStatus.SORDER_DELIVER)) {
|
|
|
|
|
orderEntity.setReceiveStatus(1);
|
|
|
|
|
orderService.updateOrder(orderEntity);
|
|
|
|
|
invProductsTrService.genInvProducts(orderEntity.getId());
|
|
|
|
|
}
|
|
|
|
|
orderService.updateOrder(orderEntity);
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
for (ErpOrderEntity erpOrderEntity : vailOrderEntities) {
|
|
|
|
|