Files
erp-backend/src/main/resources/sql/dev/id.sql
c bba3734071 fix: 0.1.1 修正问题如下:
1. 配置文件添加了生产环境配置文件,根据环境分别配置数据库配置,Swagger配置以及CORS配置。
2. 做了自动填充基础 Entity 配置,且分别对应了新老项目的基础 Entity,自动填充基本的创建信息和更新信息。
3. 修正了一下入库的状态问题和展示问题。
4. 修正了线上数据库表名的大小写和项目不符合的问题。
5. 优化了物料总表的 DTO。
2026-04-03 10:22:50 +08:00

12 lines
573 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
ALTER TABLE yy_sysrole ADD PRIMARY KEY (id);
ALTER TABLE yy_sysrole MODIFY id BIGINT NOT NULL AUTO_INCREMENT;
ALTER TABLE yy_sysrolechannelmapping ADD temp_id BIGINT AUTO_INCREMENT PRIMARY KEY FIRST;
UPDATE yy_sysrolechannelmapping SET id = temp_id;
ALTER TABLE yy_sysrolechannelmapping DROP temp_id;
ALTER TABLE yy_sysrolechannelmapping ADD PRIMARY KEY (id);
ALTER TABLE yy_sysrolechannelmapping MODIFY id BIGINT NOT NULL AUTO_INCREMENT;
ALTER TABLE PurchasePlanDetails ADD Order_item_id BIGINT DEFAULT NULL COMMENT "关联 purchasematerial 的 ID 订单明细 ID";