|
@@ -69,22 +69,16 @@
|
|
</if>
|
|
</if>
|
|
<if test="noCarWayBill.billNums != null">
|
|
<if test="noCarWayBill.billNums != null">
|
|
and billNum in
|
|
and billNum in
|
|
- <foreach collection="noCarWayBill.billNums" item="billNum" index="index" separator="," open="("
|
|
|
|
- close=")">
|
|
|
|
- #{billNum}
|
|
|
|
- </foreach>
|
|
|
|
|
|
+ <foreach collection="noCarWayBill.billNums" item="billNum" index="index" separator="," open="(" close=")">
|
|
|
|
+ #{billNum}
|
|
|
|
+ </foreach>
|
|
</if>
|
|
</if>
|
|
<if test="noCarWayBill.taxplayerCode != null and noCarWayBill.taxplayerCode != ''">
|
|
<if test="noCarWayBill.taxplayerCode != null and noCarWayBill.taxplayerCode != ''">
|
|
- and taxplayerCode = BINARY #{noCarWayBill.taxplayerCode}
|
|
|
|
- </if>
|
|
|
|
- <if test="noCarWayBill.billwayStatus != null and noCarWayBill.billwayStatus != ''">
|
|
|
|
- and billwayStatus = #{noCarWayBill.billwayStatus}
|
|
|
|
|
|
+ and taxplayerCode = BINARY #{noCarWayBill.taxplayerCode}
|
|
</if>
|
|
</if>
|
|
-
|
|
|
|
- <if test="noCarWayBill.billwayStatus != null and noCarWayBill.billwayStatus == 0 ">
|
|
|
|
|
|
+ <if test="noCarWayBill.billwayStatus != null and noCarWayBill.billwayStatus != '' or noCarWayBill.billwayStatus == 0 ">
|
|
and billwayStatus = #{noCarWayBill.billwayStatus}
|
|
and billwayStatus = #{noCarWayBill.billwayStatus}
|
|
</if>
|
|
</if>
|
|
-
|
|
|
|
<if test="noCarWayBill.startBegin != null and noCarWayBill.startBegin != ''">
|
|
<if test="noCarWayBill.startBegin != null and noCarWayBill.startBegin != ''">
|
|
and intfaceStartTime BETWEEN #{noCarWayBill.startBegin} and #{noCarWayBill.startEnd}
|
|
and intfaceStartTime BETWEEN #{noCarWayBill.startBegin} and #{noCarWayBill.startEnd}
|
|
</if>
|
|
</if>
|
|
@@ -93,7 +87,7 @@
|
|
</if>
|
|
</if>
|
|
|
|
|
|
<if test="noCarWayBill.plateNum != null and noCarWayBill.plateNum != ''">
|
|
<if test="noCarWayBill.plateNum != null and noCarWayBill.plateNum != ''">
|
|
- and plateNum = BINARY #{noCarWayBill.plateNum}
|
|
|
|
|
|
+ and plateNum = BINARY #{noCarWayBill.plateNum}
|
|
</if>
|
|
</if>
|
|
|
|
|
|
<if test="noCarWayBill.success == 1">
|
|
<if test="noCarWayBill.success == 1">
|
|
@@ -133,22 +127,16 @@
|
|
</if>
|
|
</if>
|
|
<if test="noCarWayBill.billNums != null">
|
|
<if test="noCarWayBill.billNums != null">
|
|
and billNum in
|
|
and billNum in
|
|
- <foreach collection="noCarWayBill.billNums" item="billNum" index="index" separator="," open="("
|
|
|
|
- close=")">
|
|
|
|
|
|
+ <foreach collection="noCarWayBill.billNums" item="billNum" index="index" separator="," open="(" close=")">
|
|
#{billNum}
|
|
#{billNum}
|
|
</foreach>
|
|
</foreach>
|
|
</if>
|
|
</if>
|
|
<if test="noCarWayBill.taxplayerCode != null and noCarWayBill.taxplayerCode != ''">
|
|
<if test="noCarWayBill.taxplayerCode != null and noCarWayBill.taxplayerCode != ''">
|
|
- and taxplayerCode = BINARY #{noCarWayBill.taxplayerCode}
|
|
|
|
- </if>
|
|
|
|
- <if test="noCarWayBill.billwayStatus != null and noCarWayBill.billwayStatus != ''">
|
|
|
|
- and billwayStatus = #{noCarWayBill.billwayStatus}
|
|
|
|
|
|
+ and taxplayerCode = BINARY #{noCarWayBill.taxplayerCode}
|
|
</if>
|
|
</if>
|
|
-
|
|
|
|
- <if test="noCarWayBill.billwayStatus != null and noCarWayBill.billwayStatus == 0 ">
|
|
|
|
|
|
+ <if test="noCarWayBill.billwayStatus != null and noCarWayBill.billwayStatus != '' or noCarWayBill.billwayStatus == 0 ">
|
|
and billwayStatus = #{noCarWayBill.billwayStatus}
|
|
and billwayStatus = #{noCarWayBill.billwayStatus}
|
|
</if>
|
|
</if>
|
|
-
|
|
|
|
<if test="noCarWayBill.startBegin != null and noCarWayBill.startBegin != ''">
|
|
<if test="noCarWayBill.startBegin != null and noCarWayBill.startBegin != ''">
|
|
and intfaceStartTime BETWEEN #{noCarWayBill.startBegin} and #{noCarWayBill.startEnd}
|
|
and intfaceStartTime BETWEEN #{noCarWayBill.startBegin} and #{noCarWayBill.startEnd}
|
|
</if>
|
|
</if>
|
|
@@ -157,7 +145,7 @@
|
|
</if>
|
|
</if>
|
|
|
|
|
|
<if test="noCarWayBill.plateNum != null and noCarWayBill.plateNum != ''">
|
|
<if test="noCarWayBill.plateNum != null and noCarWayBill.plateNum != ''">
|
|
- and plateNum = BINARY #{noCarWayBill.plateNum}
|
|
|
|
|
|
+ and plateNum = BINARY #{noCarWayBill.plateNum}
|
|
</if>
|
|
</if>
|
|
|
|
|
|
<if test="noCarWayBill.success == 1">
|
|
<if test="noCarWayBill.success == 1">
|