package com.hx.phip.service; import com.hx.phiappt.model.UserMoney; import com.hx.mybatisTool.SqlSentence; import java.util.List; import java.util.Map; public interface UserMoneyService { int selectCount(SqlSentence sqlSentence); void insert(UserMoney userMoney); List selectList(SqlSentence sqlSentence); List> selectListMap(SqlSentence sqlSentence); UserMoney selectOne(SqlSentence sqlSentence); Map selectOneMap(SqlSentence sqlSentence); UserMoney selectOneByKey(Object object); UserMoney selectOneByKeyBlob(Object object); void updateAll(UserMoney userMoney); void updateData(String userId,UserMoney oldUserMoney,UserMoney newUserMoney,String operatorId,String operatorName,String note); void updateWhere(SqlSentence sqlSentence); void deleteOne(String delId); /*根据用户id查询用户的资金信息*/ UserMoney selectUserId(String userId); /** * 跟新用户的储值金 * @param userMoney */ void updateStoredValueFund(UserMoney userMoney); /*更新用户的增值金额*/ void updateValueAddedFund(UserMoney userMoney); }