|
@@ -1353,16 +1353,14 @@ public class OrderBaseInstallCjOrWgServiceImpl implements orderBaseInstallCjOrWg
|
|
|
for (OrderDetailFile f:detailFiles){
|
|
|
// 条码类型相同,采集图与上传图同步
|
|
|
if (code.getType().equals(String.valueOf(f.getFileType())) &&
|
|
|
- !code.getPath().equals(f.getFilePath()) &&
|
|
|
- !code.getGreeImageId().equals(f.getBrandFilePath())){
|
|
|
+ (!code.getPath().equals(f.getFilePath()) || !code.getGreeImageId().equals(f.getBrandFilePath()))){
|
|
|
code.setPath(f.getFilePath());
|
|
|
code.setGreeImageId(f.getBrandFilePath());
|
|
|
ucodes.add(code);
|
|
|
}
|
|
|
// 条码类型相同,采集图与上传图同步 管理端外机条码为3
|
|
|
if (code.getType().equals(String.valueOf(f.getFileType()-1)) &&
|
|
|
- !code.getPath().equals(f.getFilePath()) &&
|
|
|
- !code.getGreeImageId().equals(f.getBrandFilePath())){
|
|
|
+ (!code.getPath().equals(f.getFilePath()) || !code.getGreeImageId().equals(f.getBrandFilePath()))){
|
|
|
code.setPath(f.getFilePath());
|
|
|
code.setGreeImageId(f.getBrandFilePath());
|
|
|
ucodes.add(code);
|