Commit d60525c2 authored by jiaorz's avatar jiaorz

Merge branch 'master-rentvehicle' into dev

parents c01c477d 1f9b7fbc
......@@ -69,6 +69,9 @@ public class BackgroundBaseOrderBiz extends BaseBiz<BaseOrderMapper, BaseOrder>
dto.setEndTime(new Date().getTime());
}
}
if (dto.getStatus() >= 7) {
dto.setRefundStatus(dto.getStatus());
}
Query query = new Query(dto);
PageDataVO pageDataVO = PageDataVO.pageInfo(query, () -> mapper.getAllOrderList(query.getSuper()));
return ObjectRestResponse.succ(pageDataVO);
......
......@@ -244,6 +244,10 @@
<if test="realName != null and realName != ''">
and username like CONCAT ("%", #{realName}, "%")
</if>
<if test="keywords != null and keywords != ''">
and (telephone like CONCAT ("%", #{phone}, "%") or username like CONCAT ("%", #{realName}, "%"))
</if>
<if test="userId != null">
and userId = #{userId}
</if>
......
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