更改公海私海分页
This commit is contained in:
@@ -212,8 +212,8 @@ public class HyPartnerLineInfoDAO {
|
||||
}
|
||||
return hyPartnerLineInfoMapper.getHyPartnerLineInfoList(lineIds,investmentManager);
|
||||
}
|
||||
public LinePageInfoVo getPublicSeaPageInfoNext(Long lineId, String userNameKeyword, String phoneKeyword, String intentAreaName, Integer acceptAdjustType, String updateStartTime, String updateEndTime, List<String> userIdList, String createStartTime, String createEndTime,String pageTurn){
|
||||
return hyPartnerLineInfoMapper.getPublicSeaPageInfoNext(lineId,userNameKeyword,phoneKeyword,intentAreaName,acceptAdjustType,updateStartTime,updateEndTime,userIdList, createStartTime, createEndTime,pageTurn);
|
||||
public List<LinePageInfoVo> getPublicSeaPageInfoNext(Long lineId, String userNameKeyword, String phoneKeyword, String intentAreaName, Integer acceptAdjustType, String updateStartTime, String updateEndTime, List<String> userIdList, String createStartTime, String createEndTime,String pageTurn,Integer limit1,Integer limit2){
|
||||
return hyPartnerLineInfoMapper.getPublicSeaPageInfoNext(lineId,userNameKeyword,phoneKeyword,intentAreaName,acceptAdjustType,updateStartTime,updateEndTime,userIdList, createStartTime, createEndTime,pageTurn,limit1,limit2);
|
||||
}
|
||||
|
||||
public List<LinePageInfoVo> getPrivateSeaPageInfoNext(Long lineId,String keyword, String keywordType, String workflowStage, String workflowStatus, String deadlineStart, String deadlineEnd,
|
||||
|
||||
@@ -301,7 +301,7 @@ public interface HyPartnerLineInfoMapper {
|
||||
@Param("limit2") Integer limit2
|
||||
);
|
||||
|
||||
LinePageInfoVo getPublicSeaPageInfoNext(@Param("lineId") Long lineId,@Param("userNameKeyword") String userNameKeyword,
|
||||
List<LinePageInfoVo> getPublicSeaPageInfoNext(@Param("lineId") Long lineId,@Param("userNameKeyword") String userNameKeyword,
|
||||
@Param("phoneKeyword") String phoneKeyword,
|
||||
@Param("intentAreaName") String intentAreaName,
|
||||
@Param("acceptAdjustType") Integer acceptAdjustType,
|
||||
@@ -310,7 +310,9 @@ public interface HyPartnerLineInfoMapper {
|
||||
@Param("userIdList") List<String> userIdList,
|
||||
@Param("createStartTime") String createStartTime,
|
||||
@Param("createEndTime") String createEndTime,
|
||||
@Param("pageTurn") String pageTurn
|
||||
@Param("pageTurn") String pageTurn,
|
||||
@Param("limit1") Integer limit1,
|
||||
@Param("limit2") Integer limit2
|
||||
);
|
||||
|
||||
}
|
||||
@@ -971,12 +971,6 @@
|
||||
LEFT JOIN hy_open_area_info hoai ON hoai.id = b.want_shop_area
|
||||
LEFT JOIN hy_phone_location hpl ON hpl.phone_number = b.mobile
|
||||
where a.line_status = 0 and a.deleted = 0
|
||||
<if test="lineId!=null and lineId!='' and pageTurn=='next'">
|
||||
AND a.id <![CDATA[ < ]]> #{lineId}
|
||||
</if>
|
||||
<if test="lineId!=null and lineId!='' and pageTurn=='previous'">
|
||||
AND a.id <![CDATA[ > ]]> #{lineId}
|
||||
</if>
|
||||
<if test="userNameKeyword!=null and userNameKeyword!=''">
|
||||
and b.username like concat('%',#{userNameKeyword},'%')
|
||||
</if>
|
||||
@@ -1000,7 +994,7 @@
|
||||
#{userId}
|
||||
</foreach>
|
||||
</if>
|
||||
order by a.create_time desc limit 1
|
||||
order by a.create_time desc limit #{limit1},#{limit2}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user