refactor(mapper): 移除样本库存查询中的冗余字段
- 删除了 IsSampleInventoryMapper.xml 中的 operatorId 和 lastUpdate 字段 - 移除了与这些字段相关的查询条件 - 优化了查询性能,减少了不必要的数据传输
This commit is contained in:
@@ -12,8 +12,6 @@
|
||||
<result property="storageTime" column="storage_time"/>
|
||||
<result property="expirationDate" column="expiration_date"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="operatorId" column="operator_id"/>
|
||||
<result property="lastUpdate" column="last_update"/>
|
||||
<result property="delFlag" column="del_flag"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
<result property="createBy" column="create_by"/>
|
||||
@@ -62,12 +60,6 @@
|
||||
<if test="bo.status != null and bo.status != ''">
|
||||
AND s.status = #{bo.status}
|
||||
</if>
|
||||
<if test="bo.operatorId != null">
|
||||
AND s.operator_id = #{bo.operatorId}
|
||||
</if>
|
||||
<if test="bo.lastUpdate != null">
|
||||
AND s.last_update = #{bo.lastUpdate}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user