Commit 45af3978 authored by 张庆's avatar 张庆

防止重复提交

parent 2c544f72
......@@ -47,6 +47,7 @@ public class LoanComponentImpl implements LoanComponent {
WindowsLoanExample example = new WindowsLoanExample();
WindowsLoanExample.Criteria criteria = example.createCriteria();
criteria.andOrderNoEqualTo(orderNo);
example.setOrderByClause("id desc");
List<WindowsLoan> windowsLoans = windowsLoanMapper.selectByExample(example);
return windowsLoans.stream().map(m -> BeanUtil.toBean(m, LoanModel.class)).findFirst().orElse(null);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment