| | |
| | | * @param easyId |
| | | * @return |
| | | */ |
| | | |
| | | List<ComActEasyPhotoFeedbackVO> getPhotoFeedbackListForDpc(@Param("easyId") Long easyId); |
| | | } |
| | |
| | | cmActEasyPhotoDO.setTransferTime(nowDate); |
| | | |
| | | } else { |
| | | cmActEasyPhotoDO.setIsReportUrban(ComActEasyPhotoVO.isReportUrban.no); |
| | | cmActEasyPhotoDO.setIsReportUrban(ComActEasyPhotoVO.isReportUrban.no ); |
| | | } |
| | | cmActEasyPhotoDO.setExamineAt(nowDate); |
| | | cmActEasyPhotoDO.setActivityType(comActEasyPhotoVO.getActivityType()); |
| | |
| | | default: |
| | | break; |
| | | } |
| | | if (!ObjectUtils.isEmpty(comActEasyPhotoVO.getIsReportDpc())){ |
| | | cmActEasyPhotoDO.setIsReportDpc(comActEasyPhotoVO.getIsReportDpc()); |
| | | } |
| | | if (!type.equals(3)) { |
| | | int update = comActEasyPhotoDAO.updateById(cmActEasyPhotoDO); |
| | | if (update > 0) { |
| | |
| | | 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> |