refactor: 查询语句修改
This commit is contained in:
parent
642c0be972
commit
bb81bd21e3
@ -63,7 +63,6 @@
|
||||
IS_RECORD_INBOUND_TIME,
|
||||
REMARK
|
||||
from WMS_BUSINESS_TYPE
|
||||
where IS_DELETE = 0
|
||||
</sql>
|
||||
|
||||
<select id="selectWmsBusinessTypeList" parameterType="WmsBusinessType" resultMap="WmsBusinessTypeResult">
|
||||
@ -74,7 +73,7 @@
|
||||
<if test="updateBy != null and updateBy != ''">and UPDATE_BY = #{updateBy}</if>
|
||||
<if test="modifyDate != null and modifyDate != ''">and MODIFY_DATE = #{modifyDate}</if>
|
||||
<if test="isActive != null and isActive != ''">and IS_ACTIVE = #{isActive}</if>
|
||||
<if test="isDelete != null and isDelete != ''">and IS_DELETE = #{isDelete}</if>
|
||||
and IS_DELETE = 0
|
||||
<if test="code != null and code != ''">and CODE = #{code}</if>
|
||||
<if test="name != null and name != ''">and NAME like concat('%', #{name}, '%')</if>
|
||||
<if test="flag != null and flag != ''">and FLAG = #{flag}</if>
|
||||
|
Loading…
Reference in New Issue
Block a user