jk-GitHub-coder 4 년 전
부모
커밋
dabc266595
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  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>