|
@@ -366,7 +366,10 @@ public class ArchiveFileController extends BladeController {
|
|
|
@ApiOperation(value = "文件收集-上传文件责任者")
|
|
|
public R getDutyUser(Long contractId, Long projectId) {
|
|
|
ContractInfo contractById = null;
|
|
|
- if (contractId == -1) {
|
|
|
+ if (contractId == null || contractId == -1) {
|
|
|
+ if(projectId == null || projectId == -1){
|
|
|
+ return R.data(null);
|
|
|
+ }
|
|
|
List<Long> longs = new ArrayList<>();
|
|
|
longs.add(projectId);
|
|
|
List<ContractInfo> contractInfos = contractClient.queryContractListByIds(longs);
|