1
This commit is contained in:
+6
-4
@@ -80,14 +80,16 @@ public class AdjudicationController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 归档(暂时只改案件状态)
|
* 归档(暂时只改案件状态)
|
||||||
* @param ids
|
* @param batchCaseApplication
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PostMapping("/caseFile")
|
@PostMapping("/caseFile")
|
||||||
// @PreAuthorize("@ss.hasPermi('awardManagement:list:file')")
|
// @PreAuthorize("@ss.hasPermi('awardManagement:list:file')")
|
||||||
public AjaxResult caseFile(@RequestParam(value = "ids",required = true) List<Long> ids){
|
public AjaxResult caseFile(@RequestBody BatchCaseApplication batchCaseApplication){
|
||||||
|
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())){
|
||||||
return adjudicationService.caseFile(ids);
|
return error("参数校验失败");
|
||||||
|
}
|
||||||
|
return adjudicationService.caseFile(batchCaseApplication.getIds());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+14
-8
@@ -89,11 +89,11 @@ public class CaseApplicationController extends BaseController {
|
|||||||
// @PreAuthorize("@ss.hasPermi('caseManagement:list:submit')")
|
// @PreAuthorize("@ss.hasPermi('caseManagement:list:submit')")
|
||||||
@Log(title = "提交立案申请", businessType = BusinessType.UPDATE)
|
@Log(title = "提交立案申请", businessType = BusinessType.UPDATE)
|
||||||
@PostMapping("/submitCaseApplication")
|
@PostMapping("/submitCaseApplication")
|
||||||
public AjaxResult submitCaseApplication(@RequestParam(value = "ids",required = true) List<Long> ids) {
|
public AjaxResult submitCaseApplication(@RequestBody BatchCaseApplication batchCaseApplication) {
|
||||||
if(CollectionUtil.isEmpty(ids)){
|
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())){
|
||||||
return error("参数校验失败");
|
return error("参数校验失败");
|
||||||
}
|
}
|
||||||
return toAjax(caseApplicationService.submitCaseApplication(ids));
|
return toAjax(caseApplicationService.submitCaseApplication(batchCaseApplication.getIds()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -102,9 +102,11 @@ public class CaseApplicationController extends BaseController {
|
|||||||
// @PreAuthorize("@ss.hasPermi('caseManagement:list:delete')")
|
// @PreAuthorize("@ss.hasPermi('caseManagement:list:delete')")
|
||||||
@Log(title = "删除立案数据", businessType = BusinessType.DELETE)
|
@Log(title = "删除立案数据", businessType = BusinessType.DELETE)
|
||||||
@PostMapping("/removeCaseApplication")
|
@PostMapping("/removeCaseApplication")
|
||||||
public AjaxResult removeCaseApplication(@RequestParam(value = "ids",required = true) List<Long> ids) {
|
public AjaxResult removeCaseApplication(@RequestBody BatchCaseApplication batchCaseApplication) {
|
||||||
|
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())){
|
||||||
return success(caseApplicationService.deletecaseApplicationByIds(ids));
|
return error("参数校验失败");
|
||||||
|
}
|
||||||
|
return success(caseApplicationService.deletecaseApplicationByIds(batchCaseApplication.getIds()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -235,6 +237,7 @@ public class CaseApplicationController extends BaseController {
|
|||||||
@Log(title = "审核裁决书", businessType = BusinessType.UPDATE)
|
@Log(title = "审核裁决书", businessType = BusinessType.UPDATE)
|
||||||
@PostMapping("/checkArbitrateRecord")
|
@PostMapping("/checkArbitrateRecord")
|
||||||
public AjaxResult checkArbitrateRecord(@Validated @RequestBody CaseApplication caseApplication) {
|
public AjaxResult checkArbitrateRecord(@Validated @RequestBody CaseApplication caseApplication) {
|
||||||
|
|
||||||
return toAjax(caseApplicationService.checkArbitrateRecord(caseApplication));
|
return toAjax(caseApplicationService.checkArbitrateRecord(caseApplication));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -255,8 +258,11 @@ public class CaseApplicationController extends BaseController {
|
|||||||
// @PreAuthorize("@ss.hasPermi('caseManagement:list:check')")
|
// @PreAuthorize("@ss.hasPermi('caseManagement:list:check')")
|
||||||
@Log(title = "提交立案审查", businessType = BusinessType.UPDATE)
|
@Log(title = "提交立案审查", businessType = BusinessType.UPDATE)
|
||||||
@PostMapping("/submitCaseApplicationCheck")
|
@PostMapping("/submitCaseApplicationCheck")
|
||||||
public AjaxResult submitCaseApplicationCheck(@RequestParam(value = "ids",required = true) List<Long> ids,@RequestParam(value = "agreeOrNotCheck",required = true) Integer agreeOrNotCheck) {
|
public AjaxResult submitCaseApplicationCheck(@RequestBody BatchCaseApplication batchCaseApplication) {
|
||||||
return toAjax(caseApplicationService.submitCaseApplicationCheck(ids,agreeOrNotCheck));
|
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())|| batchCaseApplication.getAgreeOrNotCheck()==null){
|
||||||
|
return error("参数校验失败");
|
||||||
|
}
|
||||||
|
return success(caseApplicationService.submitCaseApplicationCheck(batchCaseApplication.getIds(),batchCaseApplication.getAgreeOrNotCheck()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+7
-6
@@ -22,16 +22,17 @@ public class CaseArbitrateController extends BaseController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 审核仲裁方式
|
* 审核仲裁方式
|
||||||
* @param ids
|
* @param batchCaseApplication
|
||||||
* @param opinion 1同意,0拒绝
|
* @param batchCaseApplication 1同意,0拒绝
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@PutMapping("/method")
|
@PutMapping("/method")
|
||||||
// @PreAuthorize("@ss.hasPermi('caseManagement:list:checkarbitrationway')")
|
// @PreAuthorize("@ss.hasPermi('caseManagement:list:checkarbitrationway')")
|
||||||
public AjaxResult examineArbitrateMethod(@RequestParam(value = "ids",required = true) List<Long> ids
|
public AjaxResult examineArbitrateMethod(@RequestBody BatchCaseApplication batchCaseApplication){
|
||||||
,@RequestParam(value = "opinion",required = true) Integer opinion){
|
if(CollectionUtil.isEmpty(batchCaseApplication.getIds())|| batchCaseApplication.getOpinion()==null){
|
||||||
|
return error("参数校验失败");
|
||||||
return caseArbitrateService.examineArbitrateMethod(ids,opinion);
|
}
|
||||||
|
return caseArbitrateService.examineArbitrateMethod(batchCaseApplication.getIds(),batchCaseApplication.getOpinion());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+9
-1
@@ -11,5 +11,13 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class BatchCaseApplication {
|
public class BatchCaseApplication {
|
||||||
private List<CaseApplication> list;
|
private List<Long> ids;
|
||||||
|
/**
|
||||||
|
* 是否同意,0拒绝,1同意
|
||||||
|
*/
|
||||||
|
private Integer agreeOrNotCheck;
|
||||||
|
/**
|
||||||
|
* 1同意,0拒绝
|
||||||
|
*/
|
||||||
|
private Integer opinion;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@ public class CaseArbitrateServiceImpl implements ICaseArbitrateService {
|
|||||||
//查询案件详细信息
|
//查询案件详细信息
|
||||||
CaseApplication caseApplication1 = caseApplicationMapper.selectCaseApplication(caseApplication);
|
CaseApplication caseApplication1 = caseApplicationMapper.selectCaseApplication(caseApplication);
|
||||||
if (caseApplication1 == null) {
|
if (caseApplication1 == null) {
|
||||||
return AjaxResult.error();
|
return AjaxResult.success();
|
||||||
}
|
}
|
||||||
int arbitratMethod = caseApplication1.getArbitratMethod();
|
int arbitratMethod = caseApplication1.getArbitratMethod();
|
||||||
String caseNum = caseApplication1.getCaseNum();
|
String caseNum = caseApplication1.getCaseNum();
|
||||||
|
|||||||
@@ -44,6 +44,7 @@
|
|||||||
<result property="requestRule" column="request_rule" />
|
<result property="requestRule" column="request_rule" />
|
||||||
<result property="properPreser" column="proper_preser" />
|
<result property="properPreser" column="proper_preser" />
|
||||||
<result property="adjudicaCounter" column="adjudica_counter" />
|
<result property="adjudicaCounter" column="adjudica_counter" />
|
||||||
|
<result property="lockStatus" column="lock_status" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<select id="selectCaseApplicationList" parameterType="CaseApplication" resultMap="CaseApplicationResult">
|
<select id="selectCaseApplicationList" parameterType="CaseApplication" resultMap="CaseApplicationResult">
|
||||||
@@ -53,7 +54,7 @@
|
|||||||
t.loan_start_date ,t.loan_end_date ,t.claim_princi_owed ,t.claim_interest_owed ,t.claim_liquid_damag,t.fee_payable ,
|
t.loan_start_date ,t.loan_end_date ,t.claim_princi_owed ,t.claim_interest_owed ,t.claim_liquid_damag,t.fee_payable ,
|
||||||
t.begin_video_date ,t.online_video_person ,t.contract_number ,t.create_by ,t.create_time ,
|
t.begin_video_date ,t.online_video_person ,t.contract_number ,t.create_by ,t.create_time ,
|
||||||
t.update_by ,t.update_time , t.arbitrator_name,t.name,t.application_organ_id,t.applicantName,
|
t.update_by ,t.update_time , t.arbitrator_name,t.name,t.application_organ_id,t.applicantName,
|
||||||
t.arbitrator_id,t.identity_num , t.identity_type,t.filearbitra_url
|
t.arbitrator_id,t.identity_num , t.identity_type,t.filearbitra_url,t.lock_status
|
||||||
from(
|
from(
|
||||||
select c.id ,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method ,
|
select c.id ,c.case_num ,c.case_subject_amount ,c.register_date ,c.arbitrat_method ,
|
||||||
CASE c.arbitrat_method when 1 then '开庭审理' when 2 then '书面审理'
|
CASE c.arbitrat_method when 1 then '开庭审理' when 2 then '书面审理'
|
||||||
|
|||||||
Reference in New Issue
Block a user