|
@@ -117,8 +117,11 @@ public class ArchiveFileServiceImpl extends BaseServiceImpl<ArchiveFileMapper, A
|
|
|
Collections.sort(listInt);
|
|
|
for (int i = 0; i < list.size(); i++) {
|
|
|
list.get(i).setSort(listInt.get(i));
|
|
|
- if(list.get(i).getIsUpdateUrl() == 1) {
|
|
|
+ if(list.get(i).getIsUpdateUrl() != null && list.get(i).getIsUpdateUrl() == 1) {
|
|
|
ids.append(list.get(i).getId() + ",");
|
|
|
+ if(list.get(i).getRectification() != null && list.get(i).getRectification() == 1){
|
|
|
+ list.get(i).setRectification(2);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
if(ids != null && ids.length()>0){
|