src/main/resources/mapper/BOMFeedbakMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/resources/mapper/BOMFeedbakMapper.xml
@@ -67,9 +67,18 @@ <if test="senderId !=-1"> and sender_id = #{senderId} </if> <if test="confirmStatus !=-1"> and confirm_status = #{confirmStatus} </if> <choose> <when test="confirmStatus == 0"> and confirm_status = 0 </when> <when test="confirmStatus == 3"> and confirm_status = 3 </when> <when test="confirmStatus == 124"> and confirm_status in (1,2,4) </when> <otherwise /> </choose> </select> </mapper>