|
@@ -2,6 +2,8 @@ package com.usky.iot.controller.web;
|
|
|
|
|
|
|
|
|
import com.usky.common.core.bean.CommonPage;
|
|
|
+import com.usky.common.log.annotation.Log;
|
|
|
+import com.usky.common.log.enums.BusinessType;
|
|
|
import com.usky.common.security.utils.SecurityUtils;
|
|
|
import com.usky.iot.domain.PmTimeConf;
|
|
|
import com.usky.iot.domain.PmWorkReport;
|
|
@@ -86,6 +88,7 @@ public class PmTimeConfController {
|
|
|
* 添加配置时间
|
|
|
* @param pmTimeConf 配置时间
|
|
|
*/
|
|
|
+ @Log(title = "新增配置时间", businessType = BusinessType.INSERT)
|
|
|
@PostMapping("/addTimeConf")
|
|
|
public void addTimeConf(@RequestBody PmTimeConf pmTimeConf) {
|
|
|
pmTimeConfService.addOrUpdateTimeConf(pmTimeConf);
|
|
@@ -95,6 +98,7 @@ public class PmTimeConfController {
|
|
|
* 修改配置时间
|
|
|
* @param pmTimeConf 配置时间
|
|
|
*/
|
|
|
+ @Log(title = "修改配置时间", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping("/updateTimeConf")
|
|
|
public void updateTimeConf(@RequestBody PmTimeConf pmTimeConf) {
|
|
|
pmTimeConfService.addOrUpdateTimeConf(pmTimeConf);
|