| | |
| | | return this.communityService.editEasyPhotoHandler(comActEasyPhotoHandler); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询处理详情", response = ComActEasyPhotoHandlerVo.class) |
| | | @ApiImplicitParam(name = "id", value = "处理id", required = true) |
| | | @GetMapping("/easyPhotoHandler") |
| | | public R detailEasyPhotoHandler(@RequestParam("id") Long id) { |
| | | return this.communityService.detailEasyPhotoHandler(id); |
| | | } |
| | | |
| | | @ApiOperation(value = "查询随手拍是否有活动", response = ComActEasyPhotoActivityVO.class) |
| | | @PostMapping("getEasyPhotoActivity") |
| | | public R getEasyPhotoActivity(@RequestBody CommonDTO commonDTO) { |
| | |
| | | @ApiModelProperty(value = "发起人名称") |
| | | private String senderName; |
| | | |
| | | @ApiModelProperty(value = "得分") |
| | | private Integer score; |
| | | /** |
| | | * 汇报内容 |
| | | */ |
| | | @ApiModelProperty(value = "汇报内容") |
| | | private String resultContent; |
| | | /** |
| | | * 汇报图片 |
| | | */ |
| | | @ApiModelProperty(value = "汇报图片") |
| | | private String resultUrl; |
| | | |
| | | |
| | | } |
| | |
| | | */ |
| | | @PostMapping("/screen/dpc/easyPhotoList") |
| | | R dpcEasyPhotoList(@RequestBody PageBaseDTO pageBaseDTO); |
| | | |
| | | /** |
| | | * 查询详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/comActEasyPhotoHandler/detail") |
| | | R detailEasyPhotoHandler(@RequestParam("id") Long id); |
| | | } |
| | |
| | | com_act_easy_photo_feedback AS caepf |
| | | LEFT JOIN sys_user AS su ON su.user_id = caepf.create_by |
| | | WHERE |
| | | caepf.easy_id = #{easyId} AND caepf.type = 2 |
| | | caepf.easy_id = #{easyId} AND caepf.type = 1 |
| | | ORDER BY caepf.create_at desc |
| | | </select> |
| | | <select id="getPhotoFeedbackListForDpc" |
| | |
| | | </resultMap> |
| | | |
| | | <!--查询单个--> |
| | | <select id="queryById" resultMap="ComActEasyPhotoHandlerMap"> |
| | | select |
| | | id, community_id, user_id, service_id, type, service_type |
| | | from com_act_easy_photo_handler |
| | | where id = #{id} |
| | | <select id="queryById" resultType="com.panzhihua.common.model.vos.common.ComActEasyPhotoHandlerVo"> |
| | | select t.*,t1.name as senderName from com_act_easy_photo_handler t left join sys_user t1 on t.sender_id = t1.user_id where t.id = #{id} |
| | | </select> |
| | | |
| | | <!--查询指定行数据--> |
| | |
| | | select user_id,IFNULL(`name`,nick_name) as `name` from sys_user where `type` = 1 AND phone in (select DISTINCT(telephone) from com_act_social_worker where community_id = ${communityId}) and status = 1 |
| | | </if> |
| | | <if test="type != null and type == 5"> |
| | | select user_id,IFNULL(`name`,nick_name) as `name` from sys_user where user_id in (select user_id from com_act_four_member where community_id = ${communityId}) and status = 1 |
| | | select user_id,IFNULL(`name`,nick_name) as `name` from sys_user where type` = 1 AND id_card in (select id_card from com_act_four_member where community_id = ${communityId}) and status = 1 |
| | | </if> |
| | | </select> |
| | | |