新增下单库存预警消息推送
This commit is contained in:
@@ -2,6 +2,8 @@ package com.chaozhanggui.system.cashierservice.dao;
|
||||
|
||||
import com.chaozhanggui.system.cashierservice.entity.TbUserShopMsg;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@@ -18,4 +20,7 @@ public interface TbUserShopMsgMapper {
|
||||
int updateByPrimaryKeySelective(TbUserShopMsg record);
|
||||
|
||||
int updateByPrimaryKey(TbUserShopMsg record);
|
||||
}
|
||||
|
||||
@Select("select * from tb_user_shop_msg where shop_id=#{shopId}")
|
||||
TbUserShopMsg selectByShopId(@Param("shopId") String shopId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user