廖井涛
2025-02-12 d2e11d8ef4eccf41ae0fadc2bd57317308ca0b64
north-glass-erp/src/main/java/com/example/erp/service/sd/ProductService.java
@@ -7,7 +7,6 @@
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import com.example.erp.common.Constants;
import com.example.erp.entity.sd.Order;
import com.example.erp.entity.sd.Product;
import com.example.erp.entity.sd.ProductDetail;
import com.example.erp.exception.ServiceException;
@@ -174,4 +173,9 @@
        map.put("detail",productDetailList);
        return map;
    }
    public List<Product> otherSysGetProduct() {
        return productMapper.selectList(new QueryWrapper<Product>().eq("state",1)
                .orderByDesc("id"));
    }
}