|
|
@ -133,6 +133,10 @@ public class FinCostapplyService extends MybatisBaseService<FinCostapplyMapper, |
|
|
|
if (StringUtils.isNotBlank(pageQuery.getUserSid())) { |
|
|
|
qw.eq("fc.createBySid", pageQuery.getUserSid()); |
|
|
|
} |
|
|
|
//申请人的组织机构sid全路径
|
|
|
|
if(StringUtils.isNotBlank(pageQuery.getOrgPath())){ |
|
|
|
qw.eq("fc.orgSidPath",pageQuery.getOrgPath()); |
|
|
|
} |
|
|
|
} |
|
|
|
IPage<FinCostapply> page = PagerUtil.queryToPage(pq); |
|
|
|
IPage<FinCostapplyVo> pagging = baseMapper.selectPageVo(page, qw); |
|
|
@ -145,7 +149,12 @@ public class FinCostapplyService extends MybatisBaseService<FinCostapplyMapper, |
|
|
|
String dtoSid = dto.getSid(); |
|
|
|
if (StringUtils.isBlank(dtoSid)) { |
|
|
|
//=======================================
|
|
|
|
String orgSidPath = dto.getOrgSidPath(); |
|
|
|
String orgSidPath = ""; |
|
|
|
if(StringUtils.isNotBlank(dto.getOrgPath())){ |
|
|
|
orgSidPath = dto.getOrgPath(); |
|
|
|
}else{ |
|
|
|
orgSidPath = dto.getOrgSidPath(); |
|
|
|
} |
|
|
|
if(StringUtils.isBlank(orgSidPath)){ |
|
|
|
//根据用户sid获取staffSid
|
|
|
|
ResultBean<SysUserVo> userVoResultBean = sysUserFeign.fetchBySid(dto.getCreateBySid()); |
|
|
@ -270,7 +279,6 @@ public class FinCostapplyService extends MybatisBaseService<FinCostapplyMapper, |
|
|
|
}else{ |
|
|
|
orgSidPath = staffOrgResultBean.getData().getOrgSidPath(); |
|
|
|
} |
|
|
|
// String orgSidPath = staffOrgResultBean.getData().getOrgSidPath();
|
|
|
|
FinCostapply finCostapply = fetchBySid(dto.getSid()); |
|
|
|
int r = submitBusinessData(dto, finCostapply); |
|
|
|
if (r == 3) { |
|
|
|