无关风月
2024-12-25 508905485c447c50ffc337ce9d171b7609674add
代码
1个文件已修改
2 ■■■■■ 已修改文件
manage/src/main/java/com/jilongda/manage/controller/TInventoryController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
manage/src/main/java/com/jilongda/manage/controller/TInventoryController.java
@@ -19,6 +19,7 @@
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import org.springframework.beans.BeanUtils;
import org.springframework.context.annotation.Bean;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;
@@ -156,6 +157,7 @@
        TInventoryInfoVO tInventoryInfoVO = new TInventoryInfoVO();
        TInventory byId = inventoryService.getById(id);
        BeanUtils.copyProperties(byId, tInventoryInfoVO);
        switch (byId.getType()){
            case 1:
                List<TInventoryFrameDetail> list = inventoryFrameDetailService.lambdaQuery().eq(TInventoryFrameDetail::getInventoryId, id).list();