public interface BusinessPositionSubmittedMapper {
/**
* 查询投递的简历
* @param positionId 职位ID
* @param query 查询条件
* @return 简历列表
*/
@SelectProvider(PositionSubmittedSqlProvider.class)
List<ResumeSubmittedRowVo> selectByQuery(@Param("positionId") final Long positionId,
@Param("query") final ResumeSubmittedQuery query);
}
public class PositionSubmittedSqlProvider implements ProviderMethodResolver {
public static String selectByQuery(final Long positionId, final ResumeSubmittedQuery query) {
return new SQL() {
{
SELECT(</