ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
@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; } } ```