Browse Source

修改扣费问题

hgw 3 years ago
parent
commit
0abeb875ef

+ 4 - 6
mec-biz/src/main/java/com/ym/mec/biz/dal/dao/TenantAssetsInfoDao.java

@@ -2,7 +2,6 @@ package com.ym.mec.biz.dal.dao;
 
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.ym.mec.biz.dal.entity.TenantAssetsInfo;
-import io.swagger.models.auth.In;
 import org.apache.ibatis.annotations.Param;
 
 import java.math.BigDecimal;
@@ -18,10 +17,9 @@ public interface TenantAssetsInfoDao extends BaseMapper<TenantAssetsInfo> {
 
     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);
+}