Commit d683af71 authored by hezhuozhi's avatar hezhuozhi

提交工作台信息

parent 953d49c1
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
and sequence_nbr = #{sequenceNbr} and sequence_nbr = #{sequenceNbr}
</if> </if>
<if test="companyName != null and companyName != ''"> <if test="companyName != null and companyName != ''">
and company_name like #{companyName} and company_name like CONCAT('%',#{companyName},'%' )
</if> </if>
<if test="loanPeriod != null and loanPeriod != ''"> <if test="loanPeriod != null and loanPeriod != ''">
and loan_period like #{loanPeriod} and loan_period like CONCAT('%',#{loanPeriod},'%' )
</if> </if>
<if test="messageState != null and messageState != ''"> <if test="messageState != null and messageState != ''">
and message_state = #{messageState} and message_state = #{messageState}
......
...@@ -64,7 +64,7 @@ public class RepaymentServiceImpl extends BaseService<RepaymentDto, Repayment, R ...@@ -64,7 +64,7 @@ public class RepaymentServiceImpl extends BaseService<RepaymentDto, Repayment, R
public Page<RepaymentDto> queryForRepaymentPage(String sequenceNbr, String companyName, String loanPeriod, public Page<RepaymentDto> queryForRepaymentPage(String sequenceNbr, String companyName, String loanPeriod,
String messageState, String repayState, int current, int size) { String messageState, String repayState, int current, int size) {
PageHelper.startPage(current, size); PageHelper.startPage(current, size);
List<RepaymentDto> list = repaymentMapper.queryPage(sequenceNbr, "%" + companyName + "%", "%" + loanPeriod + "%", messageState, repayState); List<RepaymentDto> list = repaymentMapper.queryPage(sequenceNbr, companyName, loanPeriod , messageState, repayState);
PageInfo<RepaymentDto> pages = new PageInfo(list); PageInfo<RepaymentDto> pages = new PageInfo(list);
List<RepaymentDto> pagesList = pages.getList(); List<RepaymentDto> pagesList = pages.getList();
if (CollectionUtil.isNotEmpty(pagesList)) { if (CollectionUtil.isNotEmpty(pagesList)) {
......
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