|
@@ -73,7 +73,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtFjglxm> fjglxmList = jtFjglxmService.list(new LambdaQueryWrapper<JtFjglxm>()
|
|
List<JtFjglxm> fjglxmList = jtFjglxmService.list(new LambdaQueryWrapper<JtFjglxm>()
|
|
.in(JtFjglxm::getMainid, ids)
|
|
.in(JtFjglxm::getMainid, ids)
|
|
.eq(JtFjglxm::getDeleted, "0"));
|
|
.eq(JtFjglxm::getDeleted, "0"));
|
|
- if (fjglxmList != null && !fjglxmList.isEmpty()) {
|
|
|
|
|
|
+ if (!fjglxmList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtFjglxm fjglxm : fjglxmList) {
|
|
for (JtFjglxm fjglxm : fjglxmList) {
|
|
String id = fjglxm.getId();
|
|
String id = fjglxm.getId();
|
|
@@ -86,7 +86,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtKcsjxm> jtKcsjxmList = jtKcsjxmService.list(new LambdaQueryWrapper<JtKcsjxm>()
|
|
List<JtKcsjxm> jtKcsjxmList = jtKcsjxmService.list(new LambdaQueryWrapper<JtKcsjxm>()
|
|
.in(JtKcsjxm::getMainid, ids)
|
|
.in(JtKcsjxm::getMainid, ids)
|
|
.eq(JtKcsjxm::getDeleted, "0"));
|
|
.eq(JtKcsjxm::getDeleted, "0"));
|
|
- if (jtKcsjxmList != null && !jtKcsjxmList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtKcsjxmList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtKcsjxm jtKcsjxm : jtKcsjxmList) {
|
|
for (JtKcsjxm jtKcsjxm : jtKcsjxmList) {
|
|
String id = jtKcsjxm.getId();
|
|
String id = jtKcsjxm.getId();
|
|
@@ -99,7 +99,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtGzdg> jtGzdgList = jtGzdgService.list(new LambdaQueryWrapper<JtGzdg>()
|
|
List<JtGzdg> jtGzdgList = jtGzdgService.list(new LambdaQueryWrapper<JtGzdg>()
|
|
.in(JtGzdg::getMainid, ids)
|
|
.in(JtGzdg::getMainid, ids)
|
|
.eq(JtGzdg::getDeleted, "0"));
|
|
.eq(JtGzdg::getDeleted, "0"));
|
|
- if (jtGzdgList != null && !jtGzdgList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtGzdgList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtGzdg jtGzdg : jtGzdgList) {
|
|
for (JtGzdg jtGzdg : jtGzdgList) {
|
|
String id = jtGzdg.getId();
|
|
String id = jtGzdg.getId();
|
|
@@ -112,7 +112,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtZtfaps> jtZtfapsList = jtZtfapsService.list(new LambdaQueryWrapper<JtZtfaps>()
|
|
List<JtZtfaps> jtZtfapsList = jtZtfapsService.list(new LambdaQueryWrapper<JtZtfaps>()
|
|
.in(JtZtfaps::getMainid, ids)
|
|
.in(JtZtfaps::getMainid, ids)
|
|
.eq(JtZtfaps::getDeleted, "0"));
|
|
.eq(JtZtfaps::getDeleted, "0"));
|
|
- if (jtZtfapsList != null && !jtZtfapsList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtZtfapsList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtZtfaps jtZtfaps : jtZtfapsList) {
|
|
for (JtZtfaps jtZtfaps : jtZtfapsList) {
|
|
String id = jtZtfaps.getId();
|
|
String id = jtZtfaps.getId();
|
|
@@ -125,7 +125,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtWyys> jtWyysList = jtWyysService.list(new LambdaQueryWrapper<JtWyys>()
|
|
List<JtWyys> jtWyysList = jtWyysService.list(new LambdaQueryWrapper<JtWyys>()
|
|
.in(JtWyys::getMainid, ids)
|
|
.in(JtWyys::getMainid, ids)
|
|
.eq(JtWyys::getDeleted, "0"));
|
|
.eq(JtWyys::getDeleted, "0"));
|
|
- if (jtWyysList != null && !jtWyysList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtWyysList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtWyys jtWyys : jtWyysList) {
|
|
for (JtWyys jtWyys : jtWyysList) {
|
|
String id = jtWyys.getId();
|
|
String id = jtWyys.getId();
|
|
@@ -138,7 +138,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtYjbhgl> jtYjbhglList = jtYjbhglService.list(new LambdaQueryWrapper<JtYjbhgl>()
|
|
List<JtYjbhgl> jtYjbhglList = jtYjbhglService.list(new LambdaQueryWrapper<JtYjbhgl>()
|
|
.in(JtYjbhgl::getMainid, ids)
|
|
.in(JtYjbhgl::getMainid, ids)
|
|
.eq(JtYjbhgl::getDeleted, "0"));
|
|
.eq(JtYjbhgl::getDeleted, "0"));
|
|
- if (jtYjbhglList != null && !jtYjbhglList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtYjbhglList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtYjbhgl jtYjbhgl : jtYjbhglList) {
|
|
for (JtYjbhgl jtYjbhgl : jtYjbhglList) {
|
|
String id = jtYjbhgl.getId();
|
|
String id = jtYjbhgl.getId();
|
|
@@ -151,7 +151,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtScsdl> jtScsdlList = jtScsdlService.list(new LambdaQueryWrapper<JtScsdl>()
|
|
List<JtScsdl> jtScsdlList = jtScsdlService.list(new LambdaQueryWrapper<JtScsdl>()
|
|
.in(JtScsdl::getMainid, ids)
|
|
.in(JtScsdl::getMainid, ids)
|
|
.eq(JtScsdl::getDeleted, "0"));
|
|
.eq(JtScsdl::getDeleted, "0"));
|
|
- if (jtScsdlList != null && !jtScsdlList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtScsdlList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtScsdl jtScsdl : jtScsdlList) {
|
|
for (JtScsdl jtScsdl : jtScsdlList) {
|
|
String id = jtScsdl.getId();
|
|
String id = jtScsdl.getId();
|
|
@@ -165,7 +165,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtWtbhgl> jtWtbhglList = jtWtbhglService.list(new LambdaQueryWrapper<JtWtbhgl>()
|
|
List<JtWtbhgl> jtWtbhglList = jtWtbhglService.list(new LambdaQueryWrapper<JtWtbhgl>()
|
|
.in(JtWtbhgl::getMainid, ids)
|
|
.in(JtWtbhgl::getMainid, ids)
|
|
.eq(JtWtbhgl::getDeleted, "0"));
|
|
.eq(JtWtbhgl::getDeleted, "0"));
|
|
- if (jtWtbhglList != null && !jtWtbhglList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtWtbhglList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtWtbhgl jtWtbhgl : jtWtbhglList) {
|
|
for (JtWtbhgl jtWtbhgl : jtWtbhglList) {
|
|
String id = jtWtbhgl.getId();
|
|
String id = jtWtbhgl.getId();
|
|
@@ -178,7 +178,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtScbhgl> jtScbhglList = jtScbhglService.list(new LambdaQueryWrapper<JtScbhgl>()
|
|
List<JtScbhgl> jtScbhglList = jtScbhglService.list(new LambdaQueryWrapper<JtScbhgl>()
|
|
.in(JtScbhgl::getMainid, ids)
|
|
.in(JtScbhgl::getMainid, ids)
|
|
.eq(JtScbhgl::getDeleted, "0"));
|
|
.eq(JtScbhgl::getDeleted, "0"));
|
|
- if (jtScbhglList != null && !jtScbhglList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtScbhglList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtScbhgl jtScbhgl : jtScbhglList) {
|
|
for (JtScbhgl jtScbhgl : jtScbhglList) {
|
|
String id = jtScbhgl.getId();
|
|
String id = jtScbhgl.getId();
|
|
@@ -191,7 +191,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtSjjdqd> jtSjjdqdList = jtSjjdqdService.list(new LambdaQueryWrapper<JtSjjdqd>()
|
|
List<JtSjjdqd> jtSjjdqdList = jtSjjdqdService.list(new LambdaQueryWrapper<JtSjjdqd>()
|
|
.in(JtSjjdqd::getMainid, ids)
|
|
.in(JtSjjdqd::getMainid, ids)
|
|
.eq(JtSjjdqd::getDeleted, "0"));
|
|
.eq(JtSjjdqd::getDeleted, "0"));
|
|
- if (jtSjjdqdList != null && !jtSjjdqdList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtSjjdqdList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtSjjdqd jtSjjdqd : jtSjjdqdList) {
|
|
for (JtSjjdqd jtSjjdqd : jtSjjdqdList) {
|
|
String id = jtSjjdqd.getId();
|
|
String id = jtSjjdqd.getId();
|
|
@@ -204,7 +204,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtSjbgqd> jtSjbgqdList = jtSjbgqdService.list(new LambdaQueryWrapper<JtSjbgqd>()
|
|
List<JtSjbgqd> jtSjbgqdList = jtSjbgqdService.list(new LambdaQueryWrapper<JtSjbgqd>()
|
|
.in(JtSjbgqd::getMainid, ids)
|
|
.in(JtSjbgqd::getMainid, ids)
|
|
.eq(JtSjbgqd::getDeleted, "0"));
|
|
.eq(JtSjbgqd::getDeleted, "0"));
|
|
- if (jtSjbgqdList != null && !jtSjbgqdList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtSjbgqdList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtSjbgqd jtsjbgqd : jtSjbgqdList) {
|
|
for (JtSjbgqd jtsjbgqd : jtSjbgqdList) {
|
|
String id = jtsjbgqd.getId();
|
|
String id = jtsjbgqd.getId();
|
|
@@ -217,7 +217,7 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
List<JtZdxmszmn> jtZdxmszmnList = jtZdxmszmnService.list(new LambdaQueryWrapper<JtZdxmszmn>()
|
|
List<JtZdxmszmn> jtZdxmszmnList = jtZdxmszmnService.list(new LambdaQueryWrapper<JtZdxmszmn>()
|
|
.in(JtZdxmszmn::getMainid, ids)
|
|
.in(JtZdxmszmn::getMainid, ids)
|
|
.eq(JtZdxmszmn::getDeleted, "0"));
|
|
.eq(JtZdxmszmn::getDeleted, "0"));
|
|
- if (jtZdxmszmnList != null && !jtZdxmszmnList.isEmpty()) {
|
|
|
|
|
|
+ if (!jtZdxmszmnList.isEmpty()) {
|
|
// 遍历每一行数据
|
|
// 遍历每一行数据
|
|
for (JtZdxmszmn jtZdxmszmn : jtZdxmszmnList) {
|
|
for (JtZdxmszmn jtZdxmszmn : jtZdxmszmnList) {
|
|
String id = jtZdxmszmn.getId();
|
|
String id = jtZdxmszmn.getId();
|
|
@@ -227,18 +227,6 @@ public class SynchronizationDataServiceImpl implements SynchronizationDataServic
|
|
log.info("项目考核-数值模拟材料数据为 null");
|
|
log.info("项目考核-数值模拟材料数据为 null");
|
|
}
|
|
}
|
|
|
|
|
|
- List<JtXcjhqd> jtXcjhqdList = jtXcjhqdService.list(new LambdaQueryWrapper<JtXcjhqd>()
|
|
|
|
- .in(JtXcjhqd::getMainid, ids)
|
|
|
|
- .eq(JtXcjhqd::getDeleted, "0"));
|
|
|
|
- if (jtXcjhqdList != null && !jtXcjhqdList.isEmpty()) {
|
|
|
|
- // 遍历每一行数据
|
|
|
|
- for (JtXcjhqd jtXcjhqd : jtXcjhqdList) {
|
|
|
|
- String id = jtXcjhqd.getId();
|
|
|
|
- this.pushDataSync(id, "KC133");
|
|
|
|
- }
|
|
|
|
- } else {
|
|
|
|
- log.info("项目考核-巡查通报清单数据为 null");
|
|
|
|
- }
|
|
|
|
return R.ok();
|
|
return R.ok();
|
|
}
|
|
}
|
|
|
|
|