springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActEasyPhotoFeedbackMapper.java
@@ -24,5 +24,6 @@ * @param easyId * @return */ List<ComActEasyPhotoFeedbackVO> getPhotoFeedbackListForDpc(@Param("easyId") Long easyId); } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActEasyPhotoServiceImpl.java
@@ -389,6 +389,9 @@ break; default: break; } if (!ObjectUtils.isEmpty(comActEasyPhotoVO.getIsReportDpc())){ cmActEasyPhotoDO.setIsReportDpc(comActEasyPhotoVO.getIsReportDpc()); } if (!type.equals(3)) { int update = comActEasyPhotoDAO.updateById(cmActEasyPhotoDO); springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/resources/mapper/ComActEasyPhotoFeedbackDOMapper.xml
@@ -35,4 +35,25 @@ ORDER BY caepf.create_at desc </select> <select id="getPhotoFeedbackListForDpc" resultType="com.panzhihua.common.model.vos.community.ComActEasyPhotoFeedbackVO"> SELECT caepf.id, caepf.easy_id, caepf.feedback_content, caepf.feedback_img, caepf.create_at, caepf.create_by, dpc.`name` as createByName, dpc.photo as createByImage FROM com_act_easy_photo_feedback AS caepf LEFT JOIN sys_user AS su ON su.user_id = caepf.create_by LEFT JOIN com_act_dpc dpc ON su.phone = dpc.phone WHERE caepf.easy_id = #{easyId} AND caepf.type = 2 ORDER BY caepf.create_at desc </select> </mapper>