huwhois 5 years ago
parent
commit
31973af829

+ 1 - 1
src/main/java/io/renren/modules/admin/controller/AttendersController.java

@ -159,7 +159,7 @@ public class AttendersController extends AbstractController  {
159 159
    public R satus(@RequestBody Map<String, Object> params) {
160 160
        String column = (String) params.get("column");
161 161
        Integer value = (Integer) params.get("value"); 
162
        Long id =(Long) params.get("value");
162
        Long id =Long.valueOf(params.get("value").toString());
163 163
        int result = changeColumnValue(column, value, id);
164 164
        if (result != 0) {
165 165
           return R.ok();