|
@@ -44,6 +44,8 @@ public class InstallProduceUploadListServiceImpl implements InstallProduceUpload
|
|
OrderProductService orderProductService;
|
|
OrderProductService orderProductService;
|
|
@Resource
|
|
@Resource
|
|
OrderInformationService orderInformationService;
|
|
OrderInformationService orderInformationService;
|
|
|
|
+ @Resource
|
|
|
|
+ TestService testService;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -54,10 +56,19 @@ public class InstallProduceUploadListServiceImpl implements InstallProduceUpload
|
|
List<OutJiasmToGreeUploadTaskList> ojtgutls = new ArrayList<>();
|
|
List<OutJiasmToGreeUploadTaskList> ojtgutls = new ArrayList<>();
|
|
log.info("开始预处理需要上传的工单数据: \uF0B7{}",sdf.format(new Date()));
|
|
log.info("开始预处理需要上传的工单数据: \uF0B7{}",sdf.format(new Date()));
|
|
|
|
|
|
|
|
+ //测试使用
|
|
|
|
+ Test orderno = testService.lambdaQuery()
|
|
|
|
+ .eq(Test::getFlag,1)
|
|
|
|
+ .last("limit 1").one();
|
|
|
|
+ if (orderno==null){
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
// 从需要上传的订单数据表中提取数据
|
|
// 从需要上传的订单数据表中提取数据
|
|
taskResults = outJiasmToGreeUploadnotifylistService.lambdaQuery()
|
|
taskResults = outJiasmToGreeUploadnotifylistService.lambdaQuery()
|
|
.eq(OutJiasmToGreeUploadnotifylist::getSynStatus, SynStatusEnum.UN_SYN.getCode())
|
|
.eq(OutJiasmToGreeUploadnotifylist::getSynStatus, SynStatusEnum.UN_SYN.getCode())
|
|
// .eq(OutJiasmToGreeUploadnotifylist::getSynReqId, 20916)// 测试用
|
|
// .eq(OutJiasmToGreeUploadnotifylist::getSynReqId, 20916)// 测试用
|
|
|
|
+ .eq(OutJiasmToGreeUploadnotifylist::getOrderNo, orderno.getId())// 测试用
|
|
.orderByAsc(OutJiasmToGreeUploadnotifylist::getSynReqId)
|
|
.orderByAsc(OutJiasmToGreeUploadnotifylist::getSynReqId)
|
|
.list();
|
|
.list();
|
|
try {
|
|
try {
|