|
@@ -48,7 +48,7 @@ public interface UptownUnitMapper extends BaseMapper<UptownUnit> {
|
|
@Select("select * from sys_department where status = 1 and unit_id = #{unitId}")
|
|
@Select("select * from sys_department where status = 1 and unit_id = #{unitId}")
|
|
List<Department> getDepartmentByUnit(@Param("unitId") Long unitId);
|
|
List<Department> getDepartmentByUnit(@Param("unitId") Long unitId);
|
|
|
|
|
|
- @Select("select * from(select unit.unit_id,CONCAT(unit.ridgepole,unit.unit) as unit,'凌云集团' as uptownName,DATE_FORMAT(unit.time_create,'%Y-%m-%d') as dateCreate,DATE_FORMAT(unit.time_update,'%Y-%m-%d') as dateUpdate from sys_uptown_unit unit left join sys_uptown uptown on uptown.uptown_id = unit.uptown_id " +
|
|
|
|
|
|
+ @Select("select * from(select unit.unit_id,CONCAT(unit.ridgepole,unit.unit) as unit,'江中耀华' as uptownName,DATE_FORMAT(unit.time_create,'%Y-%m-%d') as dateCreate,DATE_FORMAT(unit.time_update,'%Y-%m-%d') as dateUpdate from sys_uptown_unit unit left join sys_uptown uptown on uptown.uptown_id = unit.uptown_id " +
|
|
" where unit.status = 1 and unit.uptown_id = 1238790987234) tt where unit like concat('%', #{unit}, '%')")
|
|
" where unit.status = 1 and unit.uptown_id = 1238790987234) tt where unit like concat('%', #{unit}, '%')")
|
|
List<UptownUnit> getDLYbumen(@Param("unit") String unit);
|
|
List<UptownUnit> getDLYbumen(@Param("unit") String unit);
|
|
|
|
|