| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import lombok.AllArgsConstructor; |
| | | import okhttp3.OkHttpClient; |
| | | import okhttp3.Request; |
| | | import okhttp3.Response; |
| | | import org.springblade.core.mp.support.Condition; |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | |
| | | import org.springblade.modules.equipage.service.EquipageService; |
| | | import org.springblade.modules.equipage.vo.EquipageVo; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author zhongrj |
| | |
| | | return R.data(detail); |
| | | } |
| | | |
| | | /** |
| | | * 查询枪支信息 |
| | | * |
| | | * @return |
| | | */ |
| | | @GetMapping("/selectGun") |
| | | public R selectGun() { |
| | | List<Map<Object, Object>> maps = equipageService.selectGun(); |
| | | return R.data(maps); |
| | | } |
| | | |
| | | } |