Merge branch 'wq' of SH-Arbitrate/Arbitrate-Backend into dev
This commit was merged in pull request #257.
This commit is contained in:
+1
@@ -198,6 +198,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
||||
caseApplication.setFinanceStatus(CaseApplicationConstants.PENDING_PAYMENT_CONFIRM);
|
||||
}
|
||||
if ("法律顾问".equals(role.getRoleName())) {
|
||||
// 秘书查看所有案件
|
||||
// 查询角色有关的用户部门
|
||||
List<Long> deptIds = new ArrayList<>();
|
||||
deptIds.add(sysUser.getDeptId());
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
<!--仲裁员-->
|
||||
<if test="userId != null and userId != ''">
|
||||
or ( t.identity_type=1 and
|
||||
t.case_status in (7,8,9,11,13,17)
|
||||
t.case_status in (7,11,13,17)
|
||||
and
|
||||
instr (t.arbitrator_id,#{userId})>0)
|
||||
</if>
|
||||
@@ -316,14 +316,14 @@
|
||||
WHERE
|
||||
ca.identity_type=1
|
||||
|
||||
and c.case_status in (1,5,14,15,16,17,31)
|
||||
and c.case_status in (1,5,8,9,14,15,16,17,31)
|
||||
|
||||
<if test="deptIds != null and deptIds.size() > 0">
|
||||
<!-- <if test="deptIds != null and deptIds.size() > 0">
|
||||
and ca.application_organ_id in
|
||||
<foreach item="item" collection="deptIds" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
</if>-->
|
||||
<if test="lockStatus != null">
|
||||
AND c.lock_status = #{lockStatus}
|
||||
</if>
|
||||
@@ -439,12 +439,12 @@
|
||||
<!-- #{caseStatus}-->
|
||||
<!-- </foreach>-->
|
||||
<!-- </if>-->
|
||||
<if test="deptIds != null and deptIds.size() > 0">
|
||||
<!-- <if test="deptIds != null and deptIds.size() > 0">
|
||||
and ca.application_organ_id in
|
||||
<foreach item="item" collection="deptIds" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
</if> -->
|
||||
<!-- <if test="caseStatus != null">-->
|
||||
<!-- AND c.case_status = #{caseStatus}-->
|
||||
<!-- </if>-->
|
||||
@@ -699,7 +699,7 @@
|
||||
<!--仲裁员-->
|
||||
<if test="userId != null and userId != ''">
|
||||
or ( t.identity_type=1 and
|
||||
t.case_status in (7,8,9,11,13,17)
|
||||
t.case_status in (7,11,13,17)
|
||||
and
|
||||
instr (t.arbitrator_id,#{userId})>0)
|
||||
</if>
|
||||
@@ -791,13 +791,13 @@
|
||||
WHERE case_appli_id = c.id
|
||||
)
|
||||
WHERE
|
||||
ca.identity_type=1 and c.case_status in (1,5,14,15,16,17,31)
|
||||
<if test="deptIds != null and deptIds.size() > 0">
|
||||
ca.identity_type=1 and c.case_status in (1,5,8,9,14,15,16,17,31)
|
||||
<!-- <if test="deptIds != null and deptIds.size() > 0">
|
||||
and ca.application_organ_id in
|
||||
<foreach item="item" collection="deptIds" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
</if> -->
|
||||
<if test="caseStatus != null">
|
||||
AND c.case_status = #{caseStatus}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user