admin
2021-06-26 6b2670dfa68af9ce2e36a5f9580125f4fc6da570
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.ks.goldcorn.mapper;
 
import com.ks.goldcorn.pojo.DO.GoldCornGetSource;
import com.ks.goldcorn.query.SourceQuery;
import com.ks.lib.common.dao.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
@Repository
public interface GoldCornGetSourceMapper  extends BaseMapper<GoldCornGetSource> {
    /**
     * @param query
     * @return
     */
    public List<GoldCornGetSource> list(@Param("query") SourceQuery query);
 
    public long count(@Param("query") SourceQuery query);
 
    public GoldCornGetSource selectByAppIdAndSourceCode(@Param("appId") Long appId, @Param("sourceCode") String sourceCode);
 
}