修改bug
This commit is contained in:
parent
22c724c91b
commit
99bb4ba33b
|
@ -45,4 +45,11 @@ public class AppConsortiaController extends AbstractController {
|
||||||
public Result selectConsortiaList(Integer page,Integer limit,String consortiaName,String userName,String phone){
|
public Result selectConsortiaList(Integer page,Integer limit,String consortiaName,String userName,String phone){
|
||||||
return consortiaService.selectConsortiaList(page, limit, consortiaName,userName,phone);
|
return consortiaService.selectConsortiaList(page, limit, consortiaName,userName,phone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@PostMapping("/updateConsortia")
|
||||||
|
@ApiOperation("修改商家")
|
||||||
|
public Result updateConsortia(@RequestBody Consortia consortia){
|
||||||
|
return consortiaService.updateConsortia(consortia);
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -105,6 +105,7 @@
|
||||||
<if test="title!=null and title!=''">
|
<if test="title!=null and title!=''">
|
||||||
and m.title like concat('%',#{title},'%')
|
and m.title like concat('%',#{title},'%')
|
||||||
</if>
|
</if>
|
||||||
|
GROUP BY title
|
||||||
) a
|
) a
|
||||||
<if test="by!=null and by==1">
|
<if test="by!=null and by==1">
|
||||||
order by price desc
|
order by price desc
|
||||||
|
|
Loading…
Reference in New Issue