| | |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.utils.page.PageDTO; |
| | | import com.ruoyi.management.domain.SlVolumeProductionZy; |
| | | import com.ruoyi.management.domain.dto.*; |
| | | import com.ruoyi.management.domain.vo.ManagementimgSlVolumeProductionCkVO; |
| | | import com.ruoyi.management.domain.vo.ManagementimgVolumeProductionCkVO; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | |
| | | @PostMapping("/updSlVolumeProductionZy") |
| | | @ApiOperation(value = "修改转移") |
| | | public R updSlVolumeProductionZy(@RequestBody UpdaddSlVolumeProductionZyDTO updaddSlVolumeProductionZyDTO) { |
| | | public R updSlVolumeProductionZy(@RequestBody List<UpdaddSlVolumeProductionZyDTO> updaddSlVolumeProductionZyDTO) { |
| | | slVolumeProductionZyService.updSlVolumeProductionZy(updaddSlVolumeProductionZyDTO); |
| | | return R.ok(); |
| | | } |
| | |
| | | @DeleteMapping("/{id}") |
| | | public R<?> delStoreManagement( |
| | | @ApiParam(name = "id", value = "转移批次id", required = true) @PathVariable("id") Integer id) { |
| | | slVolumeProductionZyService.removeById(id); |
| | | SlVolumeProductionZy byId = slVolumeProductionZyService.getById(id); |
| | | byId.setDelFlag("1"); |
| | | slVolumeProductionZyService.updateById(byId); |
| | | return R.ok(); |
| | | } |
| | | |