Selaa lähdekoodia

更xinjiekou ,fix bug

wangzhinan 3 vuotta sitten
vanhempi
commit
83f1ae2eee

+ 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 " +
                    "  1=1 and t.del = 1 and t.user_id = '" + stringObjectMap.get("id").toString() + "'";
            stringObjectMap.put("allocatedDevice", jdbcTemplate.queryForObject(countSql, Integer.class));
            stringObjectMap.put("DeviceQty", deviceDao.countAll());
            stringObjectMap.put("deviceQty", deviceDao.countAll());
        }
        String countSql = " select " +
                "     COUNT(DISTINCT (t.id)) as count " +