@Service public class OrderDetailServiceImpl extends Object implements OrderDetailService
Constructor and Description |
---|
OrderDetailServiceImpl() |
Modifier and Type | Method and Description |
---|---|
Order |
copyOrder(OrderDetail orderDetail) |
String |
createSn() |
int |
deleteBySn(String sn)
删除
|
int |
deleteForever(String sn)
删除
|
String |
formatTime(int time) |
OrderDetail |
getOrderBySn(String sn)
查询
|
protected void |
putThrow(String message) |
int |
save(OrderDetail orderDetail)
增加
|
int |
updateBySn(OrderDetail orderDetail)
更改
|
@Transactional public int save(OrderDetail orderDetail)
save
in interface OrderDetailService
@Transactional public int deleteBySn(String sn)
deleteBySn
in interface OrderDetailService
@Transactional public int deleteForever(String sn)
OrderDetailService
deleteForever
in interface OrderDetailService
@Transactional public int updateBySn(OrderDetail orderDetail)
updateBySn
in interface OrderDetailService
public OrderDetail getOrderBySn(String sn)
getOrderBySn
in interface OrderDetailService
protected void putThrow(String message)
public String createSn()
public String formatTime(int time)
public Order copyOrder(OrderDetail orderDetail)
Copyright © 2023. All rights reserved.