提交 1939361c authored 作者: 000516's avatar 000516

档期计划bug修改

...@@ -40,10 +40,10 @@ public class SalesApPromotionImplDao implements ISalesApPromotionDao { ...@@ -40,10 +40,10 @@ public class SalesApPromotionImplDao implements ISalesApPromotionDao {
public PageInfo page(SalesApWq salesApWq) { public PageInfo page(SalesApWq salesApWq) {
LambdaQueryWrapper<SalesApPromotion> qw = buildWq(salesApWq); LambdaQueryWrapper<SalesApPromotion> qw = buildWq(salesApWq);
Page<SalesApPromotion> salesApDisplayPage = salesApPromotionMapper.selectPage(TableSupport.pageI(), qw); Page<SalesApPromotion> salesApDisplayPage = salesApPromotionMapper.selectPage(TableSupport.pageI(), qw);
salesApDisplayPage.getRecords().forEach(salesApPromotion -> { // salesApDisplayPage.getRecords().forEach(salesApPromotion -> {
String flavor = salesApPromotion.getPlannedPromotionFlavor() == null ? null : salesApPromotion.getPlannedPromotionFlavor() + salesApPromotion.getPlannedPromotionFlavorOther(); // String flavor = salesApPromotion.getPlannedPromotionFlavor() == null ? null : salesApPromotion.getPlannedPromotionFlavor() + salesApPromotion.getPlannedPromotionFlavorOther();
salesApPromotion.setPlannedPromotionFlavor(flavor); // salesApPromotion.setPlannedPromotionFlavor(flavor);
}); // });
return new PageInfo(salesApDisplayPage); return new PageInfo(salesApDisplayPage);
} }
......
...@@ -398,9 +398,9 @@ public class SalesApPromotion implements Serializable { ...@@ -398,9 +398,9 @@ public class SalesApPromotion implements Serializable {
*/ */
private Date updateTime; private Date updateTime;
@TableField(exist = false) @TableField(exist = false)
private boolean isActualPromotionStartDate; private Boolean isActualPromotionStartDate;
@TableField(exist = false) @TableField(exist = false)
private boolean isActualPromotionEndDate; private Boolean isActualPromotionEndDate;
@TableField(exist = false) @TableField(exist = false)
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论