liuxm
2024-06-06 cda0faf3128ed97e7519d1ca04be079aea64dd93
pms-parent/pms-web-platform/src/main/java/com/dy/pmsPlatform/product/ProductCtrl.java
@@ -1,7 +1,6 @@
package com.dy.pmsPlatform.product;
import com.alibaba.excel.converters.Converter;
import com.alibaba.fastjson2.JSON;
import com.dy.common.aop.SsoPowerAop;
import com.dy.common.webUtil.BaseResponse;
import com.dy.common.webUtil.BaseResponseUtils;
@@ -134,7 +133,7 @@
        try{
            PltProduct pro=proSv.selectById(id);
            return BaseResponseUtils.buildSuccess(JSON.toJSON(pro));
            return BaseResponseUtils.buildSuccess(pro);
        }catch (Exception e){
            log.error("根据ID查询产品异常", e);
            return BaseResponseUtils.buildException(e.getMessage());