| | |
| | | import com.panzhihua.service_community.entity.ComActEasyPhotoEvaluate; |
| | | import com.panzhihua.service_community.dao.ComActEasyPhotoEvaluateMapper; |
| | | import com.panzhihua.service_community.model.dos.ComActEasyPhotoDO; |
| | | import com.panzhihua.service_community.model.dos.ComActMicroWishDO; |
| | | import com.panzhihua.service_community.service.ComActEasyPhotoEvaluateService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.service_community.service.ComActMicroWishOperationRecordService; |
| | | import com.panzhihua.service_community.service.ComActMicroWishService; |
| | | import org.springframework.beans.BeanUtils; |
| | | import com.panzhihua.common.model.dtos.common.*; |
| | | import com.panzhihua.common.model.vos.R; |
| | |
| | | this.addEasyPhotoEvaluateRecord(easyPhotoDO.getCommunityId(),whistleDto.getUserId(),easyPhotoDO.getId(),whistleDto.getScore() |
| | | ,whistleDto.getContent(),nowDate,ComActEasyPhotoEvaluate.ServiceType.SSP); |
| | | //更新随手拍状态 |
| | | easyPhotoDO.setStatus(ComActEasyPhotoDO.status.ywc); |
| | | easyPhotoDO.setStatus(ComActEasyPhotoDO.status.ypj); |
| | | easyPhotoDO.setEvaluateDate(nowDate); |
| | | easyPhotoDAO.updateById(easyPhotoDO); |
| | | return R.ok(); |