refactor(smartfactory): 重命名字段并优化映射
- 将 LineFixedAssetsMapper 中的 id 列重命名为 assetsId- 移除 LineFixedAssetsMapper 中的冗余 factoryName 列 - 更新 LineFixedAssetsController 中的相关代码
This commit is contained in:
parent
7bb1b650bb
commit
166cd8c27a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user