|
|
|
@ -48,14 +48,14 @@ public class TdFileExtractController extends BaseController {
|
|
|
|
|
public TableDataInfo list(TdFileReceive tdFileReceive)
|
|
|
|
|
{
|
|
|
|
|
startPage();
|
|
|
|
|
List<TdFileReceive> tdFileReceives = tdFileReceiveService.selectTdFileReceiveByReceiveDepart(deptService.selectDeptById(getSysUser().getDeptId()).getDeptName());
|
|
|
|
|
List<TdFileReceive> tdFileReceiveList = new ArrayList<>();
|
|
|
|
|
for (TdFileReceive tdFileReceivelist : tdFileReceives){
|
|
|
|
|
if (tdFileReceivelist.getReceiveState().equals("1")){
|
|
|
|
|
tdFileReceiveList.add(tdFileReceivelist);
|
|
|
|
|
List<TdFileReceive> list = tdFileReceiveService.selectTdFileReceiveList(tdFileReceive);
|
|
|
|
|
List<TdFileReceive> tdFileReceives = new ArrayList<>();
|
|
|
|
|
for (TdFileReceive FileReceivelist : list){
|
|
|
|
|
if (FileReceivelist.getReceiveState().equals("1") && FileReceivelist.getReceiveDepartid().equals(deptService.selectDeptById(getSysUser().getDeptId()).getDeptName())){
|
|
|
|
|
tdFileReceives.add(FileReceivelist);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return getDataTable(tdFileReceiveList);
|
|
|
|
|
return getDataTable(tdFileReceives);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|