change - 振动传感器维护页面

master
yinq 5 months ago
parent e1dc4ea663
commit 547692ee89

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

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

Loading…
Cancel
Save