BMS列表“创建人、修改人”保存用户姓名,不保存账号
This commit is contained in:
@@ -16,12 +16,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
WHERE
|
||||
del_flag = 1
|
||||
<include refid="common_where"></include>
|
||||
ORDER BY create_time DESC
|
||||
</select>
|
||||
|
||||
<sql id="common_where">
|
||||
<if test="conditionalMappingDO.topOrganizationId != null and conditionalMappingDO.topOrganizationId != ''">
|
||||
AND top_organization_id = #{conditionalMappingDO.topOrganizationId}
|
||||
</if>
|
||||
<if test="conditionalMappingDO.organizationId != null">
|
||||
AND organization_id = #{conditionalMappingDO.organizationId}
|
||||
</if>
|
||||
<if test="conditionalMappingDO.sourceContent != null and conditionalMappingDO.sourceContent != ''">
|
||||
AND source_content like concat('%', #{conditionalMappingDO.sourceContent}, '%')
|
||||
</if>
|
||||
|
||||
@@ -14,12 +14,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
from mapping_method
|
||||
where del_flag = 1
|
||||
<include refid="common_where"/>
|
||||
ORDER BY create_time DESC
|
||||
</select>
|
||||
|
||||
<sql id="common_where">
|
||||
<if test="mappingMethodDO.topOrganizationId != null and mappingMethodDO.topOrganizationId != ''">
|
||||
AND top_organization_id = #{mappingMethodDO.topOrganizationId}
|
||||
</if>
|
||||
<if test="mappingMethodDO.organizationId != null">
|
||||
AND organization_id = #{mappingMethodDO.organizationId}
|
||||
</if>
|
||||
<if test="mappingMethodDO.methodName != null and mappingMethodDO.methodName != ''">
|
||||
and method_name like concat('%', #{mappingMethodDO.methodName}, '%')
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user