Преглед изворни кода

作业新增sopid查询条件

车车 пре 3 месеци
родитељ
комит
deb6fc2a88
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      yudao-module-iscs/src/main/resources/mapper/JobTicketMapper.xml

+ 3 - 0
yudao-module-iscs/src/main/resources/mapper/JobTicketMapper.xml

@@ -52,6 +52,9 @@
             <if test="vo.userId != null and vo.userId.trim != ''">
                 and u.user_id = #{vo.userId}
             </if>
+            <if test="vo.sopId != null">
+                and j.sop_id = #{vo.sopId}
+            </if>
         </where>
         GROUP BY j.id
         ORDER BY j.id DESC