修改bug

This commit is contained in:
2025-07-30 15:32:51 +08:00
parent 4c156f553b
commit bb0f79fc3c

View File

@@ -64,12 +64,12 @@ public class WmsSchedulePlanDetailServiceImpl implements IWmsSchedulePlanDetailS
QueryWrapper<WmsSchedulePlanDetail> lqw = Wrappers.query();
//联查需要取别名
lqw.eq("wspd.del_flag", 0);
lqw.eq( "wspd.plan_id", bo.getPlanId());
lqw.eq("wspd.line_id", bo.getLineId());
lqw.eq("wspd.product_id", bo.getProductId());
lqw.eq("wspd.quantity", bo.getQuantity());
lqw.eq("wspd.start_date", bo.getStartDate());
lqw.eq("wspd.end_date", bo.getEndDate());
lqw.eq( bo.getPlanId()!=null ,"wspd.plan_id", bo.getPlanId());
lqw.eq(bo.getLineId()!=null ,"wspd.line_id", bo.getLineId());
lqw.eq(bo.getProductId()!=null ,"wspd.product_id", bo.getProductId());
lqw.eq(bo.getQuantity()!=null ,"wspd.quantity", bo.getQuantity());
lqw.eq(bo.getStartDate()!=null ,"wspd.start_date", bo.getStartDate());
lqw.eq(bo.getEndDate()!=null ,"wspd.end_date", bo.getEndDate());
return lqw;
}