Merge branch 'feature/230902_报表共享' into release/2.9.5.2309.01
This commit is contained in:
commit
bc7d7b3326
|
|
@ -79,5 +79,5 @@ public interface SalaryStatisticsPushMapper {
|
|||
* @param reportId
|
||||
* @return
|
||||
*/
|
||||
List<SalaryStatisticsPushPO> listByReportIdAndIds(@Param("reportId") Long reportId, @Param("ids") List<Long> ids);
|
||||
List<SalaryStatisticsPushPO> listByReportIdAndIds(@Param("reportId") String reportId, @Param("ids") List<Long> ids);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -735,7 +735,7 @@ public class SalaryStatisticsPushServiceImpl extends Service implements SalarySt
|
|||
|
||||
@Override
|
||||
public List<SalaryStatisticsPushPO> getPushListByReportIdAndIds(Long reportId, List<Long> ids) {
|
||||
List<SalaryStatisticsPushPO> pushList = getSalaryStatisticsPushMapper().listByReportIdAndIds(reportId, ids);
|
||||
List<SalaryStatisticsPushPO> pushList = getSalaryStatisticsPushMapper().listByReportIdAndIds(reportId.toString(), ids);
|
||||
pushList = pushList.stream().filter( push -> {
|
||||
return Arrays.asList(push.getReportIds().split(",")).contains(reportId.toString());
|
||||
}).collect(Collectors.toList());
|
||||
|
|
|
|||
Loading…
Reference in New Issue