admin
2021-05-06 42f05d2b835ed1ee41ca32cf76fe11849a890cb4
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);
 
}