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