|
@@ -45,6 +45,6 @@ public interface UptownUnitMapper extends BaseMapper<UptownUnit> {
|
|
|
List<UptownUnit> getUptownUnitLY(@Param("uptownId") Long uptownId);
|
|
|
|
|
|
|
|
|
- @Select("select unit_id,CONCAT(ridgepole,unit) as unit from sys_uptown_unit where status = 1 and uptown_id = 1238790987234")
|
|
|
- List<UptownUnit> getDLYbumen(PageDb pagination);
|
|
|
+ @Select("select * from(select unit_id,CONCAT(ridgepole,unit) as unit from sys_uptown_unit where status = 1 and uptown_id = 1238790987234) tt where unit like concat('%', #{unit}, '%')")
|
|
|
+ List<UptownUnit> getDLYbumen(@Param("unit") String unit);
|
|
|
}
|