|
@@ -862,9 +862,9 @@
|
|
|
|
|
|
<select id="selectDealingCount" resultType="java.lang.Integer">
|
|
|
select count(0) from (
|
|
|
- select * from lift_case where charger_id=#{userId} and data_table = 1 and FIND_IN_SET(statuz,'1,2,3,4,5,7,8')
|
|
|
+ select * from lift_case where charger_id=#{userId} and data_table = 1 and FIND_IN_SET(statuz,'2,3,4')
|
|
|
union
|
|
|
- select * from lift_case where charger_id=#{userId} and data_table = 2 and FIND_IN_SET(statuz,'0,1,2,3,4,5,7,8')
|
|
|
+ select * from lift_case where charger_id=#{userId} and data_table = 2 and FIND_IN_SET(statuz,'1,3')
|
|
|
)temp
|
|
|
</select>
|
|
|
</mapper>
|