| | |
| | | private Integer authNoAmount; |
| | | |
| | | @ApiModelProperty(value = "待审核状态id集合列表") |
| | | private List<Long> nextIds; |
| | | private List<String> nextIds; |
| | | |
| | | @ApiModelProperty(value = "社区id") |
| | | private Long communityId; |
| | |
| | | package com.panzhihua.common.model.vos.community; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | |
| | | @ApiModelProperty(value = "更新时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateAt; |
| | | |
| | | @ApiModelProperty(value = "待处理id集合") |
| | | private List<String> nextIds; |
| | | |
| | | private Long communityId; |
| | | } |
| | |
| | | * @param authRecordId 需要排除的详情id |
| | | * @return 待审核高龄认证记录id集合 |
| | | */ |
| | | List<Long> getNextIds(@Param("communityId") Long communityId,@Param("authRecordId") Long authRecordId); |
| | | List<String> getNextIds(@Param("communityId") Long communityId,@Param("authRecordId") Long authRecordId); |
| | | } |
| | |
| | | * @return ComPensionAuthRecordVO |
| | | */ |
| | | IdentityAuthRecordDetailVO findById(@Param("identityAuthId") Long identityAuthId); |
| | | |
| | | /** |
| | | * 查询养老认证待处理id集合 |
| | | * @param communityId 社区id |
| | | * @param authRecordId 养老认证记录id |
| | | * @return 养老认证待处理id集合 |
| | | */ |
| | | List<String> getNextIds(@Param("communityId") Long communityId,@Param("authRecordId") Long authRecordId); |
| | | } |
| | |
| | | @Override |
| | | public R detailPensionAuthRecords(Long authRecordId) { |
| | | ComPensionAuthRecordVO comPensionAuthRecordVO = comPensionAuthRecordDAO.detailPensionAuthRecords(authRecordId); |
| | | comPensionAuthRecordVO.setNextIds(comPensionAuthRecordDAO.getNextIds(comPensionAuthRecordVO.getCommunityId(),authRecordId)); |
| | | return R.ok(comPensionAuthRecordVO); |
| | | } |
| | | |
| | |
| | | order by ceahr.create_at desc |
| | | </select> |
| | | |
| | | <select id="getNextIds" resultType="long"> |
| | | <select id="getNextIds" resultType="String"> |
| | | select id from com_elder_auth_records where approval_status = 1 and community_id = #{communityId} and id != #{authRecordId} |
| | | </select> |
| | | |
| | |
| | | cpar.auth_method, |
| | | cpar.auth_video, |
| | | cpar.approval_status, |
| | | cpar.community_id, |
| | | cpar.id, |
| | | su1.`name` as approverName, |
| | | cpar.approval_date |
| | |
| | | LEFT JOIN `com_act` ca ON cpap.community_id = ca.community_id |
| | | WHERE cpar.id = #{identityAuthId} |
| | | </select> |
| | | |
| | | <select id="getNextIds" resultType="String"> |
| | | select id from com_pension_auth_records where approval_status = 1 and community_id = #{communityId} and id != #{authRecordId} |
| | | </select> |
| | | </mapper> |