增加是否书面审理
This commit is contained in:
@@ -50,6 +50,14 @@ public class CaseApplication extends BaseEntity {
|
||||
|
||||
/** 案件状态 */
|
||||
private Integer caseStatus;
|
||||
|
||||
/** 申请人是否书面审理 */
|
||||
private Integer applicantIsWrittenHear;
|
||||
|
||||
/** 被申请人是否书面审理 */
|
||||
private Integer respondentIsWrittenHear;
|
||||
|
||||
|
||||
/** 案件申请表ID */
|
||||
private Long caseAppliId;
|
||||
|
||||
|
||||
@@ -38,6 +38,9 @@ public class CaseEvidenceDTO {
|
||||
/** 是否管辖异议申请 */
|
||||
private Integer objectiJuris;
|
||||
|
||||
/** 被申请人是否书面审理 */
|
||||
private Integer respondentIsWrittenHear;
|
||||
|
||||
|
||||
/**
|
||||
* 案件仲裁员
|
||||
|
||||
+9
@@ -1082,6 +1082,15 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
BigDecimal feePayable = caseApplication.getCaseSubjectAmount().multiply(feeRate).setScale(2, RoundingMode.HALF_UP);
|
||||
caseApplication.setFeePayable(feePayable);
|
||||
caseApplication.setUpdateBy(getUsername());
|
||||
Integer applicantIsWrittenHear = caseApplication.getApplicantIsWrittenHear();
|
||||
if(applicantIsWrittenHear.intValue()==1){
|
||||
//书面审理
|
||||
caseApplication.setArbitratMethod(2);
|
||||
}else {
|
||||
//开庭审理
|
||||
caseApplication.setArbitratMethod(1);
|
||||
}
|
||||
|
||||
// 立案申请状态直接修改主表信息
|
||||
if (caseApplication.getCaseStatus() != null && caseApplication.getCaseStatus().equals(CaseApplicationConstants.CASE_APPLICATION)) {
|
||||
// 修改内置字段
|
||||
|
||||
+8
-9
@@ -202,6 +202,7 @@ public class CaseEvidenceServiceImpl implements ICaseEvidenceService {
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public AjaxResult caseCrossexamination(CaseEvidenceDTO caseEvidenceDTO) {
|
||||
//查询案件详细信息
|
||||
CaseApplication caseApplication = new CaseApplication();
|
||||
@@ -211,8 +212,6 @@ public class CaseEvidenceServiceImpl implements ICaseEvidenceService {
|
||||
caseApplication1.setAdjudicaCounterReason(caseEvidenceDTO.getAdjudicaCounterReason());
|
||||
int caseStatus = caseApplication1.getCaseStatus();
|
||||
caseApplication1.setObjectionAddEviden(caseEvidenceDTO.getObjectionAddEviden());
|
||||
//默认书面审理
|
||||
caseApplication1.setOpenCourtHear(0);
|
||||
caseApplication1.setPendingAppointArbotrar(caseEvidenceDTO.getPendingAppointArbotrar());
|
||||
caseApplication1.setAdjudicaCounter(caseEvidenceDTO.getAdjudicaCounter());
|
||||
caseApplication1.setObjectiJuris(caseEvidenceDTO.getObjectiJuris());
|
||||
@@ -227,14 +226,14 @@ public class CaseEvidenceServiceImpl implements ICaseEvidenceService {
|
||||
}
|
||||
//修改案件状态
|
||||
caseApplication1.setCaseStatus(CaseApplicationConstants.CONFIRMDED_PENDING_TRIAL_SUBMMIT);
|
||||
//选择仲裁方式
|
||||
if (caseEvidenceDTO.getOpenCourtHear() == null){
|
||||
//没选默认书面审理
|
||||
caseApplication1.setArbitratMethod(2); //书面审理
|
||||
}else if (caseEvidenceDTO.getOpenCourtHear() == 1){
|
||||
|
||||
Integer respondentIsWrittenHear = caseEvidenceDTO.getRespondentIsWrittenHear();
|
||||
if(respondentIsWrittenHear.intValue()==1){
|
||||
//书面审理
|
||||
caseApplication1.setArbitratMethod(2);
|
||||
}else {
|
||||
//开庭审理
|
||||
caseApplication1.setArbitratMethod(1);
|
||||
} else {
|
||||
caseApplication1.setArbitratMethod(2); //书面审理
|
||||
}
|
||||
int i = caseApplicationMapper.submitCaseApplication(caseApplication1);
|
||||
if (i > 0) {
|
||||
|
||||
Reference in New Issue
Block a user