|
@@ -628,7 +628,7 @@ public class PlanServiceImpl extends ServiceImpl<PlanMapper, Plan> implements Pl
|
|
if (describtionCell != null) describtionCell.setCellType(CellType.STRING);
|
|
if (describtionCell != null) describtionCell.setCellType(CellType.STRING);
|
|
plan.setStartDate(planType==0?LocalDate.now():LocalDate.now().plusDays(1));
|
|
plan.setStartDate(planType==0?LocalDate.now():LocalDate.now().plusDays(1));
|
|
if(productSchedulingNumCell!=null){
|
|
if(productSchedulingNumCell!=null){
|
|
- Plan one = getOne(new QueryWrapper<Plan>().eq("product_scheduling_num", productSchedulingNumCell.getStringCellValue()).eq("product_name",productNameCell.getStringCellValue()));
|
|
|
|
|
|
+ Plan one = getOne(new QueryWrapper<Plan>().eq("product_scheduling_num", productSchedulingNumCell.getStringCellValue()).eq("product_name",productOrderNumCell.getStringCellValue()));
|
|
if(one!=null){
|
|
if(one!=null){
|
|
plan.setId(one.getId());
|
|
plan.setId(one.getId());
|
|
}
|
|
}
|