| | |
| | | Notices notices = new Notices(noticeObjectType,Constants.ZERO,applyChange.getId(),solutions.getName(), |
| | | insuranceApply.getCompanyId(), Constants.NoticeType.THREE); |
| | | noticesMapper.insert(notices); |
| | | |
| | | //商户待办 |
| | | if(Objects.nonNull(solutions.getShopId())){ |
| | | Notices shopNotices = new Notices(noticeObjectType,Constants.TWO, |
| | | applyChange.getId(),solutions.getName(),solutions.getShopId(),Constants.NoticeType.THREE); |
| | | noticesMapper.insert(shopNotices); |
| | | } |
| | | |
| | | }else if(applyChangeOptDTO.getOptType().equals(4)){ |
| | | applyLogType = Constants.ApplyLogType.CA_PLATFORM_AGREE_BACK_APPLY; |
| | |
| | | update.setStatus(Constants.ApplyChangeStatus.PALTFORM_CHECK_PASS.getKey()); |
| | | } |
| | | applyChangeJoinMapper.updateById(update); |
| | | |
| | | Constants.NoticeObjectType noticeObjectType = Constants.NoticeObjectType.APPLY_CHANGE; |
| | | if(Constants.equalsInteger(applyChange.getType(),Constants.ONE)){ |
| | | noticeObjectType = Constants.NoticeObjectType.CHANGE_FACTORY; |
| | | } |
| | | //删除全部待办 |
| | | noticesMapper.delete(new QueryWrapper<Notices>().lambda() |
| | | .eq(Notices::getObjType, noticeObjectType.getKey()) |
| | | .eq(Notices::getObjId, model.getId())); |
| | | return 1; |
| | | |
| | | } |