| | |
| | | import com.yeshi.fanli.entity.bus.msg.MsgOrderDetail;
|
| | | import com.yeshi.fanli.exception.msg.MsgOrderDetailException;
|
| | | import com.yeshi.fanli.service.inter.msg.MsgOrderDetailService;
|
| | | import com.yeshi.fanli.util.Constant;
|
| | |
|
| | | @Service
|
| | | public class MsgOrderDetailServiceImpl implements MsgOrderDetailService {
|
| | |
| | |
|
| | | @Override
|
| | | public List<MsgOrderDetail> listMsgOrderDetail(Long uid, int page) {
|
| | | return null;
|
| | | return msgOrderDetailMapper.listByUid(uid, (page - 1) * Constant.PAGE_SIZE, Constant.PAGE_SIZE);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long countMsgOrderDetail(Long uid) {
|
| | | return 0;
|
| | | return msgOrderDetailMapper.countByUid(uid);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void readMsgByUid(Long uid) {
|
| | | msgOrderDetailMapper.setMsgReadByUid(uid);
|
| | | }
|
| | |
|
| | | }
|