优化立案申请功能 #110
@@ -28,6 +28,17 @@ public class ArbitrateRecord extends BaseEntity {
|
||||
/** 裁决书附件id */
|
||||
private Integer annexId;
|
||||
|
||||
/** 被申请人是否缺席 */
|
||||
private Integer isAbsence;
|
||||
/** 被申请人质证意见 */
|
||||
private String responCrossOpin;
|
||||
/** 申请人质证意见 */
|
||||
private String applicaCrossOpin;
|
||||
/** 申请人是否缺席 */
|
||||
private Integer appliIsAbsen;
|
||||
/** 被申请人质证意见 */
|
||||
private String responDefenOpini;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -23,6 +23,56 @@ public class CaseAffiliate extends BaseEntity {
|
||||
* 申请机构名称
|
||||
*/
|
||||
private String applicationOrganName;
|
||||
|
||||
/**
|
||||
* 法定代表人
|
||||
*/
|
||||
private String compLegalPerson;
|
||||
/**
|
||||
* 法定代表人职位
|
||||
*/
|
||||
private String compLegalperPost;
|
||||
/**
|
||||
* 被申请人性别
|
||||
*/
|
||||
private String responSex;
|
||||
/**
|
||||
* 被申请人出生年月日
|
||||
*/
|
||||
private String responBirth;
|
||||
|
||||
public String getCompLegalPerson() {
|
||||
return compLegalPerson;
|
||||
}
|
||||
|
||||
public void setCompLegalPerson(String compLegalPerson) {
|
||||
this.compLegalPerson = compLegalPerson;
|
||||
}
|
||||
|
||||
public String getCompLegalperPost() {
|
||||
return compLegalperPost;
|
||||
}
|
||||
|
||||
public void setCompLegalperPost(String compLegalperPost) {
|
||||
this.compLegalperPost = compLegalperPost;
|
||||
}
|
||||
|
||||
public String getResponSex() {
|
||||
return responSex;
|
||||
}
|
||||
|
||||
public void setResponSex(String responSex) {
|
||||
this.responSex = responSex;
|
||||
}
|
||||
|
||||
public String getResponBirth() {
|
||||
return responBirth;
|
||||
}
|
||||
|
||||
public void setResponBirth(String responBirth) {
|
||||
this.responBirth = responBirth;
|
||||
}
|
||||
|
||||
/** 身份证号 */
|
||||
@Excel(name = "身份证号")
|
||||
private String identityNum;
|
||||
|
||||
@@ -79,8 +79,8 @@ public class CaseApplication extends BaseEntity {
|
||||
/** 申请人主张违约金 */
|
||||
@Excel(name = "申请人主张违约金")
|
||||
private BigDecimal claimLiquidDamag;
|
||||
/** 申请人仲裁诉求 */
|
||||
@Excel(name = "申请人仲裁诉求")
|
||||
/** 申请人仲裁请求及事实和理由 */
|
||||
@Excel(name = "申请人仲裁请求及事实和理由")
|
||||
private String arbitratClaims;
|
||||
/** 仲裁应缴费用 */
|
||||
private BigDecimal feePayable;
|
||||
@@ -121,6 +121,7 @@ public class CaseApplication extends BaseEntity {
|
||||
private Integer openCourtHear;
|
||||
|
||||
/** 申请人请求仲裁庭裁决 */
|
||||
@Excel(name = "申请人请求仲裁庭裁决")
|
||||
private String requestRule;
|
||||
/** 是否仲裁反请求 */
|
||||
private Integer adjudicaCounter;
|
||||
@@ -134,6 +135,16 @@ public class CaseApplication extends BaseEntity {
|
||||
private String responCrossOpin;
|
||||
/** 被申请人的答辩意见 */
|
||||
private String responDefenOpini;
|
||||
/** 申请人是否缺席 */
|
||||
private Integer appliIsAbsen;
|
||||
|
||||
public Integer getAppliIsAbsen() {
|
||||
return appliIsAbsen;
|
||||
}
|
||||
|
||||
public void setAppliIsAbsen(Integer appliIsAbsen) {
|
||||
this.appliIsAbsen = appliIsAbsen;
|
||||
}
|
||||
|
||||
public String getResponDefenOpini() {
|
||||
return responDefenOpini;
|
||||
@@ -507,6 +518,12 @@ public class CaseApplication extends BaseEntity {
|
||||
/** 姓名 */
|
||||
@Excel(name = "申请人主体信息-申请人(机构)",width = 26)
|
||||
private String name;
|
||||
/** 申请人主体信息-法定代表人 */
|
||||
@Excel(name = "申请人主体信息-法定代表人",width = 26)
|
||||
private String compLegalPerson;
|
||||
/** 申请人主体信息-法定代表人 */
|
||||
@Excel(name = "申请人主体信息-法定代表人职位",width = 26)
|
||||
private String compLegalperPost;
|
||||
/**
|
||||
* 申请人主体信息-申请人(机构)id
|
||||
*/
|
||||
@@ -549,6 +566,44 @@ public class CaseApplication extends BaseEntity {
|
||||
/** 身份证号 */
|
||||
@Excel(name = "被申请人主体信息-身份证号",width = 26)
|
||||
private String debtorIdentityNum;
|
||||
/** 被申请人主体信息-性别 */
|
||||
@Excel(name = "被申请人主体信息-性别",width = 26)
|
||||
private String responSex;
|
||||
/** 被申请人主体信息-出生年月日 */
|
||||
@Excel(name = "被申请人主体信息-出生年月日",width = 26)
|
||||
private String responBirth;
|
||||
|
||||
public String getCompLegalPerson() {
|
||||
return compLegalPerson;
|
||||
}
|
||||
|
||||
public void setCompLegalPerson(String compLegalPerson) {
|
||||
this.compLegalPerson = compLegalPerson;
|
||||
}
|
||||
|
||||
public String getCompLegalperPost() {
|
||||
return compLegalperPost;
|
||||
}
|
||||
|
||||
public void setCompLegalperPost(String compLegalperPost) {
|
||||
this.compLegalperPost = compLegalperPost;
|
||||
}
|
||||
|
||||
public String getResponSex() {
|
||||
return responSex;
|
||||
}
|
||||
|
||||
public void setResponSex(String responSex) {
|
||||
this.responSex = responSex;
|
||||
}
|
||||
|
||||
public String getResponBirth() {
|
||||
return responBirth;
|
||||
}
|
||||
|
||||
public void setResponBirth(String responBirth) {
|
||||
this.responBirth = responBirth;
|
||||
}
|
||||
|
||||
/** 联系电话 */
|
||||
@Excel(name = "被申请人主体信息-联系电话",width = 26)
|
||||
|
||||
@@ -29,6 +29,11 @@ public class CaseEvidenceDTO {
|
||||
* 是否指派仲裁员,1是,2否
|
||||
*/
|
||||
private Integer pendingAppointArbotrar;
|
||||
/** 是否仲裁反请求 */
|
||||
private Integer adjudicaCounter;
|
||||
/** 是否管辖异议申请 */
|
||||
private Integer objectiJuris;
|
||||
|
||||
|
||||
/**
|
||||
* 案件仲裁员
|
||||
|
||||
+39
-2
@@ -1031,6 +1031,16 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
if (createBy!=null){
|
||||
arbitrateRecordselect.setCreateBy(createBy);
|
||||
}
|
||||
|
||||
CaseApplication caseApplicationupdate = new CaseApplication();
|
||||
caseApplicationupdate.setId(arbitrateRecordselect.getCaseAppliId());
|
||||
caseApplicationupdate.setIsAbsence(arbitrateRecordselect.getIsAbsence());
|
||||
caseApplicationupdate.setAppliIsAbsen(arbitrateRecordselect.getAppliIsAbsen());
|
||||
caseApplicationupdate.setResponCrossOpin(arbitrateRecordselect.getResponCrossOpin());
|
||||
caseApplicationupdate.setApplicaCrossOpin(arbitrateRecordselect.getApplicaCrossOpin());
|
||||
caseApplicationupdate.setResponDefenOpini(arbitrateRecordselect.getResponDefenOpini());
|
||||
caseApplicationMapper.submitCaseApplication(caseApplicationupdate);
|
||||
|
||||
//先判断案件是否已经提交过仲裁结果
|
||||
ArbitrateRecord arbitrateRecordsele = arbitrateRecordMapper.selectArbitrateRecord(arbitrateRecordselect);
|
||||
if (arbitrateRecordsele!=null){
|
||||
@@ -1321,8 +1331,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
CaseAffiliate caseAffiliate = new CaseAffiliate();
|
||||
|
||||
// BeanUtils.copyBeanProp(caseApplication,caseAffiliate);
|
||||
BeanUtils.copyBeanProp(caseAffiliate,caseApplication);
|
||||
caseAffiliate.setIdentityType(1);
|
||||
// BeanUtils.copyBeanProp(caseAffiliate,caseApplication);
|
||||
// caseAffiliate.setIdentityType(1);
|
||||
caseAffiliate = buildApplicaInfo(caseApplication);
|
||||
// 申请人(机构),需要判断部门中是否存在,不存在则新增,当身份类型为1的时候,查询时需要根据名称查询组织机构
|
||||
if(StrUtil.isNotEmpty(caseApplication.getName())){
|
||||
setApplicantOrganization(caseAffiliate, caseApplication, deptMap);
|
||||
@@ -1334,6 +1345,29 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
caseApplication.setCaseAffiliates(caseAffiliatesnew);
|
||||
}
|
||||
|
||||
private CaseAffiliate buildApplicaInfo(CaseApplication caseApplication) {
|
||||
// 申请人信息
|
||||
CaseAffiliate caseAffiliate = new CaseAffiliate();
|
||||
caseAffiliate.setCaseAppliId(caseApplication.getId());
|
||||
caseAffiliate.setIdentityType(1);
|
||||
caseAffiliate.setName(caseApplication.getName());
|
||||
caseAffiliate.setIdentityNum(caseApplication.getIdentityNum());
|
||||
caseAffiliate.setContactTelphone(caseApplication.getContactTelphone());
|
||||
caseAffiliate.setContactAddress(caseApplication.getContactAddress());
|
||||
caseAffiliate.setWorkTelphone(caseApplication.getWorkTelphone());
|
||||
caseAffiliate.setWorkAddress(caseApplication.getWorkAddress());
|
||||
caseAffiliate.setNameAgent(caseApplication.getNameAgent());
|
||||
caseAffiliate.setIdentityNumAgent(caseApplication.getIdentityNumAgent());
|
||||
caseAffiliate.setContactTelphoneAgent(caseApplication.getContactTelphoneAgent());
|
||||
caseAffiliate.setContactAddressAgent(caseApplication.getContactAddressAgent());
|
||||
caseAffiliate.setCompLegalperPost(caseApplication.getCompLegalperPost());
|
||||
caseAffiliate.setCompLegalPerson(caseApplication.getCompLegalPerson());
|
||||
|
||||
return caseAffiliate;
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置申请人的组织机构
|
||||
* @param caseAffiliate
|
||||
@@ -1389,6 +1423,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
debtorCaseAffiliate.setIdentityNumAgent(caseApplication.getDebtorIdentityNumAgent());
|
||||
debtorCaseAffiliate.setContactTelphoneAgent(caseApplication.getDebtorContactTelphoneAgent());
|
||||
debtorCaseAffiliate.setContactAddressAgent(caseApplication.getDebtorContactAddressAgent());
|
||||
debtorCaseAffiliate.setResponSex(caseApplication.getResponSex());
|
||||
debtorCaseAffiliate.setResponBirth(caseApplication.getResponBirth());
|
||||
|
||||
return debtorCaseAffiliate;
|
||||
}
|
||||
|
||||
|
||||
+2
@@ -166,6 +166,8 @@ IdentityAuthenticationMapper identityAuthenticationMapper;
|
||||
caseApplication1.setObjectionAddEviden(caseEvidenceDTO.getObjectionAddEviden());
|
||||
caseApplication1.setOpenCourtHear(caseEvidenceDTO.getOpenCourtHear());
|
||||
caseApplication1.setPendingAppointArbotrar(caseEvidenceDTO.getPendingAppointArbotrar());
|
||||
caseApplication1.setAdjudicaCounter(caseEvidenceDTO.getAdjudicaCounter());
|
||||
caseApplication1.setObjectiJuris(caseEvidenceDTO.getObjectiJuris());
|
||||
List<Arbitrator> arbitrators = caseEvidenceDTO.getArbitrators();
|
||||
if (arbitrators != null && arbitrators.size() > 0) {
|
||||
List<Long> ids = arbitrators.stream().map(Arbitrator::getId).collect(Collectors.toList());
|
||||
|
||||
@@ -22,11 +22,17 @@
|
||||
<result property="applicationOrganId" column="application_organ_id" />
|
||||
<result property="applicationOrganName" column="application_organ_name" />
|
||||
|
||||
<result property="compLegalPerson" column="comp_legal_person" />
|
||||
<result property="compLegalperPost" column="comp_legalper_post" />
|
||||
<result property="responSex" column="respon_sex" />
|
||||
<result property="responBirth" column="respon_birth" />
|
||||
|
||||
</resultMap>
|
||||
|
||||
<select id="selectCaseAffiliate" parameterType="CaseAffiliate" resultMap="CaseAffiliateResult">
|
||||
select c.id ,c.case_appli_id ,c.identity_type ,c.name ,c.identity_num ,c.contact_telphone ,c.contact_address ,
|
||||
c.work_address ,c.work_telphone ,c.name_agent, c.identity_num_agent ,c.contact_telphone_agent ,c.contact_address_agent,
|
||||
c.comp_legal_person,c.comp_legalper_post,c.respon_sex,c.respon_birth,
|
||||
c.track_num,c.application_organ_id,c.application_organ_name
|
||||
from case_affiliate c
|
||||
<where>
|
||||
@@ -54,11 +60,13 @@
|
||||
<insert id="batchCaseAffiliate">
|
||||
insert into case_affiliate(case_appli_id, identity_type,application_organ_id,application_organ_name,name,identity_num,contact_telphone,
|
||||
contact_address,work_address,work_telphone ,name_agent,identity_num_agent,contact_telphone_agent,
|
||||
comp_legal_person,comp_legalper_post,respon_sex ,respon_birth,
|
||||
contact_address_agent ) values
|
||||
<foreach item="item" index="index" collection="list" separator=",">
|
||||
(#{item.caseAppliId},#{item.identityType},#{item.applicationOrganId},#{item.applicationOrganName},#{item.name},#{item.identityNum},#{item.contactTelphone},
|
||||
#{item.contactAddress},#{item.workAddress},#{item.workTelphone}, #{item.nameAgent},#{item.identityNumAgent},
|
||||
#{item.contactTelphoneAgent},#{item.contactAddressAgent})
|
||||
#{item.contactAddress},#{item.workAddress},#{item.workTelphone}, #{item.nameAgent},#{item.identityNumAgent},#{item.contactTelphoneAgent},
|
||||
#{item.compLegalPerson},#{item.compLegalperPost},#{item.responSex}, #{item.responBirth},
|
||||
#{item.contactAddressAgent})
|
||||
</foreach>
|
||||
</insert>
|
||||
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
<result property="paymentStatus" column="payment_status" />
|
||||
<result property="paymentStatusName" column="paymentStatusName" />
|
||||
<result property="filearbitraUrl" column="filearbitra_url" />
|
||||
|
||||
<result property="requestRule" column="request_rule" />
|
||||
<result property="properPreser" column="proper_preser" />
|
||||
<result property="adjudicaCounter" column="adjudica_counter" />
|
||||
</resultMap>
|
||||
|
||||
<select id="selectCaseApplicationList" parameterType="CaseApplication" resultMap="CaseApplicationResult">
|
||||
@@ -163,6 +167,7 @@ select t1.* from(
|
||||
<if test="caseStatus != null ">case_status,</if>
|
||||
<if test="hearDate != null ">hear_date,</if>
|
||||
<if test="arbitratClaims != null and arbitratClaims != ''">arbitrat_claims,</if>
|
||||
<if test="requestRule != null and requestRule != ''">request_rule,</if>
|
||||
<if test="loanStartDate != null ">loan_start_date,</if>
|
||||
<if test="loanEndDate != null ">loan_end_date,</if>
|
||||
<if test="claimPrinciOwed != null ">claim_princi_owed,</if>
|
||||
@@ -174,6 +179,10 @@ select t1.* from(
|
||||
<if test="onlineVideoPerson != null and onlineVideoPerson != ''">online_video_person,</if>
|
||||
|
||||
<if test="contractNumber != null and contractNumber != ''">contract_number,</if>
|
||||
|
||||
<if test="adjudicaCounter != null ">adjudica_counter,</if>
|
||||
<if test="properPreser != null ">proper_preser,</if>
|
||||
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
create_time
|
||||
)values(
|
||||
@@ -184,6 +193,7 @@ select t1.* from(
|
||||
<if test="caseStatus != null ">#{caseStatus},</if>
|
||||
<if test="hearDate != null ">#{hearDate},</if>
|
||||
<if test="arbitratClaims != null and arbitratClaims != ''">#{arbitratClaims},</if>
|
||||
<if test="requestRule != null and requestRule != ''">#{requestRule},</if>
|
||||
<if test="loanStartDate != null ">#{loanStartDate},</if>
|
||||
<if test="loanEndDate != null ">#{loanEndDate},</if>
|
||||
<if test="claimPrinciOwed != null ">#{claimPrinciOwed},</if>
|
||||
@@ -195,6 +205,10 @@ select t1.* from(
|
||||
<if test="onlineVideoPerson != null and onlineVideoPerson != ''">#{onlineVideoPerson},</if>
|
||||
|
||||
<if test="contractNumber != null and contractNumber != ''">#{contractNumber},</if>
|
||||
|
||||
<if test="adjudicaCounter != null ">#{adjudicaCounter},</if>
|
||||
<if test="properPreser != null ">#{properPreser},</if>
|
||||
|
||||
<if test="createBy != null and createBy != ''">#{createBy},</if>
|
||||
sysdate()
|
||||
)
|
||||
@@ -208,6 +222,7 @@ select t1.* from(
|
||||
<if test="arbitratMethod != null and arbitratMethod != ''">arbitrat_method = #{arbitratMethod},</if>
|
||||
<if test="hearDate != null ">hear_date = #{hearDate},</if>
|
||||
<if test="arbitratClaims != null and arbitratClaims != ''">arbitrat_claims = #{arbitratClaims},</if>
|
||||
<if test="requestRule != null and requestRule != ''">request_rule = #{requestRule},</if>
|
||||
<if test="loanStartDate != null ">loan_start_date = #{loanStartDate},</if>
|
||||
<if test="loanEndDate != null ">loan_end_date = #{loanEndDate},</if>
|
||||
<if test="loanEndDate != null ">claim_princi_owed = #{claimPrinciOwed},</if>
|
||||
@@ -243,6 +258,14 @@ select t1.* from(
|
||||
<if test="caseDescribe != null and caseDescribe != ''">case_describe = #{caseDescribe},</if>
|
||||
<if test="caseResult != null and caseResult != ''">case_result = #{caseResult},</if>
|
||||
<if test="isAgreePendTral != null">is_agree_pend_tral = #{isAgreePendTral},</if>
|
||||
<if test="adjudicaCounter != null">adjudica_counter = #{adjudicaCounter},</if>
|
||||
<if test="objectiJuris != null">objecti_juris = #{objectiJuris},</if>
|
||||
|
||||
<if test="isAbsence != null">is_absence = #{isAbsence},</if>
|
||||
<if test="appliIsAbsen != null">appli_is_absen = #{appliIsAbsen},</if>
|
||||
<if test="responCrossOpin != null and responCrossOpin != ''">respon_cross_opin = #{responCrossOpin},</if>
|
||||
<if test="applicaCrossOpin != null and applicaCrossOpin != ''">applica_cross_opin = #{applicaCrossOpin},</if>
|
||||
<if test="responDefenOpini != null and responDefenOpini != ''">respon_defen_opini = #{responDefenOpini},</if>
|
||||
<if test="objectionAddEviden != null">objection_add_eviden = #{objectionAddEviden},</if>
|
||||
<if test="openCourtHear != null">open_court_hear = #{openCourtHear},</if>
|
||||
<if test="hearDate != null">hear_date = #{hearDate},</if>
|
||||
@@ -274,7 +297,7 @@ select t1.* from(
|
||||
END caseStatusName,
|
||||
c.hear_date ,c.arbitrat_claims ,
|
||||
c.loan_start_date ,c.loan_end_date ,c.claim_princi_owed ,c.claim_interest_owed ,c.claim_liquid_damag ,c.fee_payable ,
|
||||
c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,
|
||||
c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,c.request_rule,c.adjudica_counter,c.proper_preser,
|
||||
c.update_by ,c.update_time,c.arbitrator_id,c.arbitrator_name,ca.application_organ_id applicationOrganId ,ca.application_organ_name as applicantName
|
||||
from case_application c
|
||||
LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id and ca.identity_type=1
|
||||
|
||||
Reference in New Issue
Block a user