|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
|
|
|
|
@RestController |
|
|
|
|
@RequestMapping("/obj/content") |
|
|
|
|
@Api(value = "巡检内容", tags = "巡检内容") |
|
|
|
|
@Business(module = Constants.APP_NAME,value = "巡检内容管理",ignore = false) |
|
|
|
|
@Business(module = Constants.APP_NAME,value = "巡检内容管理") |
|
|
|
|
@Slf4j |
|
|
|
|
public class ContentController { |
|
|
|
|
|
|
|
|
@ -56,7 +56,7 @@ public class ContentController {
|
|
|
|
|
*/ |
|
|
|
|
@GetMapping("/list") |
|
|
|
|
@ApiOperation(value = "巡检内容列表", notes = "巡检内容列表") |
|
|
|
|
@Operate(label="查询巡检内容分页列表",type = BusinessType.QUERY,ignore = false) |
|
|
|
|
@Operate(label="查询巡检内容分页列表",type = BusinessType.QUERY) |
|
|
|
|
public R<IPage<ContentEntity>> list(ContentListQueryVO content, Query query) { |
|
|
|
|
LambdaQueryWrapper<ContentEntity> queryWrapper = Condition.getQueryWrapper(new ContentEntity(),content); |
|
|
|
|
queryWrapper.orderByDesc(ContentEntity::getUpdateTime); |
|
|
|
|