ソースを参照

配分事项表

chenshudong 1 週間 前
コミット
b4c095e492
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      airport-ledger/src/main/resources/mapper/ledger/ScoreEventMapper.xml

+ 1 - 1
airport-ledger/src/main/resources/mapper/ledger/ScoreEventMapper.xml

@@ -81,7 +81,7 @@
81
         <if test="channelName != null and channelName != ''">AND channel_name LIKE CONCAT('%', #{channelName}, '%')</if>
81
         <if test="channelName != null and channelName != ''">AND channel_name LIKE CONCAT('%', #{channelName}, '%')</if>
82
         <if test="postId != null">AND post_id = #{postId}</if>
82
         <if test="postId != null">AND post_id = #{postId}</if>
83
         <if test="postName != null and postName != ''">AND post_name LIKE CONCAT('%', #{postName}, '%')</if>
83
         <if test="postName != null and postName != ''">AND post_name LIKE CONCAT('%', #{postName}, '%')</if>
84
-        <if test="scoreType != null and scoreType != '' and scoreType != '0'">AND score_type = #{scoreType}</if>
84
+        <if test="scoreType != null and scoreType != '' and scoreType != 0">AND score_type = #{scoreType}</if>
85
         <if test="personName != null and personName != ''">AND person_name LIKE CONCAT('%', #{personName}, '%')</if>
85
         <if test="personName != null and personName != ''">AND person_name LIKE CONCAT('%', #{personName}, '%')</if>
86
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
86
         <if test="deptName != null and deptName != ''">AND dept_name LIKE CONCAT('%', #{deptName}, '%')</if>
87
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>
87
         <if test="teamName != null and teamName != ''">AND team_name LIKE CONCAT('%', #{teamName}, '%')</if>