| | |
| | | import io.swagger.annotations.ApiResponses; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.ArrayList; |
| | |
| | | @ApiResponse(code = 200, message = "ok", response = OccupancyController.OccupancySPan.class) |
| | | }) |
| | | @GetMapping(value = "/getKanban/{timeStr}") |
| | | AjaxResult showCwzyList(String timeStr) { |
| | | AjaxResult showCwzyList(@PathVariable String timeStr) { |
| | | //TODO app的用户获不能在session中,方案要改 |
| | | SysUsers sysUsers = WebUtil.getSessionAttribute(MatrixConstance.LOGIN_KEY); |
| | | return occupancyController.getCwzyList(timeStr,sysUsers.getShopId()); |