|
|
@ -124,6 +124,8 @@ public class BaseSensorInfoController extends BaseController
|
|
|
|
@ResponseBody
|
|
|
|
@ResponseBody
|
|
|
|
public AjaxResult addSave(BaseSensorInfo baseSensorInfo)
|
|
|
|
public AjaxResult addSave(BaseSensorInfo baseSensorInfo)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
baseSensorInfo.setCreateBy(ShiroUtils.getLoginName());
|
|
|
|
|
|
|
|
baseSensorInfo.setCreateTime(new Date());
|
|
|
|
return toAjax(baseSensorInfoService.insertBaseSensorInfo(baseSensorInfo));
|
|
|
|
return toAjax(baseSensorInfoService.insertBaseSensorInfo(baseSensorInfo));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|