|
|
@ -84,9 +84,9 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
JSONArray jsonArray = new JSONArray(); |
|
|
|
JSONObject version = new JSONObject(); |
|
|
|
// 获取静态文件的路径
|
|
|
|
String downloadUrl = "http://10.10.188.45:8012/app.apk"; |
|
|
|
String downloadUrl = "http://10.10.188.45:8011/app.apk"; |
|
|
|
version.put("url", downloadUrl); // 将下载链接放入JSON对象中
|
|
|
|
version.put("versionName", "1.0.1"); |
|
|
|
version.put("versionName", "2.0.0"); |
|
|
|
jsonArray.add(version); |
|
|
|
return jsonArray; |
|
|
|
} |
|
|
@ -99,7 +99,6 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
@Override |
|
|
|
@SaIgnore |
|
|
|
public CommonPage<EasOutInBill> page(EasOutInBillQuery params) { |
|
|
|
params.setFuzzy(""); |
|
|
|
Page<EasOutInBill> easOutInBills = easOutInBillMapper.selectPage(new Page<>(params.getPage(), params.getSize()), new QueryWrapper<EasOutInBill>() |
|
|
|
.lambda() |
|
|
|
.eq(ObjectUtil.isNotEmpty(params.getDjlx()), EasOutInBill::getDjlx, params.getDjlx()) |
|
|
@ -191,10 +190,10 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
log.error("异常信息:" + e); |
|
|
|
} |
|
|
|
}, pool); |
|
|
|
CompletableFuture.runAsync(() -> { |
|
|
|
//todo 检查事务是否会失效
|
|
|
|
autoDeleteBill(easOutInBillDetails, existingIds); |
|
|
|
}, pool); |
|
|
|
// CompletableFuture.runAsync(() -> {
|
|
|
|
// //todo 检查事务是否会失效
|
|
|
|
// autoDeleteBill(easOutInBillDetails, existingIds);
|
|
|
|
// }, pool);
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -213,8 +212,8 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
bill.setSl(bill.getSl().abs()); |
|
|
|
} |
|
|
|
bill.setSysl(bill.getSl()); |
|
|
|
bill.setCjsj(LocalDateTime.parse(bill.getCjsj(), DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")).toLocalDate().toString()); |
|
|
|
if (bill.getDjly() == null) { |
|
|
|
bill.setCjsj(LocalDateTime.parse(bill.getCjsj(), DateTimeFormatter.ofPattern("yyyy/MM/dd HH:mm:ss")).toLocalDate().toString()); |
|
|
|
bill.setDjly("1"); |
|
|
|
} else { |
|
|
|
//srm的未入库改为提交
|
|
|
@ -255,6 +254,9 @@ public class EasOutInBillServiceImpl extends ServiceImpl<EasOutInBillMapper, Eas |
|
|
|
bill.setBtbz(detail.getBtbz()); |
|
|
|
bill.setCksj(detail.getCksj()); |
|
|
|
bill.setLlr(detail.getLlr()); |
|
|
|
if (bill.getDjlx().equals("CGRKD")) { |
|
|
|
bill.setDjly("2"); |
|
|
|
} |
|
|
|
return bill; |
|
|
|
}) |
|
|
|
.collect(Collectors.toList()); |
|
|
|