Browse Source

#巡检内容

zhongwei
yang_shj 2 months ago
parent
commit
af4c8966ec
  1. 4
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ContentController.java

4
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/obj/web/ContentController.java

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

Loading…
Cancel
Save