提交 accc16b6 authored 作者: douxy's avatar douxy

增加店内执行计划导出/入功能:补充档期陈列导出策略实现代码

上级 23627eeb
......@@ -19,7 +19,9 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Objects;
/**
......@@ -69,6 +71,17 @@ public class SalesApPromotionImplDao implements ISalesApPromotionDao {
salesApPromotionMapper.putById(salesApPromotion);
}
/**
* 导出 - 根据条件查询导出数据
* @param build 条件
* @return 查询结果列表
*/
@Override
public List<SalesApPromotion> queryPromotionDisplayByCondition(SalesApWq build) {
LambdaQueryWrapper<SalesApPromotion> queryWrapper = buildWq(build);
return salesApPromotionMapper.selectList(queryWrapper);
}
private LambdaQueryWrapper<SalesApPromotion> buildWq(SalesApWq salesApWq) {
LambdaQueryWrapper<SalesApPromotion> qw = new LambdaQueryWrapper<>();
if (StringUtils.isNotBlank(salesApWq.getDealerCode())) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论