|
(1)eav_entity_type表将entity_type_code为order的 increment_pad_length 修改为7
(2)app/etc/di.xml
- <type name="Magento\Framework\DB\Sequence\SequenceInterface">
- <arguments>
- <argument name="pattern" xsi:type="string">%s%'.07d%s</argument>
- </arguments>
- </type>
复制代码
(注:)修改前缀就比较简单了 sales_sequence_meta查找entity_type为order的 记录下几个meta_ID
在表 sales_sequence_profile 对应的meta_ID修改prefix 就行了
|
|