|
|
@@ -74,7 +74,7 @@
|
|
74
|
74
|
c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,
|
|
75
|
75
|
c.update_by ,c.update_time , c.arbitrator_name,ca.name,ca.application_organ_id,ca.application_organ_name as
|
|
76
|
76
|
applicantName,
|
|
77
|
|
- c.arbitrator_id,ca.identity_num , ca.identity_type,c.filearbitra_url
|
|
|
77
|
+ c.arbitrator_id,ca.identity_num , ca.identity_type,c.filearbitra_url,c.lock_status
|
|
78
|
78
|
from case_application c
|
|
79
|
79
|
LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id
|
|
80
|
80
|
<where>
|
|
|
@@ -90,6 +90,9 @@
|
|
90
|
90
|
#{caseStatus}
|
|
91
|
91
|
</foreach>
|
|
92
|
92
|
</if>
|
|
|
93
|
+ <if test="lockStatus != null">
|
|
|
94
|
+ AND c.lock_status = #{lockStatus}
|
|
|
95
|
+ </if>
|
|
93
|
96
|
</where>
|
|
94
|
97
|
) t
|
|
95
|
98
|
<where>
|
|
|
@@ -238,7 +241,7 @@
|
|
238
|
241
|
END caseStatusName,
|
|
239
|
242
|
c.hear_date ,c.arbitrat_claims ,
|
|
240
|
243
|
c.loan_start_date ,c.loan_end_date ,c.claim_princi_owed ,c.claim_interest_owed ,c.claim_liquid_damag ,c.fee_payable ,
|
|
241
|
|
- c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,
|
|
|
244
|
+ c.begin_video_date ,c.online_video_person ,c.contract_number ,c.create_by ,c.create_time ,c.lock_status,
|
|
242
|
245
|
c.update_by ,c.update_time , c.arbitrator_name,ca.application_organ_id applicationOrganId ,ca.application_organ_name as applicantName,c.filearbitra_url
|
|
243
|
246
|
from case_application c
|
|
244
|
247
|
LEFT JOIN case_affiliate ca ON ca.case_appli_id = c.id AND ca.identity_type=1
|
|
|
@@ -246,6 +249,9 @@
|
|
246
|
249
|
<if test="caseStatus != null">
|
|
247
|
250
|
AND c.case_status = #{caseStatus}
|
|
248
|
251
|
</if>
|
|
|
252
|
+ <if test="lockStatus != null">
|
|
|
253
|
+ AND c.lock_status = #{lockStatus}
|
|
|
254
|
+ </if>
|
|
249
|
255
|
<if test="caseNum != null and caseNum != ''">
|
|
250
|
256
|
AND c.case_num = #{caseNum}
|
|
251
|
257
|
</if>
|
|
|
@@ -438,6 +444,9 @@
|
|
438
|
444
|
<update id="updatePayType">
|
|
439
|
445
|
update case_application set pay_type=#{payType} where id = #{caseId}
|
|
440
|
446
|
</update>
|
|
|
447
|
+ <update id="updateCaseLockStatus">
|
|
|
448
|
+ update case_application set lock_status=#{lockStatus} where id = #{id}
|
|
|
449
|
+ </update>
|
|
441
|
450
|
|
|
442
|
451
|
<delete id="deletecaseApplication" parameterType="CaseApplication">
|
|
443
|
452
|
delete from case_application where id = #{id}
|