|
@@ -20,6 +20,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
/**
|
|
|
* 裂解培训Controller
|
|
@@ -66,7 +67,7 @@ public class TTsLjplanController extends BaseController {
|
|
|
planDate.append(format.format(item.getPlanDate()));
|
|
|
content.append(item.getCourseDay()).append(":").append(item.getContent()).append(";"); //拼接内容字段 培训计划:内容;
|
|
|
} else {
|
|
|
- if (entity.getTopic().equals(item.getTopic())) { // 判断当前对象的主题是否为当前返回对象的主题
|
|
|
+ if (Objects.equals(entity.getPid(), item.getPid())) { // 判断当前对象的主题是否为当前返回对象的主题
|
|
|
content.append(item.getCourseDay()).append(":").append(item.getContent()).append(";");
|
|
|
} else {
|
|
|
if (tTsLjplans.get(i - 1).getPlanDate() != null)
|