传进一个装有实体类的list public void sort(List<MedicalPracticesDetail> mpdList){ Collections.sort(mpdList, new Comparator<MedicalPracticesDetail>(){ public int compare(MedicalPracticesDetail o1, MedicalPracticesDetail o2) { return o2.getOperatorTime().c
直接贴代码吧,有需要的话,可以根据自己的需要修改部分代码: public BigDecimal getByAttributeName(ThmdGwqriR thmdGwqriR, String attributeName){ for (Field field : thmdGwqriR.getClass().getDeclaredFields()) { field.setAccessible(true); try{ if (attributeName.toLowerCase().equals(fi
前端ajax传过来的数据按照以上方法接收Map中 var ip = $("#ip").val(); var port = $("#port").val(); var phoneId = $("#phoneId").val(); var greenFlash = $("#greenFlash").val(); var walkFlash = $("#walkFlash").val(); var allRed