|
@@ -2,7 +2,6 @@ package com.ym.mec.biz.dal.dao;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.ym.mec.biz.dal.entity.TenantAssetsInfo;
|
|
import com.ym.mec.biz.dal.entity.TenantAssetsInfo;
|
|
-import io.swagger.models.auth.In;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
import java.math.BigDecimal;
|
|
@@ -18,10 +17,9 @@ public interface TenantAssetsInfoDao extends BaseMapper<TenantAssetsInfo> {
|
|
|
|
|
|
int insertBatch(@Param("entities") List<TenantAssetsInfo> entities);
|
|
int insertBatch(@Param("entities") List<TenantAssetsInfo> entities);
|
|
|
|
|
|
- int deductAmount(BigDecimal deductAmount, Integer tenantId);
|
|
|
|
|
|
+ int deductAmount(@Param("deductAmount") BigDecimal deductAmount, @Param("tenantId") Integer tenantId);
|
|
|
|
|
|
- int checkDeductAmount(BigDecimal deductAmount, Integer tenantId);
|
|
|
|
-
|
|
|
|
- Integer queryPeopleNum(Integer courseId);
|
|
|
|
-}
|
|
|
|
|
|
+ int checkDeductAmount(@Param("deductAmount") BigDecimal deductAmount, @Param("tenantId") Integer tenantId);
|
|
|
|
|
|
|
|
+ Integer queryPeopleNum(@Param("courseId") Integer courseId);
|
|
|
|
+}
|