change - 振动传感器维护页面

master
yinq 5 months ago
parent e1dc4ea663
commit 547692ee89

@ -78,8 +78,10 @@ public class T_MonitorController extends BaseController {
break; break;
case 17: case 17:
url = "/monitor_tw"; url = "/monitor_tw";
break;
case 20: case 20:
url = "/vibrationSensorMonitor"; url = "/vibrationSensorMonitor";
break;
case 30: case 30:
url = "/arrayMonitor"; url = "/arrayMonitor";
break; break;

@ -4,6 +4,7 @@ import java.math.BigDecimal;
import java.util.List; import java.util.List;
import java.util.ArrayList; import java.util.ArrayList;
import com.ruoyi.common.core.domain.Ztree; import com.ruoyi.common.core.domain.Ztree;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.system.domain.TSetmonitorthresholdvalue; import com.ruoyi.system.domain.TSetmonitorthresholdvalue;
import com.ruoyi.system.domain.dto.T_MonitorDTO; import com.ruoyi.system.domain.dto.T_MonitorDTO;
import com.ruoyi.system.service.ITSetmonitorthresholdvalueService; import com.ruoyi.system.service.ITSetmonitorthresholdvalueService;
@ -99,8 +100,10 @@ public class T_MonitorServiceImpl implements IT_MonitorService
@Override @Override
public int updateT_Monitor(T_Monitor t_Monitor) public int updateT_Monitor(T_Monitor t_Monitor)
{ {
t_Monitor.setMonitorType(16); // if (StringUtils.isNull(t_Monitor.getMonitorType())){
t_Monitor.setSecondType(0); // t_Monitor.setMonitorType(16);
// t_Monitor.setSecondType(0);
// }
return t_MonitorMapper.updateT_Monitor(t_Monitor); return t_MonitorMapper.updateT_Monitor(t_Monitor);
} }

Loading…
Cancel
Save