|
|
@ -3,6 +3,7 @@ package com.hnac.hzims.operational.config.controller; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.alibaba.fastjson.JSONArray; |
|
|
|
import com.alibaba.fastjson.JSONArray; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
|
|
|
|
import org.springblade.core.log.annotation.ApiLog; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
@ -44,6 +45,7 @@ public class FocusAttributeController extends BladeController { |
|
|
|
return R.status(attributeService.save(attributeEntity)); |
|
|
|
return R.status(attributeService.save(attributeEntity)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@PostMapping("/getMainList") |
|
|
|
@PostMapping("/getMainList") |
|
|
|
@ApiOperation("查询列表(主界面)") |
|
|
|
@ApiOperation("查询列表(主界面)") |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
@ApiOperationSupport(order = 1) |
|
|
@ -58,7 +60,6 @@ public class FocusAttributeController extends BladeController { |
|
|
|
List<FocusAttributeEntity> focusAttributeEntityList = JSONArray.parseArray(JSON.toJSONString(focusAttributeDtoList),FocusAttributeEntity.class); |
|
|
|
List<FocusAttributeEntity> focusAttributeEntityList = JSONArray.parseArray(JSON.toJSONString(focusAttributeDtoList),FocusAttributeEntity.class); |
|
|
|
return attributeService.modify(focusAttributeEntityList); |
|
|
|
return attributeService.modify(focusAttributeEntityList); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/list") |
|
|
|
@PostMapping("/list") |
|
|
|
@ApiOperation("查询列表") |
|
|
|
@ApiOperation("查询列表") |
|
|
|
@ApiOperationSupport(order = 3) |
|
|
|
@ApiOperationSupport(order = 3) |
|
|
|