修改库存

This commit is contained in:
韩鹏辉
2024-06-12 10:03:09 +08:00
parent 7e8a86db6f
commit a1764e77c6
9 changed files with 269 additions and 12 deletions

View File

@@ -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);
}