| | |
| | | package com.aps.core.controller.basicData; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.aps.core.service.IApsMaterialStorageManagementService; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.aps.common.core.utils.poi.ExcelUtil; |
| | | import com.aps.common.core.web.controller.BaseController; |
| | | import com.aps.common.core.web.domain.AjaxResult; |
| | | import com.aps.common.core.web.page.TableDataInfo; |
| | | import com.aps.common.log.annotation.Log; |
| | | import com.aps.common.log.enums.BusinessType; |
| | | import com.aps.common.security.annotation.RequiresPermissions; |
| | | import com.aps.core.domain.ApsMaterialStorageManagement; |
| | | import com.aps.common.core.web.controller.BaseController; |
| | | import com.aps.common.core.web.domain.AjaxResult; |
| | | import com.aps.common.core.utils.poi.ExcelUtil; |
| | | import com.aps.common.core.web.page.TableDataInfo; |
| | | import com.aps.core.service.IApsMaterialStorageManagementService; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 物料库存管理Controller |
| | |
| | | { |
| | | return toAjax(apsMaterialStorageManagementService.deleteApsMaterialStorageManagementByIds(ids)); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/setStorageDataToRedis") |
| | | public void setStorageDataToRedis() |
| | | { |
| | | apsMaterialStorageManagementService.setStorageDataToRedis("FORTUNA"); |
| | | } |
| | | |
| | | @PostMapping("/test") |
| | | public void test() |
| | | { |
| | | apsMaterialStorageManagementService.setStorageDataToRedis("FORTUNA"); |
| | | // apsMaterialStorageManagementService.getRdsStorage("FORTUNA", "A1501-001362"); |
| | | } |
| | | } |