@@ -382,9 +382,12 @@ public class ArchiveFileController extends BladeController {
list.stream().forEach(l -> {
if (l.getIsNeedCertification() == 0) {
l.setIsCertification(1);
- } else {
+ }else {
l.setIsCertification(0);
}
+ if (l.getIsApproval() == 0){
+ l.setStatus(2);
+ }
});
return R.data(this.archiveFileService.updateBatchById(list));