Commit bfa28733 authored by jay's avatar jay

约看项目修改

parent 9f796bc1
...@@ -71,9 +71,10 @@ ...@@ -71,9 +71,10 @@
if ($(this).val() == values) { if ($(this).val() == values) {
select_text = $(this).text(); select_text = $(this).text();
$(this).attr("selected", "selected"); $(this).attr("selected", "selected");
}else{
$(this).removeAttr("selected");
} }
// else{
// $(this).removeAttr("selected");
// }
}); });
}, },
afterDeselect: function (values) { afterDeselect: function (values) {
......
...@@ -108,14 +108,14 @@ public class CloudCustomerImpl implements ICloudCustomerInterface { ...@@ -108,14 +108,14 @@ public class CloudCustomerImpl implements ICloudCustomerInterface {
toIndex = total; toIndex = total;
} }
if (fromIndex <= total) { if (fromIndex <= total) {
subList = list.subList(fromIndex, toIndex); list = list.subList(fromIndex, toIndex);
if (toIndex >= fromIndex) { if (toIndex >= fromIndex) {
break; break;
} }
} }
} }
count = total; count = total;
response.setObjectList(subList); response.setObjectList(list);
} else { } else {
int start = 50 * (request.getPaging().getCurrentPage() - 1); int start = 50 * (request.getPaging().getCurrentPage() - 1);
map.put("start", start); map.put("start", start);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment