| | |
| | | QueryWrapper<PledgeContractDepot> queryWrapper = new QueryWrapper<>(); |
| | | queryWrapper.eq("company_id", param.getCompanyId()); |
| | | if (StringUtils.isNotEmpty(param.getParentId())) { |
| | | queryWrapper.like("pledge_id", param.getParentId()); |
| | | queryWrapper.eq("pledge_id", param.getParentId()); |
| | | } |
| | | |
| | | queryWrapper.orderByDesc("update_time"); |
| | |
| | | |
| | | //根据质押仓库的库区,找到其中一个库区配置的提醒工单流程 |
| | | for (String deptId : deptIds){ |
| | | WorkOrderConf confByDeptId = workService.getConfByDeptId(deptId, WorkBizType.TYPE_50); |
| | | if(null!=confByDeptId && Constant.YN_Y.equals(confByDeptId.getValTag())){ |
| | | conf=confByDeptId; |
| | | conf = workService.getConfByDeptId(deptId, WorkBizType.TYPE_50); |
| | | if(null!=conf && Constant.YN_Y.equals(conf.getValTag())){ |
| | | break; |
| | | } |
| | | } |