1
This commit is contained in:
parent
300067ae1f
commit
3f7e14445a
@ -29,10 +29,15 @@
|
||||
|
||||
<select id="pageNotice" resultMap="BaseResultMap">
|
||||
<include refid="Base_SQL" />
|
||||
<if test="map.parentServer != null and map.parentServer != ''">
|
||||
and dbn.parent_server = #{map.parentServer}
|
||||
</if>
|
||||
<if test="map.server != null and map.server != ''">
|
||||
and dbn.server = #{map.server}
|
||||
</if>
|
||||
<if test="map.type != null and map.type != ''">
|
||||
and dbn.type = #{map.type}
|
||||
</if>
|
||||
<if test="map.status != null">
|
||||
and dbn.status = #{map.status}
|
||||
</if>
|
||||
|
@ -57,7 +57,7 @@
|
||||
<choose>
|
||||
<when test="map.selectType == 'working'">
|
||||
-- 维修中的订单 --
|
||||
and (drt.tickets_status = '04' OR drt.tickets_status = '05' )
|
||||
and (drt.tickets_status = '04' OR drt.tickets_status = '05' OR drt.tickets_status = '05' OR drt.tickets_status ='01')
|
||||
</when>
|
||||
<when test="map.selectType == 'waitingPay'">
|
||||
-- 待支付的订单 --
|
||||
|
@ -185,7 +185,7 @@
|
||||
-- 查待处理数据 --
|
||||
select drt.*
|
||||
from dl_repair_tickets drt
|
||||
where (drt.deleted = '0') AND drt.tickets_status IN ('04','05','01')
|
||||
where (drt.deleted = '0') AND drt.tickets_status IN ('04','05','01','07')
|
||||
<if test="map.ticketNo != null and map.ticketNo != ''">
|
||||
and (
|
||||
drt.ticket_no like concat('%', #{map.ticketNo}, '%')
|
||||
|
Loading…
Reference in New Issue
Block a user