mysql 给已存在的商品数据,根据商品ID增加商品编号

    xiaoxiao2025-10-20  8

    有这个需求,所以记录一下

    风来了.fox

    update zh_product set product_no=CONCAT('P150907000000000',LPAD(product_id,2,'0'));
    最新回复(0)