| | |
| | | //型号 |
| | | @TableField(exist = false) |
| | | private String equipmentModel; |
| | | @ApiModelProperty(value = "设备类别") |
| | | @Dict(dicCode = "equipment_category") |
| | | private String equipmentCategory; |
| | | //保养日期 |
| | | private String maintenanceDateFormatted; |
| | | //使用单位 |
| | |
| | | WHERE t1.id = #{id} |
| | | </select> |
| | | <select id="queryList" resultType="org.jeecg.modules.eam.dto.EamThirdMaintenanceOrderExport"> |
| | | select wmo.*,FORMAT(CAST(wmo.maintenance_date AS DATE), 'yyyy年MM月dd日') AS maintenance_date_formatted, e.equipment_code, e.equipment_name, e.equipment_model,f.factory_name |
| | | select wmo.*,FORMAT(CAST(wmo.maintenance_date AS DATE), 'yyyy年MM月dd日') AS maintenance_date_formatted, |
| | | e.equipment_code, e.equipment_name, e.equipment_model,e.equipment_category |
| | | ,f.factory_name |
| | | from eam_third_maintenance_order wmo |
| | | inner join eam_equipment e |
| | | on wmo.equipment_id = e.id |