admin
2019-04-26 8e30aa7c1f0384f09278699318b4902b815b42a7
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/money/UserMoneyDebtMapper.java
@@ -4,6 +4,7 @@
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.money.UserMoneyDebt;
import com.yeshi.fanli.entity.money.UserMoneyDebt.UserMoneyDebtTypeEnum;
public interface UserMoneyDebtMapper extends BaseMapper<UserMoneyDebt> {
@@ -14,6 +15,10 @@
    * @param sourceId
    * @return
    */
   UserMoneyDebt selectByUidAndSourceId(@Param("uid")Long uid,@Param("sourceId") Long sourceId);
   UserMoneyDebt selectByUidAndTypeAndSourceId(@Param("uid") Long uid, @Param("type") UserMoneyDebtTypeEnum type,
         @Param("sourceId") Long sourceId);
   UserMoneyDebt   selectByTypeAndSourceId(@Param("type") UserMoneyDebtTypeEnum type,
         @Param("sourceId") Long sourceId);
}