|
@@ -57,8 +57,8 @@ public class InstallProduceUploadListServiceImpl implements InstallProduceUpload
|
|
|
List<OutJiasmToGreeUploadTaskList> ojtgutls = new ArrayList<>();
|
|
|
log.info("开始预处理需要上传的工单数据: \uF0B7{}",sdf.format(new Date()));
|
|
|
|
|
|
- //测试使用
|
|
|
- List<String> orderNos = new ArrayList<>();
|
|
|
+ //测试用 20231013
|
|
|
+ /*List<String> orderNos = new ArrayList<>();
|
|
|
List<Test> orderno = testService.lambdaQuery()
|
|
|
.eq(Test::getFlag,1).list();
|
|
|
if (CollectionUtils.isEmpty(orderno)){
|
|
@@ -67,7 +67,7 @@ public class InstallProduceUploadListServiceImpl implements InstallProduceUpload
|
|
|
orderno.stream().forEach(event->{
|
|
|
orderNos.add(event.getId());
|
|
|
});
|
|
|
- orderno.clear();
|
|
|
+ orderno.clear();*/
|
|
|
|
|
|
|
|
|
|
|
@@ -76,7 +76,7 @@ public class InstallProduceUploadListServiceImpl implements InstallProduceUpload
|
|
|
taskResults = outJiasmToGreeUploadnotifylistService.lambdaQuery()
|
|
|
.eq(OutJiasmToGreeUploadnotifylist::getSynStatus, SynStatusEnum.UN_SYN.getCode())
|
|
|
// .eq(OutJiasmToGreeUploadnotifylist::getSynReqId, 20916)// 测试用
|
|
|
- .in(OutJiasmToGreeUploadnotifylist::getOrderNo, orderNos)// 测试用
|
|
|
+ // .in(OutJiasmToGreeUploadnotifylist::getOrderNo, orderNos)// 测试用 20231013
|
|
|
.orderByAsc(OutJiasmToGreeUploadnotifylist::getSynReqId)
|
|
|
.list();
|
|
|
try {
|