jk-GitHub-coder hace 4 años
padre
commit
dabc266595

+ 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>