1.修复内部码打印单据查询问题

wms_pzh
x_z 3 years ago
parent 7e98871995
commit 2a1b82362b

@ -8,4 +8,9 @@ public class InnerOrderRequest extends ListPageRequest {
private String recordKey; private String recordKey;
private String startDate;
private String endDate;
} }

@ -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"

Loading…
Cancel
Save