fix(oms): 反审运输链路按拆单子单全量软删——执行单挂子单下(businessDocumentId=子单id), 主单+子单+执行单+TMS链全删; 执行单列表默认过滤归档行
This commit is contained in:
@@ -42,6 +42,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
<sql id="selectExecuteOrderPo1">
|
||||
<where>
|
||||
<!-- 默认只查正常单(del_flag=1); 反审/删除的归档行需显式传delFlag=2(已反审tab) -->
|
||||
<choose>
|
||||
<when test="delFlag != null">and eo.DEL_FLAG = #{delFlag}</when>
|
||||
<otherwise>and eo.DEL_FLAG = 1</otherwise>
|
||||
</choose>
|
||||
<if test="createStartTime != null">
|
||||
and eo.CREATE_TIME >= #{createStartTime}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user