|
|
@ -12,8 +12,11 @@
|
|
|
|
<if test="recordKey != '' and recordKey != null">
|
|
|
|
<if test="recordKey != '' and recordKey != null">
|
|
|
|
AND recordKey = #{recordKey}
|
|
|
|
AND recordKey = #{recordKey}
|
|
|
|
</if>
|
|
|
|
</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')
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insert" keyProperty="id"
|
|
|
|
<insert id="insert" keyProperty="id"
|
|
|
|