更新运维工单详情接口展示工单类型
This commit is contained in:
parent
d00c4dbc55
commit
7c4fde9a3a
@ -22,6 +22,10 @@ public class XhpcWorkOrderDomain implements Serializable {
|
||||
*/
|
||||
private Short type;
|
||||
|
||||
|
||||
|
||||
private String typeName;
|
||||
|
||||
/**
|
||||
* 工单标题
|
||||
*/
|
||||
@ -100,6 +104,7 @@ public class XhpcWorkOrderDomain implements Serializable {
|
||||
//
|
||||
|
||||
private String startTime;
|
||||
|
||||
private int source;
|
||||
|
||||
private String stationName;
|
||||
|
||||
@ -82,11 +82,12 @@
|
||||
<select id="selectByPrimaryKey" resultType="com.xhpc.workorder.domain.XhpcWorkOrderDomain">
|
||||
select
|
||||
<include refid="Base_Column_List" />,
|
||||
d.device_name, s.name, co.start_time, co.source
|
||||
d.device_name, s.name, co.start_time, co.source, td.name as 'type_name'
|
||||
from xhpc_work_order o
|
||||
LEFT JOIN xhpc_station_device d on o.serial_number=d.serial_number
|
||||
LEFT JOIN xhpc_work_station s on d.station_id=s.work_station_id
|
||||
left join xhpc_charge_order co on co.serial_number=o.serial_number
|
||||
left join xhpc_work_type_dict td on td.work_type_id=o.type
|
||||
where o.work_order_id = #{workOrderId,jdbcType=BIGINT}
|
||||
</select>
|
||||
<update id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user