视频,用印回调,裁决书处理
This commit is contained in:
@@ -1291,6 +1291,11 @@
|
||||
<!-- 仲裁员查询-->
|
||||
and c.arbitrator_id=#{caseApplication.arbitratorId}
|
||||
</if>
|
||||
<if test="caseApplication.isOtherRole !=null and caseApplication.isOtherRole==1">
|
||||
|
||||
and ca.identity_type=1
|
||||
</if>
|
||||
|
||||
</where>
|
||||
</sql>
|
||||
<select id="list" resultMap="CaseApplicationResult">
|
||||
@@ -1416,4 +1421,8 @@
|
||||
|
||||
order by t1.pendingStatus asc,t1.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectCaseApplicationCaseStatus" resultType="java.lang.Integer">
|
||||
select case_status from case_application where id=#{id}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
@@ -119,6 +119,9 @@
|
||||
</where>
|
||||
</update>
|
||||
|
||||
|
||||
|
||||
<delete id="deleteCaseAttach">
|
||||
delete from case_attach
|
||||
where case_appli_id = #{caseId}
|
||||
and annex_type = #{type} and annex_id!=#{annexId}
|
||||
</delete>
|
||||
</mapper>
|
||||
@@ -11,7 +11,8 @@
|
||||
<result property="scheduleStartTime" column="schedule_start_time" />
|
||||
</resultMap>
|
||||
<select id="getCaseListByRespondent" resultType="CaseEvidenceVO" resultMap="CaseEvidenceVOResult">
|
||||
select DISTINCT(c.id) id, c.case_num,c.case_status,rc.room_id,rc.schedule_start_time
|
||||
select t.* from(
|
||||
select c.id id, c.case_num,c.case_status,rc.room_id,rc.schedule_start_time
|
||||
from case_application as c join case_affiliate as d on c.id = d.case_appli_id
|
||||
left join reserved_conference rc on rc.case_id=c.id
|
||||
where c.id = d.case_appli_id
|
||||
@@ -21,11 +22,46 @@
|
||||
<if test="identityType != null ">
|
||||
and d.identity_type = #{identityType}
|
||||
</if>
|
||||
<if test="phone != null and phone != ''">
|
||||
and (d.contact_telphone = #{phone} or d.contact_telphone_agent=#{phone})
|
||||
</if>
|
||||
<if test="caseStatusList != null and caseStatusList.size() > 0">
|
||||
and c.case_status in
|
||||
<foreach item="caseStatus" collection="caseStatusList" open="(" separator="," close=")">
|
||||
#{caseStatus}
|
||||
</foreach>
|
||||
</if>
|
||||
union
|
||||
<!-- 已办案件 -->
|
||||
select c.id id, c.case_num,c.case_status,rc.room_id,rc.schedule_start_time
|
||||
from case_log_record r
|
||||
join case_application c on r.case_appli_id=c.id
|
||||
JOIN case_affiliate ca ON ca.case_appli_id = c.id
|
||||
left join reserved_conference rc on rc.case_id=c.id
|
||||
WHERE
|
||||
r.create_by=#{loginUserName} AND ca.identity_type=2
|
||||
and c.id not in(
|
||||
select c.id
|
||||
from case_application c
|
||||
JOIN case_affiliate ca ON ca.case_appli_id = c.id
|
||||
|
||||
where c.id = ca.case_appli_id
|
||||
<if test="identityNum != null and identityNum != ''">
|
||||
and ca.identity_num = #{identityNum}
|
||||
</if>
|
||||
<if test="identityType != null ">
|
||||
and ca.identity_type = #{identityType}
|
||||
</if>
|
||||
<if test="phone != null and phone != ''">
|
||||
and (ca.contact_telphone = #{phone} or ca.contact_telphone_agent=#{phone})
|
||||
</if>
|
||||
<if test="caseStatusList != null and caseStatusList.size() > 0">
|
||||
and c.case_status in
|
||||
<foreach item="caseStatus" collection="caseStatusList" open="(" separator="," close=")">
|
||||
#{caseStatus}
|
||||
</foreach>
|
||||
</if>
|
||||
)
|
||||
) t
|
||||
</select>
|
||||
</mapper>
|
||||
@@ -31,15 +31,17 @@
|
||||
<select id="selectCaseLogRecordList" resultType="com.ruoyi.wisdomarbitrate.domain.CaseLogRecord">
|
||||
select cl.case_node caseNode ,cl.case_node_time caseNodeTime ,cl.notes ,cl.id ,cl.case_appli_id caseAppliId,
|
||||
cl.create_by createBy,cl.create_nick_name createNickName,cl.create_time createTime,cl.update_by updateBy,cl.update_time updateTime,
|
||||
CASE cl.case_node when 0 then '立案申请' when 1 then '提交立案申请' when 2 then '立案审查'
|
||||
when 3 then '支付成功' when 4 then '缴费确认' when 5 then '案件质证'
|
||||
when 6 then '组庭审核' when 7 then '组庭确认' when 8 then '当前仲裁方式为开庭审理'
|
||||
when 9 then '当前仲裁方式为书面审理' when 10 then '书面审理' when 11 then '秘书审核裁决书'
|
||||
when 12 then '部门长核验裁决书' when 13 then '同意裁决书' when 14 then '签名成功'
|
||||
when 15 then '用印成功' when 16 then '送达裁决书' when 17 then '案件归档'
|
||||
CASE cl.case_node when 0 then '立案申请' when 1 then '立案审查' when 2 then '缴费'
|
||||
when 3 then '缴费确认' when 4 then '案件质证' when 5 then '组庭审核'
|
||||
when 6 then '组庭确定' when 7 then '审核仲裁方式' when 8 then '开庭审理'
|
||||
when 9 then '书面审理'
|
||||
when 11 then '法律顾问核验裁决书'
|
||||
when 18 then '仲裁员审核裁决书'
|
||||
when 12 then '部门长审核裁决书' when 13 then '裁决书签名' when 14 then '裁决书用印'
|
||||
when 15 then '决书送达' when 16 then '案件归档' when 17 then '已归档'
|
||||
when 26 then '证据确认成功'
|
||||
when 31 then '修改开庭时间'
|
||||
when 18 then '仲裁员审核裁决书'
|
||||
|
||||
ELSE ''
|
||||
END content,
|
||||
CASE cl.case_node when 0 then '申请人' when 1 then '申请人' when 2 then '法律顾问'
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</insert>
|
||||
|
||||
|
||||
<resultMap type="SealSignRecord" id="SealSignRecordResult">
|
||||
<resultMap type="com.ruoyi.wisdomarbitrate.domain.SealSignRecord" id="SealSignRecordResult">
|
||||
<id property="id" column="id" />
|
||||
<result property="caseAppliId" column="case_appli_id" />
|
||||
<result property="fileid" column="file_id" />
|
||||
@@ -25,11 +25,13 @@
|
||||
<result property="pensonAccount" column="penson_account" />
|
||||
<result property="orgnizeName" column="orgnize_name" />
|
||||
<result property="orgnizeNamePsnAccount" column="orgn_name_psn_acc" />
|
||||
<result property="signStatusArbitor" column="sign_status_arbitor" />
|
||||
<result property="sealStatus" column="seal_status" />
|
||||
|
||||
</resultMap>
|
||||
|
||||
<select id="selectSealSignRecord" parameterType="SealSignRecord" resultMap="SealSignRecordResult">
|
||||
SELECT s.id ,s.case_appli_id ,s.file_id ,s.sign_flow_id,s.penson_account ,s.orgnize_name ,s.orgn_name_psn_acc
|
||||
SELECT s.*
|
||||
from seal_sign_record s
|
||||
<where>
|
||||
<if test="signFlowStatus != null ">
|
||||
@@ -42,7 +44,7 @@
|
||||
</select>
|
||||
|
||||
<select id="selectSealSignRecordbyStat" parameterType="SealSignRecord" resultMap="SealSignRecordResult">
|
||||
SELECT s.id ,s.case_appli_id ,s.file_id ,s.sign_flow_id,s.sign_flow_status
|
||||
SELECT s.*
|
||||
from seal_sign_record s join case_application c on s.case_appli_id=c.id
|
||||
where s.sign_flow_status in (1,2)
|
||||
</select>
|
||||
@@ -102,9 +104,14 @@
|
||||
<set>
|
||||
<if test="signFlowStatus != null">sign_flow_status = #{signFlowStatus},</if>
|
||||
<if test="fileDownloadUrl != null and fileDownloadUrl != ''">file_download_url = #{fileDownloadUrl}</if>
|
||||
<if test="signStatusArbitor != null ">sign_status_arbitor = #{signStatusArbitor}</if>
|
||||
<if test="sealStatus != null ">seal_status = #{sealStatus}</if>
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<select id="selectSealByFlowId" resultMap="SealSignRecordResult">
|
||||
select * from seal_sign_record where sign_flow_id = #{signFlowId}
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user