|
|
@ -62,6 +62,15 @@ public class DcEventImportantFileServiceImpl implements IDcEventImportantFileSer |
|
|
|
@Override |
|
|
|
public List<DcEventImportantFile> selectDcEventImportantFileList(DcEventImportantFile dcEventImportantFile) |
|
|
|
{ |
|
|
|
int type = dcEventImportantFileMapper.getImportantFileStatus(dcEventImportantFile.getEventId()); |
|
|
|
|
|
|
|
//已初报待续报的, 如果查初报只能查上报了的
|
|
|
|
if ((type == 1 || type == 2) && dcEventImportantFile.getType().equals("1")){ |
|
|
|
dcEventImportantFile.setStatus("1"); |
|
|
|
} else if (type == 3){ |
|
|
|
//已终报的, 不管查什么类型的都只能查已上报状态的
|
|
|
|
dcEventImportantFile.setStatus("1"); |
|
|
|
} |
|
|
|
return dcEventImportantFileMapper.selectDcEventImportantFileList(dcEventImportantFile); |
|
|
|
} |
|
|
|
|
|
|
|