zhangyang 2 tahun lalu
induk
melakukan
43b33fc4ea

+ 4 - 0
ruoyi-system/src/main/resources/mapper/system/PoTetherMapper.xml

@@ -84,6 +84,7 @@
             <if test="tetherTimeStart != null "> and show_time_start = #{tetherTimeStart}</if>
             <if test="tetherTimeEnd != null">and show_time_end = #{tetherTimeEnd}</if>
         </where>
+        and del_flag = '0'
     </select>
 
 <!--预售-->
@@ -173,6 +174,7 @@
 <!--    查询更新完种类数的套系信息-->
     <select id="selectPoTetherCollectionList" resultType="PoTether" resultMap="PoTetherResult">
         <include refid="selectPoTetherVo"/>
+        <where>
         <if test="tetherName != null  and tetherName != ''"> and tether_name like concat('%', #{tetherName}, '%')</if>
         <if test="showTimeStart != null "> and show_time_start = #{showTimeStart}</if>
         <if test="showTimeEnd != null">and show_time_end = #{showTimeEnd}</if>
@@ -183,6 +185,8 @@
         <if test="grounding != null">and grounding = #{grounding}</if>
         <if test="cochain != null">and cochain = #{cochain}</if>
         <if test="tetherId != null">and tether_id = #{tetherId}</if>
+        and del_flag = '0'
+        </where>
     </select>
 
     <!--新增-->