Authored by mali

删除不必要的代码

... ... @@ -15,8 +15,6 @@ public interface StorageMapper {
Storage selectByPrimaryKey(Integer id);
List<Storage> selectAll();
int updateByPrimaryKey(Storage record);
StorageGoodProductSize selectStroageProductInfo(Integer id);
... ...
... ... @@ -48,10 +48,7 @@
from storage
where id = #{id,jdbcType=INTEGER}
</select>
<select id="selectAll" resultMap="BaseResultMap">
select id, product_id, goods_id, size_id, storage_num, update_time, create_time
from storage
</select>
<select id="selectByGoodsId" resultMap="BaseResultMap">
select id, product_id, goods_id, size_id, storage_num, suggest_low_price, suggest_high_price
from storage where goods_id=#{goodsId,jdbcType=INTEGER}
... ...