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

mybatis 逻辑删除调整

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

+ 1 - 0
yudao-module-iscs/src/main/resources/mapper/MachineryMapper.xml

@@ -20,6 +20,7 @@
         LEFT JOIN isc_workstation w ON w.id = t.workstation_id
         LEFT JOIN isc_loto_station l ON l.id = t.loto_id
         <where>
+            t.deleted = 0
             <if test="pageReqVO.id != null">
                 and t.id = #{pageReqVO.id}
             </if>