| | |
| | | t1.in_depart_id as inDepartId, |
| | | t1.in_manager_id as inManagerId, |
| | | t1.equipment_id as equipmentId, |
| | | t2.id AS equipmentId, |
| | | t2.num as equipmentNum, |
| | | t2.name as equipmentName, |
| | | t2.id as equipmentId, |
| | | t2.model as model, |
| | | t1.technical_status as technicalStatus, |
| | | t2.specification as specification, |
| | | t1.update_by as updateBy, |
| | | t1.update_time as updateTime, |
| | | t6.id AS useDepartId, |
| | | t6.depart_name as useDepartName, |
| | | t7.id AS responsibilityUserId, |
| | | t7.realname as responsibilityUserName |
| | | |
| | | FROM |
| | |
| | | t1.responsibility_user_id as responsibilityUserId, |
| | | t1.use_depart_id as useDepartId, |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t8.name responsibilityTeamName, |
| | | t1.demand_date as demandDate, |
| | | t1.actual_in_date as actualInDate, |
| | | t1.in_depart_id as inDepartId, |
| | | t1.in_manager_id as inManagerId, |
| | | t1.use_depart_id as useDepartId, |
| | | t1.responsibility_team_id as responsibilityTeamId, |
| | | t1.responsibility_user_id as responsibilityUserId, |
| | | t1.position as position, |
| | | t1.equipment_id as equipmentId, |
| | | t1.technical_status as technicalStatus, |
| | | t2.num as equipmentNum, |
| | |
| | | t2.specification as specification, |
| | | t1.update_by as updateBy, |
| | | t1.update_time as updateTime, |
| | | t3.id AS inManagerId, |
| | | t3.realname as inManagerName, |
| | | t4.id AS inDepartId, |
| | | t4.depart_name as inDepartName, |
| | | t5.id AS transferMethodId, |
| | | t5.name as transferMethodName, |
| | | t6.id AS useDepartId, |
| | | t6.depart_name as useDepartName, |
| | | t7.id AS responsibilityUserId, |
| | | t7.realname as responsibilityUserName |
| | | FROM |
| | | mom_eam_equipment_transfer_in_detail t1 |
| | |
| | | LEFT JOIN sys_depart t6 ON t1.use_depart_id = t6.id |
| | | LEFT JOIN sys_user t7 ON t1.responsibility_user_id = t7.id |
| | | LEFT JOIN mom_eam_transfer_method t5 ON t1.transfer_method_id = t5.id |
| | | LEFT JOIN mom_base_team t8 on t1.responsibility_team_id = t8.id |
| | | WHERE t1.del_flag = 0 |
| | | <if test="params.equipmentTransferId != null and params.equipmentTransferId != ''"> |
| | | and t1.equipment_transfer_id = #{params.equipmentTransferId} |
| | |
| | | |
| | | ORDER BY t1.create_time desc |
| | | </select> |
| | | </mapper> |
| | | </mapper> |