|
|
|
@ -211,7 +211,7 @@
|
|
|
|
|
</if>
|
|
|
|
|
<if test="unionRemark != null and unionRemark != ''">
|
|
|
|
|
AND (io.remark like concat('%', #{unionRemark}, '%')
|
|
|
|
|
or io.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
|
or io.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
|
|
AND date_format(createTime, '%Y-%m-%d') between date_format(#{startTime}, '%Y-%m-%d') and date_format(#{endTime}, '%Y-%m-%d')
|
|
|
|
@ -273,7 +273,7 @@
|
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|
and status = 7
|
|
|
|
|
and (status = 7 or status = 10)
|
|
|
|
|
)
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
@ -288,7 +288,7 @@
|
|
|
|
|
<foreach collection="invoiceActions2" index="index" item="item" open="(" close=")" separator=",">
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|
and status = 7)
|
|
|
|
|
and (status = 7 or status = 10))
|
|
|
|
|
)
|
|
|
|
|
</if>
|
|
|
|
|
</if>
|
|
|
|
@ -322,8 +322,8 @@
|
|
|
|
|
AND fromCorp = #{fromCorp}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="unionRemark != null and unionRemark != ''">
|
|
|
|
|
AND (io.remark like concat('%', #{unionRemark}, '%')
|
|
|
|
|
or io.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
|
AND (io_order.remark like concat('%', #{unionRemark}, '%')
|
|
|
|
|
or io_order.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
|
</if>
|
|
|
|
|
<if test="customerId != null and customerId != ''">
|
|
|
|
|
AND customerId = #{customerId}
|
|
|
|
@ -474,7 +474,7 @@
|
|
|
|
|
</if>
|
|
|
|
|
<if test="unionRemark != null and unionRemark != ''">
|
|
|
|
|
AND (io.remark like concat('%', #{unionRemark}, '%')
|
|
|
|
|
or io.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
|
or io.outSickInfo like concat('%', #{unionRemark}, '%'))
|
|
|
|
|
</if>
|
|
|
|
|
<if test="inCodeStatus != null">
|
|
|
|
|
AND io.inCodeStatus = #{inCodeStatus}
|
|
|
|
|