1.库存预警提示语修改
2.库存预警30分钟内只推送一次 3.点歌支付成功同步保存平台订单号
This commit is contained in:
@@ -11,7 +11,7 @@ import java.util.Map;
|
||||
/**
|
||||
* @author Administrator
|
||||
* @description 针对表【tb_shop_song_order】的数据库操作Mapper
|
||||
* @createDate 2024-07-09 15:23:30
|
||||
* @createDate 2024-07-11 09:24:20
|
||||
* @Entity com.chaozhanggui.system.cashierservice.entity.TbShopSongOrder
|
||||
*/
|
||||
public interface TbShopSongOrderMapper {
|
||||
@@ -38,6 +38,14 @@ public interface TbShopSongOrderMapper {
|
||||
" <if test=\"state!=null\">AND a.state = #{state}</if></script>")
|
||||
List<Map<String, Object>> selectByUserId(@Param("openId") String openId, @Param("state") Integer state);
|
||||
|
||||
@Select(" SELECT\n" +
|
||||
" *\n" +
|
||||
" FROM\n" +
|
||||
" tb_shop_song_order AS a\n" +
|
||||
" LEFT JOIN tb_shop_song AS b ON a.song_id = b.id\n" +
|
||||
" WHERE\n" +
|
||||
" a.open_id = #{openId}\n" +
|
||||
" AND a.id=#{id}")
|
||||
Map<String, Object> selectByUserIdAndId(@Param("openId") String openId, @Param("id") Integer id);
|
||||
|
||||
@Select("select * from fycashier.tb_shop_song_order where order_no=#{orderNo};")
|
||||
|
||||
Reference in New Issue
Block a user