MallBizOrderDao.java
1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.diligrp.cashier.mall.dao;
import com.diligrp.cashier.mall.model.MallBizOrder;
import com.diligrp.cashier.shared.mybatis.MybatisMapperSupport;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* MallBizOrderDao
*
* @author dengwei
*/
public interface MallBizOrderDao extends MybatisMapperSupport {
int deleteByPrimaryKey(Long id);
int insert(MallBizOrder record);
int insertSelective(MallBizOrder record);
MallBizOrder selectByPrimaryKey(Long id);
int updateByPrimaryKeySelective(MallBizOrder record);
int updateByPrimaryKey(MallBizOrder record);
int update(MallBizOrder mallBizOrder);
MallBizOrder getByOrderId(@Param("orderId") String orderId);
void batchInsert(@Param("list") List<MallBizOrder> mallBizOrders);
MallBizOrder findByOrderIdAndTradeId(String orderId, String tradeId);
List<MallBizOrder> listByOrderIds(@Param("list") List<String> list, @Param("source") Integer source);
void batchUpdate(@Param("list") List<MallBizOrder> updateOrders, @Param("source") Integer source);
void updateByIds(@Param("ids") List<Long> bizOrderIds, @Param("state") Integer state);
}