| | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.xcong.excoin.modules.member.entity.MemberEntity; |
| | | import com.xcong.excoin.modules.yunding.dto.YdOrderListDto; |
| | | import com.xcong.excoin.modules.yunding.entity.YdBasicLevelSettingEntity; |
| | | import com.xcong.excoin.modules.yunding.entity.YdOrderEntity; |
| | | import com.xcong.excoin.modules.yunding.vo.AgentVo; |
| | | import com.xcong.excoin.modules.yunding.vo.TeamInfoVo; |
| | | import com.xcong.excoin.modules.yunding.vo.YdOrderVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | public interface YdOrderDao extends BaseMapper<YdOrderEntity> { |
| | |
| | | IPage<YdOrderVo> getOrderList(Page<YdOrderVo> page, @Param("record") YdOrderEntity ydOrderEntity); |
| | | |
| | | List<YdOrderEntity> selectNeedReturnOrders(); |
| | | |
| | | List<YdOrderEntity> selectAllValidOrders(); |
| | | |
| | | void UpdateByIdAndState(@Param("id")Long id, @Param("state")int state); |
| | | |
| | | void updateAgentLevel(@Param("id")Long id, @Param("levelId")int ilevelIdd); |
| | | |
| | | YdOrderVo selectOrderByMemberIdAndId(@Param("memberId")Long memberId, @Param("id")Long id); |
| | | |
| | | IPage<AgentVo> getAgentList(Page<AgentVo> page, @Param("record") YdBasicLevelSettingEntity ydBasicLevelSettingEntity); |
| | | |
| | | List<YdOrderEntity> selectTeamAllPower(@Param("inviteId") String inviteId); |
| | | |
| | | int updateOrderProfit(@Param("profit") BigDecimal profit, @Param("id") Long id); |
| | | |
| | | int selectAllPowerByMemberIdAndElse(@Param("inviteId")String inviteId); |
| | | |
| | | IPage<TeamInfoVo> getTeamInfoList(Page<TeamInfoVo> page, @Param("record")MemberEntity memberEntity); |
| | | |
| | | List<MemberEntity> selectMemberByInviteId(@Param("inviteId")String inviteId); |
| | | |
| | | List<YdOrderEntity> selectListByMemberIdAndElse(@Param("inviteId")String inviteId); |
| | | } |