java110-db/src/main/resources/mapper/store/ResourceStoreServiceDaoImplMapper.xml
@@ -119,6 +119,9 @@ <if test="resId !=null and resId != ''"> and t.res_id= #{resId} </if> <if test="resOrderType == '20000'"> and t.stock > 0 </if> <if test="page != -1 and page != null "> limit #{page}, #{row} </if> @@ -192,6 +195,9 @@ <if test="resId !=null and resId != ''"> and t.res_id= #{resId} </if> <if test="resOrderType == '20000'"> and t.stock > 0 </if> </select>