|
|
@@ -49,7 +49,12 @@ public class ApprovalRelatedCreditController extends BaseController {
|
|
|
SysUser use = userInfo.getSysUser();
|
|
|
//获取当前公司
|
|
|
String companyId = use.getCompanyId();
|
|
|
- map.put("companyId",companyId);
|
|
|
+ //不是平台审批,公司为当前公司
|
|
|
+ if(!"1000000004".equals(CommonUtil.objToString(map.get("menuId")))){
|
|
|
+ map.put("companyId",companyId);
|
|
|
+ }else{
|
|
|
+ map.put("companyId","000000");
|
|
|
+ }
|
|
|
//menuId
|
|
|
map.put("menuId",CommonUtil.objToString(map.get("menuId")));
|
|
|
Map<String,Object> mmp = flowableService.selectApproval(map);
|