修改库存
This commit is contained in:
@@ -2,10 +2,13 @@ package com.chaozhanggui.system.cashierservice.dao;
|
||||
|
||||
import com.chaozhanggui.system.cashierservice.entity.TbProductSku;
|
||||
import com.chaozhanggui.system.cashierservice.entity.TbProductSkuWithBLOBs;
|
||||
import com.chaozhanggui.system.cashierservice.entity.po.ProductSkuPo;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Component
|
||||
@Mapper
|
||||
public interface TbProductSkuMapper {
|
||||
@@ -33,4 +36,7 @@ public interface TbProductSkuMapper {
|
||||
void updateByskuIdSub(@Param("skuId")Integer skuId, @Param("num")Integer num);
|
||||
|
||||
void updateStockNum(@Param("skuId") Integer skuId, @Param("num") Integer num);
|
||||
|
||||
|
||||
void batchStockNum(@Param("list")List<ProductSkuPo> list);
|
||||
}
|
||||
Reference in New Issue
Block a user