| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.db_user.Baojigroup; |
| | | import com.whyc.pojo.db_user.User; |
| | | import com.whyc.service.*; |
| | | import com.whyc.util.ActionUtil; |
| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | | @Api(tags = "下拉条件管理") |
| | |
| | | return rtstateService.getBattState(); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取所有的班组(下拉)") |
| | | @GetMapping("getBattGroupBZ") |
| | | public Response getBattGroupBZ(){ |
| | | List<Baojigroup> list=bjGroupService.getGroupList(); |
| | | return new Response().setII(1,true,list,"获取所有的班组(下拉)"); |
| | | } |
| | | |
| | | |
| | | |
| | | } |