@ -8,4 +8,9 @@ public class InnerOrderRequest extends ListPageRequest {
private String recordKey;
private String startDate;
private String endDate;
}
@ -12,8 +12,11 @@
<if test="recordKey != '' and recordKey != null">
AND recordKey = #{recordKey}
</if>
<if test="startDate != null and startDate != '' and endDate != null and endDate != ''">
AND date_format(inv_inner_order.createTime, '%Y-%m-%d') between date_format(#{startDate},
'%Y-%m-%d') and date_format(#{endDate}, '%Y-%m-%d')
</where>
</select>
<insert id="insert" keyProperty="id"