Merge branch 'bgy' of SH-Arbitrate/Arbitrate-Backend into dev
This commit was merged in pull request #64.
This commit is contained in:
+4
-1
@@ -58,11 +58,12 @@ public class CaseEvidenceController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询当前用户案件列表
|
* 查询当前用户案件列表
|
||||||
|
*
|
||||||
* @param identityNum
|
* @param identityNum
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@GetMapping("/all")
|
@GetMapping("/all")
|
||||||
public TableDataInfo getCaseListAll(@RequestParam String identityNum) {
|
public TableDataInfo getCaseListAll(@RequestParam(required = false) String identityNum) {
|
||||||
startPage();
|
startPage();
|
||||||
List<CaseEvidenceVO> list = caseEvidenceService.getCaseListAll(identityNum);
|
List<CaseEvidenceVO> list = caseEvidenceService.getCaseListAll(identityNum);
|
||||||
if (list != null) {
|
if (list != null) {
|
||||||
@@ -73,6 +74,7 @@ public class CaseEvidenceController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 证据确认
|
* 证据确认
|
||||||
|
*
|
||||||
* @param caseApplication 案件对象
|
* @param caseApplication 案件对象
|
||||||
* @return 统一返回结果
|
* @return 统一返回结果
|
||||||
*/
|
*/
|
||||||
@@ -83,6 +85,7 @@ public class CaseEvidenceController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 案件质证
|
* 案件质证
|
||||||
|
*
|
||||||
* @param caseEvidenceDTO
|
* @param caseEvidenceDTO
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
|||||||
+15
-1
@@ -3,6 +3,9 @@ package com.ruoyi.wisdomarbitrate.service.impl;
|
|||||||
import com.ruoyi.common.config.RuoYiConfig;
|
import com.ruoyi.common.config.RuoYiConfig;
|
||||||
import com.ruoyi.common.constant.CaseApplicationConstants;
|
import com.ruoyi.common.constant.CaseApplicationConstants;
|
||||||
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.common.core.domain.AjaxResult;
|
||||||
|
import com.ruoyi.common.core.domain.model.LoginUser;
|
||||||
|
import com.ruoyi.common.utils.SecurityUtils;
|
||||||
|
import com.ruoyi.common.utils.StringUtils;
|
||||||
import com.ruoyi.wisdomarbitrate.utils.CaseLogUtils;
|
import com.ruoyi.wisdomarbitrate.utils.CaseLogUtils;
|
||||||
import com.ruoyi.common.utils.file.FileUploadUtils;
|
import com.ruoyi.common.utils.file.FileUploadUtils;
|
||||||
import com.ruoyi.wisdomarbitrate.domain.*;
|
import com.ruoyi.wisdomarbitrate.domain.*;
|
||||||
@@ -118,10 +121,21 @@ public class CaseEvidenceServiceImpl implements ICaseEvidenceService {
|
|||||||
|
|
||||||
return AjaxResult.error("上传失败");
|
return AjaxResult.error("上传失败");
|
||||||
}
|
}
|
||||||
|
@Autowired
|
||||||
|
IdentityAuthenticationMapper identityAuthenticationMapper;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<CaseEvidenceVO> getCaseListAll(String identityNum) {
|
public List<CaseEvidenceVO> getCaseListAll(String identityNum) {
|
||||||
|
if(StringUtils.isBlank(identityNum)){
|
||||||
|
LoginUser loginUser = SecurityUtils.getLoginUser();
|
||||||
|
String username = loginUser.getUsername();
|
||||||
|
IdentityAuthentication authentication=new IdentityAuthentication();
|
||||||
|
authentication.setUserName(username);
|
||||||
|
IdentityAuthentication authentication1 = identityAuthenticationMapper.selectIdentityAuthentication(authentication);
|
||||||
|
if(authentication1!=null){
|
||||||
|
identityNum = authentication1.getIdentityNo();
|
||||||
|
}
|
||||||
|
}
|
||||||
List<Integer> caseStatusList = Arrays.asList(CaseApplicationConstants.CASE_CROSSEXAMI);
|
List<Integer> caseStatusList = Arrays.asList(CaseApplicationConstants.CASE_CROSSEXAMI);
|
||||||
return getCaseEvidenceVOList(identityNum, caseStatusList, null);
|
return getCaseEvidenceVOList(identityNum, caseStatusList, null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user