Merge branch 'wq' of SH-Arbitrate/Arbitrate-Backend into dev
This commit was merged in pull request #194.
This commit is contained in:
@@ -752,6 +752,18 @@ public class CaseApplication extends BaseEntity {
|
|||||||
/** 联系地址 */
|
/** 联系地址 */
|
||||||
@Excel(name = "被申请人主体信息-代理人联系地址",width = 26)
|
@Excel(name = "被申请人主体信息-代理人联系地址",width = 26)
|
||||||
private String debtorContactAddressAgent;
|
private String debtorContactAddressAgent;
|
||||||
|
/**
|
||||||
|
* 申请机构id
|
||||||
|
*/
|
||||||
|
private String applicationOrganId;
|
||||||
|
|
||||||
|
public String getApplicationOrganId() {
|
||||||
|
return applicationOrganId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setApplicationOrganId(String applicationOrganId) {
|
||||||
|
this.applicationOrganId = applicationOrganId;
|
||||||
|
}
|
||||||
|
|
||||||
public int getIdentityType() {
|
public int getIdentityType() {
|
||||||
return identityType;
|
return identityType;
|
||||||
|
|||||||
+1
-1
@@ -155,7 +155,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|||||||
}
|
}
|
||||||
if (StrUtil.isEmpty(caseApplication.getNameId()) && role.getRoleName().equals("申请人")) {
|
if (StrUtil.isEmpty(caseApplication.getNameId()) && role.getRoleName().equals("申请人")) {
|
||||||
// 查询角色有关的用户部门
|
// 查询角色有关的用户部门
|
||||||
caseApplication.setNameId(String.valueOf(sysUser.getDeptId()));
|
caseApplication.setApplicationOrganId(String.valueOf(sysUser.getDeptId()));
|
||||||
}
|
}
|
||||||
if (role.getRoleName().equals("被申请人")) {
|
if (role.getRoleName().equals("被申请人")) {
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -126,6 +126,9 @@
|
|||||||
<if test="caseNum != null and caseNum != ''">
|
<if test="caseNum != null and caseNum != ''">
|
||||||
AND c.case_num = #{caseNum}
|
AND c.case_num = #{caseNum}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="nameId != null and nameId != ''">
|
||||||
|
AND ca.application_organ_id=#{nameId} AND ca.identity_type=1
|
||||||
|
</if>
|
||||||
<if test="caseStatusList != null and caseStatusList.size() > 0">
|
<if test="caseStatusList != null and caseStatusList.size() > 0">
|
||||||
and c.case_status in
|
and c.case_status in
|
||||||
<foreach item="caseStatus" collection="caseStatusList" open="(" separator="," close=")">
|
<foreach item="caseStatus" collection="caseStatusList" open="(" separator="," close=")">
|
||||||
@@ -161,7 +164,7 @@
|
|||||||
|
|
||||||
<!--申请人-->
|
<!--申请人-->
|
||||||
<if test="nameId != null and nameId != ''">
|
<if test="nameId != null and nameId != ''">
|
||||||
or ( t.application_organ_id = #{nameId} AND t.identity_type=1
|
or ( t.application_organ_id = #{applicationOrganId} AND t.identity_type=1
|
||||||
and t.case_status in (0,2,17))
|
and t.case_status in (0,2,17))
|
||||||
|
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user