|
|
@ -1,6 +1,5 @@ |
|
|
|
package com.logpm.factory.comfac.service.impl; |
|
|
|
package com.logpm.factory.comfac.service.impl; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.ObjectUtils; |
|
|
@ -23,7 +22,9 @@ import com.logpm.factory.pan.service.IPanFactoryOrderService; |
|
|
|
import com.logpm.factory.pan.service.IPanPackageInfoService; |
|
|
|
import com.logpm.factory.pan.service.IPanPackageInfoService; |
|
|
|
import com.logpm.factory.pan.service.IPanPackageListService; |
|
|
|
import com.logpm.factory.pan.service.IPanPackageListService; |
|
|
|
import com.logpm.factory.snm.constant.PanFactoryEnum; |
|
|
|
import com.logpm.factory.snm.constant.PanFactoryEnum; |
|
|
|
import com.logpm.factory.snm.entity.*; |
|
|
|
import com.logpm.factory.snm.entity.PanFactoryOrder; |
|
|
|
|
|
|
|
import com.logpm.factory.snm.entity.PanPackageInfo; |
|
|
|
|
|
|
|
import com.logpm.factory.snm.entity.PanPackageList; |
|
|
|
import com.logpm.factory.zb.entity.ZbOrderPackageEntity; |
|
|
|
import com.logpm.factory.zb.entity.ZbOrderPackageEntity; |
|
|
|
import com.logpm.factory.zb.entity.ZbPackageInfoEntity; |
|
|
|
import com.logpm.factory.zb.entity.ZbPackageInfoEntity; |
|
|
|
import com.logpm.factory.zb.entity.ZbReceiptEntity; |
|
|
|
import com.logpm.factory.zb.entity.ZbReceiptEntity; |
|
|
@ -40,16 +41,13 @@ import com.logpm.oldproject.feign.IDetailProductClient; |
|
|
|
import com.logpm.oldproject.feign.IServiceNumClient; |
|
|
|
import com.logpm.oldproject.feign.IServiceNumClient; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.extern.log4j.Log4j2; |
|
|
|
import lombok.extern.log4j.Log4j2; |
|
|
|
import org.checkerframework.checker.units.qual.C; |
|
|
|
|
|
|
|
import org.jetbrains.annotations.Nullable; |
|
|
|
import org.jetbrains.annotations.Nullable; |
|
|
|
import org.springblade.core.redis.cache.BladeRedis; |
|
|
|
import org.springblade.core.redis.cache.BladeRedis; |
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
|
|
|
|
import org.springblade.core.tool.utils.ObjectUtil; |
|
|
|
import org.springblade.core.tool.utils.ObjectUtil; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
import java.sql.Date; |
|
|
|
|
|
|
|
import java.sql.Timestamp; |
|
|
|
import java.sql.Timestamp; |
|
|
|
import java.time.LocalDate; |
|
|
|
import java.time.LocalDate; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
@ -543,7 +541,7 @@ public class AsyncDataServiceImpl implements IAsyncDataService { |
|
|
|
advanceDetailEntity.setVolume("");//体积
|
|
|
|
advanceDetailEntity.setVolume("");//体积
|
|
|
|
advanceDetailEntity.setUnitNo(StringUtil.isBlank(factoryPackageEntity.getCode()) ? "" : factoryPackageEntity.getCode());//包条码
|
|
|
|
advanceDetailEntity.setUnitNo(StringUtil.isBlank(factoryPackageEntity.getCode()) ? "" : factoryPackageEntity.getCode());//包条码
|
|
|
|
advanceDetailEntity.setMctsTruck(advanceEntity.getMctsTruck());//车次号
|
|
|
|
advanceDetailEntity.setMctsTruck(advanceEntity.getMctsTruck());//车次号
|
|
|
|
advanceDetailEntity.setMctsTruckNo(advanceEntity.getMctsTruckNo());//车牌号
|
|
|
|
advanceDetailEntity.setMctsTruckNo(StringUtil.isBlank(advanceEntity.getMctsTruckNo())?"":advanceEntity.getMctsTruckNo());//车牌号
|
|
|
|
advanceDetailEntity.setDate100(null);//基地发货日期
|
|
|
|
advanceDetailEntity.setDate100(null);//基地发货日期
|
|
|
|
advanceDetailEntity.setDate2("");//预约到厂时间
|
|
|
|
advanceDetailEntity.setDate2("");//预约到厂时间
|
|
|
|
advanceDetailEntity.setDate3("");//实际到厂时间
|
|
|
|
advanceDetailEntity.setDate3("");//实际到厂时间
|
|
|
|