jk-GitHub-coder vor 4 Jahren
Ursprung
Commit
dabc266595
1 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen
  1. 2 4
      YijiaRestful/src/main/resources/mapper/IntegralWaresMapper.xml

+ 2 - 4
YijiaRestful/src/main/resources/mapper/IntegralWaresMapper.xml

@@ -31,11 +31,9 @@
         <include refid="Base_Column_List" />
     FROM integral_wares
     <where>
+         wares_status = "1"
       <if test="stationId !=null and stationId !=''">
-         station_id = #{stationId}
-      </if>
-      <if test="waresStatus !=null and waresStatus !=''">
-        AND wares_status = #{waresStatus}
+        AND station_id = #{stationId}
       </if>
     </where>
   </select>