🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
@SqlTranslate(sqlId = "RewardSQL.qryRewardAccountLog") sqlId 为mybatis sql文件里的sqlId,sql中的值从当前实体类中取值 ``` /** * TdMUser扩展 */ @TranslateEnable public class TdMUserExt extends TdMUser { private static final long serialVersionUID = 1L; /** * 佣金账户日志 */ @SqlTranslate(sqlId = "RewardSQL.qryRewardAccountLog") private List<TfBRewardAccountLog> rewardAccountLog; public List<TfBRewardAccountLog> getRewardAccountLog() { return rewardAccountLog; } public void setRewardAccountLog(List<TfBRewardAccountLog> rewardAccountLog) { this.rewardAccountLog = rewardAccountLog; } } ```