| | |
| | | package com.xzx.gc.user.controller; |
| | | |
| | | import com.xzx.gc.common.constant.Constants; |
| | | import com.xzx.gc.common.request.BaseController; |
| | | import com.xzx.gc.model.JsonResult; |
| | | import com.xzx.gc.user.dto.JhyInfoListDto; |
| | | import com.xzx.gc.user.service.JhyInfoService; |
| | | import com.xzx.gc.user.vo.JhyInfoListVo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiResponse; |
| | | import io.swagger.annotations.ApiResponses; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | | @Api(tags = {"集物员--集物员管理"}) |
| | |
| | | @Autowired |
| | | private JhyInfoService jhyInfoService; |
| | | |
| | | |
| | | @ApiOperation(value = "集货员信息列表") |
| | | @ApiResponses( |
| | | @ApiResponse(code = 200, message = "success", response = JhyInfoListVo.class) |
| | | ) |
| | | @PostMapping(value = Constants.ADMIN_VIEW_PREFIX + "/jhy/list.json") |
| | | public JsonResult<Map<String, Object>> jhyList(@RequestBody JhyInfoListDto jhyInfoListDto) { |
| | | return JsonResult.success(jhyInfoService.queryList(jhyInfoListDto)); |
| | | } |
| | | } |