Commit 676e0c4e authored by lixuan's avatar lixuan

feat: 房源

parent 79919cab
Pipeline #145918 failed with stages
......@@ -1044,7 +1044,7 @@ public class RegionController extends BaseController {
@RequestMapping(value = "/getThreeByUser", method = RequestMethod.GET)
@ResponseBody
public AjaxResult getThreeByUser(@RequestParam("wgType") String wgType,
public AjaxResult getThreeByUser(@RequestParam(value = "wgType", required = false) String wgType,
@RequestParam(value = "wgName", required = false) String wgName,
@RequestParam(value = "wgCode", required = false) String wgCode,
@RequestParam("pageNum") Integer pageNum,
......
......@@ -807,7 +807,9 @@
<if test="name != null and name != ''">
and wg_name like CONCAT('%', #{name}, '%')
</if>
<if test="wgType != null and wgType != ''">
and wg_type = #{wgType}
</if>
<if test="wgCodeLikes != null and wgCodeLikes.size() > 0">
and (
<foreach collection="wgCodeLikes" item="wgCode" open="(" close=")" separator="or">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment