We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DTO
@Getter @Setter public class DeviceRuleNotifyDto { //规则表 DeviceRulePo deviceRulePo; //通知表 List<NotifyTemplatePo> notifyTemplatePos; }
service
MPJLambdaWrapper<DeviceRuleNotifyDto> baseJoin = new MPJLambdaWrapper<DeviceRuleNotifyDto>() .selectAssociation("t", DeviceRulePo.class, DeviceRuleNotifyDto::getDeviceRulePo) .selectCollection(NotifyTemplatePo.class, DeviceRuleNotifyDto::getNotifyTemplatePos) .leftJoin(DeviceRuleNotifyPo.class, DeviceRuleNotifyPo::getRuleId, DeviceRulePo::getId) .leftJoin(NotifyTemplatePo.class, NotifyTemplatePo::getId, DeviceRuleNotifyPo::getNotifyTemplateId); MPJLambdaWrapper wrapper = wrapper(baseJoin, queryParam); return getBaseMapper().selectJoinOne(DeviceRuleNotifyDto.class,wrapper);
你好 大佬 能查询到数据,但dto无法接数据,请问这个要如何解决呢
The text was updated successfully, but these errors were encountered:
最后你是如何解决的?
Sorry, something went wrong.
@Umenezumi 手动解决
No branches or pull requests
DTO
service
你好 大佬 能查询到数据,但dto无法接数据,请问这个要如何解决呢
The text was updated successfully, but these errors were encountered: