Merge remote-tracking branch 'origin/fix_20230524' into fix_20230524
This commit is contained in:
+1
-1
@@ -141,7 +141,7 @@ public class OtaBaSjGnxtwhServiceImpl extends ServiceImpl<OtaBaSjGnxtwhMapper, O
|
||||
for (OtaBaSjGnxtwh wh : list) {
|
||||
String[] strs = wh.getDykzq().split(",");
|
||||
for (String str : strs) {
|
||||
if (str.equals(kzq)) {
|
||||
if (kzq.contains(str)) {
|
||||
return wh.getGnxt();
|
||||
}
|
||||
}
|
||||
|
||||
+4
-2
@@ -269,13 +269,15 @@ public class OtaBaSjSjxtbhServiceImpl extends ServiceImpl<OtaBaSjSjxtbhMapper, O
|
||||
List<String> oldYjbbList = otaBaSjSjxtbh.stream().map(OtaBaSjSjxtbh::getYjbb).distinct().collect(Collectors.toList());
|
||||
List<String> oldTempFileNameList = new ArrayList<>();
|
||||
oldYjbbList.forEach(sjSjxtbh -> {
|
||||
oldTempFileNameList.add(sjSjxtbh.replaceAll("见","") + ".docx");
|
||||
if (StringUtils.isNotEmpty(sjSjxtbh)) {
|
||||
oldTempFileNameList.add(sjSjxtbh.replaceAll("见", "") + ".docx");
|
||||
}
|
||||
});
|
||||
|
||||
int tempFileIndex = 1;
|
||||
String tempFilePath = uploadPath + "tempFile" + "/" + otaId;
|
||||
File tempFile = new File(tempFilePath);
|
||||
if(!tempFile.exists()){
|
||||
if (!tempFile.exists()) {
|
||||
tempFile.mkdirs();
|
||||
}
|
||||
List<String> tempFileNames = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user