Commit 99583f93 authored by tangwei's avatar tangwei

去除追加

parent 16813688
......@@ -135,10 +135,10 @@ public class EquipmentSpecificAlarmController extends AbstractBaseController {
public ResponseModel getAlarmPage(int pageNum, int pageSize, AlarmDTO dto) {
dto.setStatus("1");
Page page = new Page(pageNum, pageSize);
if (dto.getStartDate() != null && dto.getEndDate() != null){
dto.setStartDate(dto.getStartDate().split(" ")[0]+" 00:00:00");
dto.setEndDate(dto.getEndDate().split(" ")[0]+" 23:59:59");
}
// if (dto.getStartDate() != null && dto.getEndDate() != null){
// dto.setStartDate(dto.getStartDate().split(" ")[0]+" 00:00:00");
// dto.setEndDate(dto.getEndDate().split(" ")[0]+" 23:59:59");
// }
Page<EquipSpecificAlarmDTO> pageBean = iEquipmentSpecificAlarmService.getAlarmPage(page, dto);
return CommonResponseUtil.success(pageBean);
}
......
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