私海
This commit is contained in:
@@ -97,8 +97,8 @@ public class LineInfoDAO {
|
||||
return lineInfo;
|
||||
}
|
||||
|
||||
public List<LineInfoDO> lineList(LineListRequest lineListRequest, String userId, List<Long> wantShopAreaIds) {
|
||||
List<LineInfoDO> lineInfo = lineInfoMapper.lineList(lineListRequest,userId,wantShopAreaIds);
|
||||
public List<LineInfoDO> lineList(LineListRequest lineListRequest,String wantShopAreaName, String userId, List<Long> wantShopAreaIds) {
|
||||
List<LineInfoDO> lineInfo = lineInfoMapper.lineList(lineListRequest,wantShopAreaName,userId,wantShopAreaIds);
|
||||
return lineInfo;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ public interface LineInfoMapper extends Mapper<LineInfoDO> {
|
||||
* @return
|
||||
*/
|
||||
List<LineInfoDO> lineList(@Param("request") LineListRequest lineListRequest,
|
||||
@Param("wantShopAreaName") String wantShopAreaName,
|
||||
@Param("userId") String userId,
|
||||
@Param("wantShopAreaIds") List<Long> wantShopAreaIds);
|
||||
|
||||
|
||||
@@ -326,6 +326,9 @@
|
||||
<if test="userId != null and userId != ''">
|
||||
and investment_manager = #{userId}
|
||||
</if>
|
||||
<if test="wantShopAreaName != null">
|
||||
and b.area_path like concat('%',#{wantShopAreaName},'%')
|
||||
</if>
|
||||
<if test="request.userName != null and request.username!=''">
|
||||
and username = #{request.userName}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user