集成wms服务模块

This commit is contained in:
hjx
2026-01-19 18:55:23 +08:00
parent aab59723f9
commit 1655d57057
835 changed files with 96160 additions and 0 deletions
@@ -0,0 +1,109 @@
<?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.putawayRuleDetail.repository.mapper.PutawayRuleDetailMapper">
<resultMap type="com.mhd.wms.domain.putawayRuleDetail.repository.po.PutawayRuleDetailPO" id="PutawayRuleDetailResult">
<result property="id" column="id" />
<result property="createBy" column="create_by" />
<result property="createByName" column="create_by_name" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateByName" column="update_by_name" />
<result property="updateTime" column="update_time" />
<result property="delFlag" column="del_flag" />
<result property="topOrganizationId" column="top_organization_id" />
<result property="organizationId" column="organization_id" />
<result property="organizationName" column="organization_name" />
<result property="putawayRuleId" column="putaway_rule_id" />
<result property="mainRuleId" column="main_rule_id" />
<result property="mainRule" column="main_rule" />
<result property="seqNum" column="seq_num" />
<result property="storageSpaceLimit" column="storage_space_limit" />
<result property="storageSpaceLimitTypeId" column="storage_space_limit_type_id" />
<result property="storageSpaceLimitType" column="storage_space_limit_type" />
<result property="usableLocationType" column="usable_location_type" />
<result property="locationTypeId" column="location_type_id" />
<result property="locationType" column="location_type" />
<result property="usableLocationKind" column="usable_location_kind" />
<result property="locationKindId" column="location_kind_id" />
<result property="locationKind" column="location_kind" />
</resultMap>
<sql id="selectPutawayRuleDetailPo">
select id, create_by, create_by_name, create_time, update_by, update_by_name, update_time, del_flag, top_organization_id, organization_id, organization_name, putaway_rule_id, main_rule_id, main_rule, seq_num, storage_space_limit, storage_space_limit_type_id, storage_space_limit_type, usable_location_type, location_type_id, location_type, usable_location_kind, location_kind_id, location_kind from putaway_rule_detail
</sql>
<sql id="selectPutawayRuleDetailPo1">
<where>
<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="topOrganizationId != null ">
and top_organization_id = #{topOrganizationId}
</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="putawayRuleId != null ">
and putaway_rule_id = #{putawayRuleId}
</if>
<if test="mainRuleId != null ">
and main_rule_id = #{mainRuleId}
</if>
<if test="mainRule != null and mainRule != ''">
and main_rule = #{mainRule}
</if>
<if test="seqNum != null ">
and seq_num = #{seqNum}
</if>
<if test="storageSpaceLimit != null and storageSpaceLimit != ''">
and storage_space_limit = #{storageSpaceLimit}
</if>
<if test="storageSpaceLimitTypeId != null and storageSpaceLimitTypeId != ''">
and storage_space_limit_type_id = #{storageSpaceLimitTypeId}
</if>
<if test="storageSpaceLimitType != null and storageSpaceLimitType != ''">
and storage_space_limit_type = #{storageSpaceLimitType}
</if>
<if test="usableLocationType != null and usableLocationType != ''">
and usable_location_type = #{usableLocationType}
</if>
<if test="locationTypeId != null and locationTypeId != ''">
and location_type_id = #{locationTypeId}
</if>
<if test="locationType != null and locationType != ''">
and location_type = #{locationType}
</if>
<if test="usableLocationKind != null and usableLocationKind != ''">
and usable_location_kind = #{usableLocationKind}
</if>
<if test="locationKindId != null and locationKindId != ''">
and location_kind_id = #{locationKindId}
</if>
<if test="locationKind != null and locationKind != ''">
and location_kind = #{locationKind}
</if>
</where>
</sql>
<select id="queryList" parameterType="com.mhd.wms.domain.putawayRuleDetail.repository.todo.PutawayRuleDetailDO" resultMap="PutawayRuleDetailResult">
<include refid="selectPutawayRuleDetailPo"/>
<include refid="selectPutawayRuleDetailPo1"/>
</select>
<select id="selectListByPutawayRuleId" resultType="java.lang.Long">
select id from putaway_rule_detail where putaway_rule_id in
<foreach collection="list" item="id" open="(" close=")" separator=",">
#{id}
</foreach>
</select>
</mapper>