소스 검색

更xinjiekou ,fix bug

wangzhinan 3 년 전
부모
커밋
83f1ae2eee
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      svr/svr-base/src/main/java/com/yihu/jw/base/service/a3service/MedicineUserService.java

+ 1 - 1
svr/svr-base/src/main/java/com/yihu/jw/base/service/a3service/MedicineUserService.java

@ -229,7 +229,7 @@ public class MedicineUserService extends BaseJpaService<Mediicineuser, Mediicine
                    "  where " +
                    "  where " +
                    "  1=1 and t.del = 1 and t.user_id = '" + stringObjectMap.get("id").toString() + "'";
                    "  1=1 and t.del = 1 and t.user_id = '" + stringObjectMap.get("id").toString() + "'";
            stringObjectMap.put("allocatedDevice", jdbcTemplate.queryForObject(countSql, Integer.class));
            stringObjectMap.put("allocatedDevice", jdbcTemplate.queryForObject(countSql, Integer.class));
            stringObjectMap.put("DeviceQty", deviceDao.countAll());
            stringObjectMap.put("deviceQty", deviceDao.countAll());
        }
        }
        String countSql = " select " +
        String countSql = " select " +
                "     COUNT(DISTINCT (t.id)) as count " +
                "     COUNT(DISTINCT (t.id)) as count " +