소스 검색

web端修改列表字段位置

墨云 2 년 전
부모
커밋
ec2565a056
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      whepi-web/src/main/java/com/bofeng/dao/UptownUnitMapper.java

+ 1 - 1
whepi-web/src/main/java/com/bofeng/dao/UptownUnitMapper.java

@@ -48,7 +48,7 @@ public interface UptownUnitMapper extends BaseMapper<UptownUnit> {
     @Select("select * from sys_department where status = 1 and unit_id = #{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}, '%')")
     List<UptownUnit> getDLYbumen(@Param("unit") String unit);