Commit c4d39556cfabb58a6e906791039503f9d0cd3222
1 parent
7aaac12691
Exists in
master
and in
6 other branches
update
Showing 1 changed file with 3 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/AreaCountFacade.java
View file @
c4d3955
... | ... | @@ -1331,18 +1331,18 @@ |
1331 | 1331 | " ) BB ON AAA.HOSPITAL_NO = BB.HOSPITAL_NO "; |
1332 | 1332 | if (StringUtils.isNotEmpty(hospitalId)) |
1333 | 1333 | { |
1334 | - countSql+=" WHERE AAA.YCY_STSTEM_ID= '" +hospitalId+"'"; | |
1334 | + sql+=" WHERE AAA.YCY_STSTEM_ID= '" +hospitalId+"'"; | |
1335 | 1335 | } |
1336 | 1336 | else |
1337 | 1337 | { |
1338 | 1338 | String hospitals = getPermissionStr(userId,provinceId,cityId,areaId); |
1339 | 1339 | if (StringUtils.isNotEmpty(hospitals)) |
1340 | 1340 | { |
1341 | - countSql+=" WHERE AAA.YCY_STSTEM_ID IN " +hospitals; | |
1341 | + sql+=" WHERE AAA.YCY_STSTEM_ID IN " +hospitals; | |
1342 | 1342 | } |
1343 | 1343 | |
1344 | 1344 | } |
1345 | - countSql+=" ORDER BY 1,2,3"; | |
1345 | + sql+=" ORDER BY 1,2,3"; | |
1346 | 1346 | System.out.println("sql===="+sql); |
1347 | 1347 | System.out.println("countSql===="+countSql); |
1348 | 1348 |