| | |
| | | } |
| | | return R.ok(comAcidStaticVOS); |
| | | } |
| | | |
| | | @Override |
| | | public R updateLocalCity(ComActAcidRecordVO comActAcidRecordVO) { |
| | | ComActAcidRecord comActAcidRecord=new ComActAcidRecord(); |
| | | BeanUtils.copyProperties(comActAcidRecordVO,comActAcidRecord); |
| | | if(StringUtils.isNotEmpty(comActAcidRecord.getLocalCity())){ |
| | | ComActAcidDangerMember comActAcidDangerMember= comActAcidDangerMemberDao.selectOne(new QueryWrapper<ComActAcidDangerMember>().lambda().eq(ComActAcidDangerMember::getRecordId,comActAcidRecordVO.getId())); |
| | | comActAcidDangerMember.setRelationName(comActAcidRecord.getLocalCity()); |
| | | this.comActAcidDangerMemberDao.updateById(comActAcidDangerMember); |
| | | this.baseMapper.updateById(comActAcidRecord); |
| | | } |
| | | return R.ok(); |
| | | } |
| | | } |