集成wms服务模块
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.mhd.wms.domain.userCommonSettings.repository.mapper.UserCommonSettingsMapper">
|
||||
|
||||
<resultMap type="com.mhd.wms.domain.userCommonSettings.repository.po.UserCommonSettingsPO" id="UserCommonSettingsResult">
|
||||
<result property="userCommonSettingsId" column="user_common_settings_id" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="commonSettingsId" column="common_settings_id" />
|
||||
<result property="name" column="name" />
|
||||
<result property="route" column="route" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createByName" column="create_by_name" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateByName" column="update_by_name" />
|
||||
<result property="organizationId" column="organization_id" />
|
||||
<result property="organizationName" column="organization_name" />
|
||||
<result property="topOrganizationId" column="top_organization_id" />
|
||||
<result property="isSettings" column="is_settings" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
<sql id="selectUserCommonSettingsPo">
|
||||
select user_common_settings_id, user_id, common_settings_id, name, route, is_settings, create_time, create_by, create_by_name, update_time, update_by, update_by_name, organization_id, organization_name, top_organization_id
|
||||
from user_common_settings
|
||||
</sql>
|
||||
|
||||
<sql id="selectUserCommonSettingsPo1">
|
||||
<where>
|
||||
del_flag=1
|
||||
<if test="userId != null ">
|
||||
and user_id = #{userId}
|
||||
</if>
|
||||
<if test="commonSettingsId != null ">
|
||||
and common_settings_id = #{commonSettingsId}
|
||||
</if>
|
||||
<if test="name != null and name != ''">
|
||||
and name like concat('%', #{name}, '%')
|
||||
</if>
|
||||
<if test="route != null and route != ''">
|
||||
and route = #{route}
|
||||
</if>
|
||||
<if test="createByName != null and createByName != ''">
|
||||
and create_by_name like concat('%', #{createByName}, '%')
|
||||
</if>
|
||||
<if test="updateByName != null and updateByName != ''">
|
||||
and update_by_name like concat('%', #{updateByName}, '%')
|
||||
</if>
|
||||
<if test="organizationId != null ">
|
||||
and organization_id = #{organizationId}
|
||||
</if>
|
||||
<if test="organizationName != null and organizationName != ''">
|
||||
and organization_name like concat('%', #{organizationName}, '%')
|
||||
</if>
|
||||
<if test="topOrganizationId != null ">
|
||||
and top_organization_id = #{topOrganizationId}
|
||||
</if>
|
||||
<if test="isSettings != null ">
|
||||
and is_settings = #{isSettings}
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<select id="queryList" parameterType="com.mhd.wms.domain.userCommonSettings.repository.todo.UserCommonSettingsDO" resultMap="UserCommonSettingsResult">
|
||||
<include refid="selectUserCommonSettingsPo"/>
|
||||
<include refid="selectUserCommonSettingsPo1"/>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user