类org.apache.ibatis.annotations.SelectProvider源码实例Demo

下面列出了怎么用org.apache.ibatis.annotations.SelectProvider的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: maintain   文件: LgsHeadMapper.java
@Results(id = "lgsHeadResult", value = {
	@Result(property = "guid", column = "guid"),
	@Result(property = "appType", column = "app_type"),
	@Result(property = "appTime", column = "app_time"),
	@Result(property = "appStatus", column = "app_status"),
	@Result(property = "appUid", column = "app_uid"),
	@Result(property = "appUname", column = "app_uname"),
	@Result(property = "appSenderId", column = "app_sender_id"),
	@Result(property = "declTime", column = "decl_time"),
	@Result(property = "logisticsCode", column = "logistics_code"),
	@Result(property = "logisticsName", column = "logistics_name"),
	@Result(property = "logisticsNo", column = "logistics_no"),
	@Result(property = "billNo", column = "bill_no"),
	@Result(property = "freight", column = "freight"),
	@Result(property = "insuredFee", column = "insured_fee"),
	@Result(property = "currency", column = "currency"),
	@Result(property = "weight", column = "weight"),
	@Result(property = "packNo", column = "pack_no"),
	@Result(property = "goodsInfo", column = "goods_info"),
	@Result(property = "consignee", column = "consignee"),
	@Result(property = "consigneeAddress", column = "consignee_address"),
	@Result(property = "consigneeTelephone", column = "consignee_telephone"),
	@Result(property = "note", column = "note"),
	@Result(property = "msgGuid", column = "msg_guid"),
	@Result(property = "delFlag", column = "del_flag"),
	@Result(property = "sysDays", column = "sys_days"),
	@Result(property = "sysDate", column = "sys_date"),
})
@SelectProvider(type = LgsHeadSqlProvide.class, method = "getLgsHeadListSql")
List<LgsHead> getLgsHeadList(LgsHead lgsHead);
 
源代码2 项目: maintain   文件: InvtHeadStatisticsMapper.java
@Results({
	@Result(property = "name", column = "name"),
	@Result(property = "quantity", column = "quantity"),
	@Result(property = "goodsValue", column = "goods_value")
})
@SelectProvider(type = InvtHeadStatisticsSqlProvide.class, method = "statisticsInvtHeadQuantitySql")
List<InvtHeadStatistics> statisticsInvtHeadQuantity(InvtHeadStatistics invtHeadStatistics);
 
源代码3 项目: maintain   文件: InvtCancelMapper.java
@Results(id = "invtCancelResult", value = {
	@Result(property = "headGuid", column = "head_guid", id = true),
	@Result(property = "appType", column = "app_type"),
	@Result(property = "appTime", column = "app_time", jdbcType = JdbcType.TIMESTAMP),
	@Result(property = "appStatus", column = "app_status"),
	@Result(property = "appUid", column = "app_uid"),
	@Result(property = "appUname", column = "app_uname"),
	@Result(property = "appSenderId", column = "app_sender_id"),
	@Result(property = "declTime", column = "decl_time"),
	@Result(property = "customsCode", column = "customs_code"),
	@Result(property = "orderNo", column = "order_no"),
	@Result(property = "ebpCode", column = "ebp_code"),
	@Result(property = "ebpName", column = "ebp_name"),
	@Result(property = "ebcCode", column = "ebc_code"),
	@Result(property = "ebcName", column = "ebc_name"),
	@Result(property = "logisticsNo", column = "logistics_no"),
	@Result(property = "logisticsCode", column = "logistics_code"),
	@Result(property = "logisticsName", column = "logistics_name"),
	@Result(property = "copNo", column = "cop_no"),
	@Result(property = "preNo", column = "pre_no"),
	@Result(property = "invtNo", column = "invt_no"),
	@Result(property = "buyerIdType", column = "buyer_id_type"),
	@Result(property = "buyerIdNumber", column = "buyer_id_number"),
	@Result(property = "buyerName", column = "buyer_name"),
	@Result(property = "buyerTelephone", column = "buyer_telephone"),
	@Result(property = "agentCode", column = "agent_code"),
	@Result(property = "agentCode", column = "agent_name"),
	@Result(property = "reason", column = "reason"),
	@Result(property = "note", column = "note"),
	@Result(property = "delFlag", column = "del_flag"),
	@Result(property = "msgGuid", column = "msg_guid"),
	@Result(property = "sysDays", column = "sys_days"),
	@Result(property = "sysDate", column = "sys_date"),
})
@SelectProvider(type = InvtCancelSqlProvide.class, method = "getInvtCancelListSql")
List<InvtCancel> getInvtCancelList(InvtCancel invtCancel);
 
源代码4 项目: maintain   文件: PaymentMessageMapper.java
@Results(id = "paymentMessageResult", value = {
	@Result(property = "id", column = "id", id = true),
	@Result(property = "xmlContent", column = "xml_content"),
	@Result(property = "createdDate", column = "created_date"),
	@Result(property = "dateNum", column = "date_num"),
})
@SelectProvider(type = PaymentMessageSqlProvide.class, method = "getPaymentMessageListSql")
List<PaymentMessage> getPaymentMessageList(PaymentMessage paymentMessage);
 
源代码5 项目: maintain   文件: ImpInvtHeadMapper.java
@Results(id = "impInvtHeadResult", value = {
	@Result(property = "guid", column = "guid", id = true),
	@Result(property = "preNo", column = "pre_no"),
	@Result(property = "invtNo", column = "invt_no"),
	@Result(property = "detailsCode", column = "detailscode"),
	@Result(property = "applyCode", column = "applycode"),
	@Result(property = "auditState", column = "audit_state"),
	@Result(property = "bwName", column = "bw_name"),
	@Result(property = "applyDate", column = "apply_date", jdbcType = JdbcType.TIMESTAMP),
	@Result(property = "payCode", column = "payecode"),
	@Result(property = "payName", column = "payename")
})
@SelectProvider(type = ImpInvtHeadSqlProvide.class, method = "getInvtHeadListByInvtNoSql")
List<ImpInvtHead> getInvtHeadListByInvtNo(String invtNo);
 
源代码6 项目: maintain   文件: VersionMapper.java
@Results(id = "versionResult", value = {
	@Result(property = "versionNo", column = "version_no"),
	@Result(property = "baseSystem", column = "base_system"),
	@Result(property = "sendTime", column = "send_time"),
	@Result(property = "isUpdateTest", column = "is_update_test"),
	@Result(property = "updateTestTime", column = "update_test_time"),
	@Result(property = "isUpdateFormal", column = "is_update_formal"),
	@Result(property = "updateFormalTime", column = "update_formal_time"),
	@Result(property = "testResult", column = "test_result"),
	@Result(property = "testTime", column = "test_time"),
	@Result(property = "testResultDescription", column = "test_result_description"),
	@Result(property = "isPatch", column = "is_patch"),
})
@SelectProvider(type = VersionSqlProvide.class, method = "getVersionListSql")
List<Version> getVersionList(Version version);
 
源代码7 项目: maintain   文件: PayHeadMapper.java
@Results(id = "payHeadResult", value = {
	@Result(property = "guid", column = "guid"),
	@Result(property = "appType", column = "app_type"),
	@Result(property = "appTime", column = "app_time"),
	@Result(property = "appStatus", column = "app_status"),
	@Result(property = "appUid", column = "app_uid"),
	@Result(property = "appUname", column = "app_uname"),
	@Result(property = "appSenderId", column = "app_sender_id"),
	@Result(property = "declTime", column = "decl_time"),
	@Result(property = "payCode", column = "pay_code"),
	@Result(property = "payName", column = "pay_name"),
	@Result(property = "payTransactionId", column = "pay_transaction_id"),
	@Result(property = "ordNo", column = "ord_no"),
	@Result(property = "ebpCode", column = "ebp_code"),
	@Result(property = "ebpName", column = "ebp_name"),
	@Result(property = "payerIdType", column = "payer_id_type"),
	@Result(property = "payerIdNumber", column = "payer_id_number"),
	@Result(property = "payerName", column = "payer_name"),
	@Result(property = "telephone", column = "telephone"),
	@Result(property = "amountPaid", column = "amount_paid"),
	@Result(property = "currency", column = "currency"),
	@Result(property = "payTime", column = "pay_time"),
	@Result(property = "note", column = "note"),
	@Result(property = "msg_guid", column = "msg_guid"),
	@Result(property = "delFlag", column = "del_flag"),
	@Result(property = "sysDays", column = "sys_days"),
	@Result(property = "sysDate", column = "sys_date"),
})
@SelectProvider(type = PayHeadSqlProvide.class, method = "getPayHeadListSql")
List<PayHead> getPayHeadList(PayHead payHead);
 
源代码8 项目: mybatis-action   文件: SysPrivilegeMapper.java
@SelectProvider(type = SysPrivilegeProvider.class, method = "selectById")
SysPrivilege selectById(Long id);
 
源代码9 项目: maintain   文件: PermissionMapper.java
@SelectProvider(type = PermissionSqlProvide.class, method = "getPermissionListAllSql")
List<Permission> getPermissionListAll();
 
源代码10 项目: maintain   文件: VeHeadMapper.java
@Results(id = "veHeadResult", value = {
	@Result(property = "veId", column = "ve_id"),
	@Result(property = "veNo", column = "ve_no"),
	@Result(property = "customsCode", column = "customs_code"),
	@Result(property = "veIdAd", column = "ve_id_ad"),
	@Result(property = "veType", column = "ve_type"),
	@Result(property = "bizType", column = "biz_type"),
	@Result(property = "surveilType", column = "surveil_type"),
	@Result(property = "veWt", column = "ve_wt"),
	@Result(property = "veLoadWt", column = "ve_load_wt"),
	@Result(property = "veOwner", column = "ve_owner"),
	@Result(property = "veRunNum", column = "ve_run_num"),
	@Result(property = "linkTel", column = "link_tel"),
	@Result(property = "veCopId", column = "ve_cop_id"),
	@Result(property = "veCopName", column = "ve_cop_name"),
	@Result(property = "icCardId", column = "ic_card_id"),
	@Result(property = "veName", column = "ve_name"),
	@Result(property = "veCode", column = "ve_code"),
	@Result(property = "veEno", column = "ve_e_no"),
	@Result(property = "markExtend1", column = "mark_extend1"),
	@Result(property = "markExtend1", column = "mark_extend2"),
	@Result(property = "markExtend1", column = "mark_extend3"),
	@Result(property = "distNo", column = "dist_no"),
	@Result(property = "declCode", column = "decl_code"),
	@Result(property = "declName", column = "decl_name"),
	@Result(property = "inputPerson", column = "input_person"),
	@Result(property = "inputDate", column = "input_date"),
	@Result(property = "declDate", column = "decl_date"),
	@Result(property = "apprDate", column = "appr_date"),
	@Result(property = "apprPerson", column = "appr_person"),
	@Result(property = "apprStat", column = "appr_stat"),
	@Result(property = "veStat", column = "ve_stat"),
	@Result(property = "apprNote", column = "appr_note"),
	@Result(property = "freeFlag", column = "free_flag"),
	@Result(property = "regMode", column = "reg_mode"),
	@Result(property = "operFlag", column = "oper_flag"),
	@Result(property = "hostId", column = "host_id"),
	@Result(property = "modifyMark", column = "modify_mark"),
	@Result(property = "appr2Note", column = "appr2_note"),
	@Result(property = "note", column = "note"),
	@Result(property = "appr2Person", column = "appr2_person"),
})
@SelectProvider(type = VeHeadSqlProvide.class, method = "getVeHeadListSql")
List<VeHead> getVeHeadList(VeHead veHead);
 
源代码11 项目: cola-cloud   文件: SysTenantMapper.java
@SelectProvider(type = SysTenantSqlBuilder.class, method = "buildTenantListSql")
List<SysTenantVO> findTenantList(Page page, @Param("code") String code, @Param("name") String name);
 
源代码12 项目: maintain   文件: VersionMapper.java
@ResultMap("versionResult")
@SelectProvider(type = VersionSqlProvide.class, method = "getVersionByCodeSql")
Version getVersionByCode(String code);
 
源代码13 项目: maintain   文件: OrderListMapper.java
@ResultType(Long.class)
@SelectProvider(type = OrderListSqlProvide.class, method = "countOrderListSql")
Long countOrderList(String headGuid);
 
源代码14 项目: maintain   文件: TransfMapper.java
@Results(id = "trafResult", value = {
	@Result(property = "code", column = "traf_code", id = true),
	@Result(property = "name", column = "traf_spec")
})
@SelectProvider(type = TransfSqlProvide.class, method = "getTransfByCodeSql")
Para getTransfByCode(String transfCode);
 
源代码15 项目: maintain   文件: PubRtnMapper.java
@ResultType(Long.class)
@SelectProvider(type = PubRtnSqlProvide.class, method = "countPubRtnByBizGuidSql")
Long countPubRtnByBizGuid(String bizGuid);
 
源代码16 项目: maintain   文件: InvtHeadMapper.java
@ResultMap("invtHeadResult")
@SelectProvider(type = InvtHeadSqlProvide.class, method = "getNonSyncInvtListSql")
List<InvtHead> getNonSyncInvtList(String startDate, String endDate);
 
源代码17 项目: albert   文件: MessageMapper.java
@SelectProvider(type = MessageSqlProvider.class, method = "getThemeList")
public List<ThemeDTO> getThemeList();
 
源代码18 项目: albert   文件: AirticleMapper.java
@SelectProvider(type = AirticleSqlProvider.class, method = "getAirticleList")
public List<Airticle> getAirticleList();
 
源代码19 项目: maintain   文件: DistBillListMapper.java
@ResultMap("distBillListResult")
@SelectProvider(type = DistBillListSqlProvide.class, method = "getDistBillListListBySearchTextSql")
List<DistBillList> getDistBillListListBySearchText(String seqNo, String searchText);
 
源代码20 项目: maintain   文件: UnitMapper.java
@SelectProvider(type = UnitSqlProvide.class, method = "countUnitsSql")
long countUnits();
 
源代码21 项目: maintain   文件: MemberMapper.java
@SelectProvider(type = MemberSqlProvide.class, method = "countMemberSql")
long countMember(Member member);
 
源代码22 项目: maintain   文件: TradeMapper.java
@Results(id = "tradeResult", value = {
	@Result(property = "code", column = "trade_mode", id = true),
	@Result(property = "name", column = "abbr_trade")
})
@SelectProvider(type = TradeSqlProvide.class, method = "getTradeByCodeSql")
Para getTradeByCode(String code);
 
源代码23 项目: maintain   文件: ServerSystemMapper.java
@SelectProvider(type = ServerSystemSqlProvide.class, method = "getServerSystemByIpSql")
ServerSystem getServerSystemByIp(String ip);
 
源代码24 项目: maintain   文件: GoodMapper.java
@Results(id = "goodResult", value = {
	@Result(property = "seqNo", column = "seq_no"),
	@Result(property = "cbeCode", column = "cbe_code"),
	@Result(property = "cbeName", column = "cbe_name"),
	@Result(property = "applyCode", column = "apply_code"),
	@Result(property = "applyName", column = "apply_name"),
	@Result(property = "listNo", column = "list_no"),
	@Result(property = "goodsNo", column = "goods_no"),
	@Result(property = "shelfGoodsName", column = "shelf_goods_name"),
	@Result(property = "describe", column = "describe"),
	@Result(property = "codeTs", column = "code_ts"),
	@Result(property = "goodsName", column = "goods_name"),
	@Result(property = "goodsModel", column = "goods_model"),
	@Result(property = "unit", column = "unit"),
	@Result(property = "currency", column = "currency"),
	@Result(property = "unit1", column = "unit1"),
	@Result(property = "unit2", column = "unit2"),
	@Result(property = "price", column = "price"),
	@Result(property = "priceRmb", column = "price_rmb"),
	@Result(property = "taxCode", column = "tax_code"),
	@Result(property = "ecpCode", column = "ecp_code"),
	@Result(property = "ecpName", column = "ecp_name"),
	@Result(property = "country", column = "country"),
	@Result(property = "image", column = "image"),
	@Result(property = "barCode", column = "bar_code"),
	@Result(property = "limitationGoodsCode", column = "limitation_goods_code"),
	@Result(property = "positionSeq", column = "position_seq"),
	@Result(property = "isTax", column = "is_tax"),
	@Result(property = "isPermit", column = "is_permit"),
	@Result(property = "brands", column = "brands"),
	@Result(property = "superviseId", column = "supervise_id"),
	@Result(property = "itemNo", column = "item_no"),
	@Result(property = "applyUser", column = "apply_user"),
	@Result(property = "status", column = "status"),
	@Result(property = "approveMan", column = "approve_man"),
	@Result(property = "approveTime", column = "approve_time"),
	@Result(property = "approveOpinion", column = "approve_opinion"),
	@Result(property = "decTime", column = "dec_time"),
	@Result(property = "updateTime", column = "update_time"),
	@Result(property = "indbTime", column = "indb_time"),
	@Result(property = "shelfGoodsNameForeign", column = "shelf_goods_name_foreign"),
	@Result(property = "approveType", column = "approve_type"),
	@Result(property = "batchNumbers", column = "batch_numbers"),
	@Result(property = "modifyMark", column = "modify_mark"),
	@Result(property = "isSimple", column = "is_simple"),
})
@SelectProvider(type = GoodSqlProvide.class, method = "getGoodListSql")
List<Good> getGoodList(Good good);
 
源代码25 项目: maintain   文件: CountryMapper.java
@Results(id = "countryResult", value = {
	@Result(property = "code", column = "country_code", id = true),
	@Result(property = "name", column = "coun_c_name")
})
@SelectProvider(type = CountrySqlProvide.class, method = "getCountryByCodeSql")
Para getCountryByCode(String code);
 
源代码26 项目: SpringbootMybatis   文件: UserMapper.java
@SelectProvider(type=UserSqlProvider.class, method="countByExample")
long countByExample(UserCriteria example);
 
源代码27 项目: maintain   文件: ImportBillInMapper.java
@SelectProvider(type = ImportBillSqlProvide.class, method = "statisticsBillSql")
ImportBill statisticsBill(ImportBill importBill);
 
源代码28 项目: jeesuite-libs   文件: BaseMapper.java
@SelectProvider(type = CountByExampleProvider.class, method = "countByExample")
@ResultType(Long.class)
long countByExample(T example);
 
源代码29 项目: maintain   文件: GrantCompanyMapper.java
@Results(id = "resultGrantCompany", value = {
	@Result(property = "authorizationToken", column = "authorization_token", id = true),
	@Result(property = "companyCode", column = "company_code")
})
@SelectProvider(type = GrantCompanySqlProvide.class, method = "getGrantCompanyByAuthTokenSql")
GrantCompany getGrantCompanyByAuthToken(String authorizationToken);
 
源代码30 项目: maintain   文件: PermissionMapper.java
@SelectProvider(type = PermissionSqlProvide.class, method = "getPermissionListByMemberCodeSql")
List<Permission> getPermissionListByMemberCode(String memberCode);