|
|
@ -25,10 +25,20 @@ |
|
|
|
<result column="remarks" property="remarks"/> |
|
|
|
<result column="remarks" property="remarks"/> |
|
|
|
</resultMap> |
|
|
|
</resultMap> |
|
|
|
<select id="pageListOwn" resultType="com.logpm.aftersales.vo.AftersalesOvertimeFineVO" > |
|
|
|
<select id="pageListOwn" resultType="com.logpm.aftersales.vo.AftersalesOvertimeFineVO" > |
|
|
|
select laof.id,lawo.work_order_number workOrderNumber,lawo.work_order_type workOrderType,lawo.discovery_node discoveryNode,COUNT(laof.id) ,laof.create_time createTime, |
|
|
|
SELECT |
|
|
|
laof.timeout,laof.money,laof.business_name businessName,lawo.id workOrderId |
|
|
|
laof.id, |
|
|
|
from logpm_aftersales_overtime_fine laof |
|
|
|
lawo.work_order_number workOrderNumber, |
|
|
|
LEFT JOIN logpm_aftersales_work_order lawo on lawo.id = laof.work_order_id |
|
|
|
lawo.work_order_type workOrderType, |
|
|
|
|
|
|
|
lawo.discovery_node discoveryNode, |
|
|
|
|
|
|
|
COUNT( laof.id ), |
|
|
|
|
|
|
|
laof.create_time createTime, |
|
|
|
|
|
|
|
laof.timeout, |
|
|
|
|
|
|
|
laof.money, |
|
|
|
|
|
|
|
laof.business_name businessName, |
|
|
|
|
|
|
|
lawo.id workOrderId |
|
|
|
|
|
|
|
FROM |
|
|
|
|
|
|
|
logpm_aftersales_overtime_fine laof |
|
|
|
|
|
|
|
LEFT JOIN logpm_aftersales_work_order lawo ON lawo.id = laof.work_order_id |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
<if test=" param.id != null and param.id != ''">and laof.id = #{param.id }</if> |
|
|
|
<if test=" param.id != null and param.id != ''">and laof.id = #{param.id }</if> |
|
|
|
<if test="param.workOrderNumber != null and param.workOrderNumber != ''">and lawo.work_order_number LIKE '%${param.workOrderNumber}%'</if> |
|
|
|
<if test="param.workOrderNumber != null and param.workOrderNumber != ''">and lawo.work_order_number LIKE '%${param.workOrderNumber}%'</if> |
|
|
|