Commit ec7d95dbbe3acfa91082c74e7bc38ca131a4611d
1 parent
a16c9a9a
update
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/mapper/ShyActivityMapper.java
| 1 | 1 | package com.cnlive.shenhe.mapper; |
| 2 | 2 | |
| 3 | 3 | import com.cnlive.shenhe.entity.ShyActivity; |
| 4 | +import org.apache.ibatis.annotations.Param; | |
| 4 | 5 | import tk.mybatis.mapper.common.Mapper; |
| 5 | 6 | |
| 6 | 7 | import java.util.List; |
| ... | ... | @@ -8,5 +9,5 @@ import java.util.List; |
| 8 | 9 | public interface ShyActivityMapper extends Mapper<ShyActivity> { |
| 9 | 10 | |
| 10 | 11 | |
| 11 | - List<Integer> selectAllByExempt_from_trial(Integer exempt_from_trial); | |
| 12 | + List<Integer> selectAllByExempt_from_trial(@Param("exempt_from_trial") Integer exempt_from_trial); | |
| 12 | 13 | } |
| 13 | 14 | \ No newline at end of file | ... | ... |