|
|
|
@ -50,7 +50,6 @@ import com.logpm.distribution.wrapper.DistributionStockArticleWrapper;
|
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.common.constant.DictBizConstant; |
|
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageFreezeStatusConstant; |
|
|
|
|
import org.springblade.common.constant.printTemplate.PrintTemplateStatusConstant; |
|
|
|
|
import org.springblade.common.utils.CommonUtil; |
|
|
|
|
import org.springblade.common.utils.FileUtil; |
|
|
|
@ -81,7 +80,6 @@ import java.io.IOException;
|
|
|
|
|
import java.util.*; |
|
|
|
|
import java.util.concurrent.ScheduledThreadPoolExecutor; |
|
|
|
|
import java.util.concurrent.TimeUnit; |
|
|
|
|
import java.util.function.Function; |
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -1037,7 +1035,7 @@ public class DistributionStockArticleServiceImpl extends BaseServiceImpl<Distrib
|
|
|
|
|
@Override |
|
|
|
|
public DistributionStockArticleEntity findZeroByOrderCodeAndWarehouseId(String orderCode, Long warehouseId) { |
|
|
|
|
QueryWrapper<DistributionStockArticleEntity> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
queryWrapper.like("order_code",orderCode) |
|
|
|
|
queryWrapper.eq("order_code",orderCode) |
|
|
|
|
.eq("warehouse_id",warehouseId) |
|
|
|
|
.eq("is_zero",1) |
|
|
|
|
.eq("is_deleted",0); |
|
|
|
|