refactor(smartfactory): 重命名字段并优化映射

- 将 LineFixedAssetsMapper 中的 id 列重命名为 assetsId- 移除 LineFixedAssetsMapper 中的冗余 factoryName 列
- 更新 LineFixedAssetsController 中的相关代码
This commit is contained in:
aikai 2025-03-31 16:36:22 +08:00
parent 7bb1b650bb
commit 166cd8c27a
2 changed files with 3 additions and 3 deletions

View File

@ -11,11 +11,11 @@
<select id="getLineFixedAssetsPage"
resultType="cn.iocoder.yudao.module.smartfactory.dal.dataobject.linefixedassets.LineFixedAssetsDO">
select a.id,
select a.id as assetsId,
a.assets_no as assetsNo,
d.id AS factoryId,
d.name as factoryName,
c.id as forkliftId,
c.id as id,
b.dept_id as deptId,
dept.name as deptName,
d.name as factoryName,