You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB
Java

package com.cxds.imageaudit.controller;
import com.cxds.imageaudit.mapper.ClassnoTextMapper;
import com.cxds.imageaudit.pojo.entity.ClassnoText;
import com.cxds.imageaudit.resultR.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* <p>
* 前端控制器
* </p>
*
* @author 陈旭东
* @since 2022-07-13
*/
@RestController
@RequestMapping("/classnoType")
public class ClassnoTextController {
@Autowired
private ClassnoTextMapper classnoTextMapper;
/**
* @Author 陈旭东
* @Date 2022/07/16 15:44
* @方法 classNoTypeAll
* @作用 查询收费班次全部类型
* @参数说明
* @return
*/
@GetMapping("/classnoTypeAll")
public R<List<ClassnoText>> classNoTypeAll(){
List<ClassnoText> classnoType = classnoTextMapper.selectList(null);
//System.out.println("陈旭东:"+classnoType);
return R.SUCCESS(classnoType);
}
}