集成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,76 @@
<?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.sowingWall.repository.mapper.SowingWallMapper">
<resultMap type="com.mhd.wms.domain.sowingWall.repository.po.SowingWallPO" id="SowingWallResult">
<result property="sowingWallId" column="sowing_wall_id" />
<result property="organizationId" column="organization_id" />
<result property="organizationName" column="organization_name" />
<result property="topOrganizationId" column="top_organization_id" />
<result property="sowingWallCode" column="sowing_wall_code" />
<result property="layerNum" column="layer_num" />
<result property="columnNumber" column="column_number" />
<result property="openingUp" column="opening_up" />
<result property="nullify" column="nullify" />
<result property="sowingWallDesc" column="sowing_wall_desc" />
<result property="remark" column="remark" />
<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="delFlag" column="del_flag" />
</resultMap>
<sql id="selectSowingWallPo">
select sowing_wall_id, organization_id, organization_name, top_organization_id, sowing_wall_code, layer_num, column_number, opening_up, nullify, sowing_wall_desc, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from sowing_wall
</sql>
<sql id="selectSowingWallPo1">
<where>
<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="sowingWallCode != null and sowingWallCode != ''">
and sowing_wall_code = #{sowingWallCode}
</if>
<if test="layerNum != null ">
and layer_num = #{layerNum}
</if>
<if test="columnNumber != null ">
and column_number = #{columnNumber}
</if>
<if test="openingUp != null ">
and opening_up = #{openingUp}
</if>
<if test="sowingWallDesc != null and sowingWallDesc != ''">
and sowing_wall_desc = #{sowingWallDesc}
</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>
<choose>
<when test="delFlag != null"> and del_flag = #{delFlag} </when>
<otherwise> and del_flag = 1 </otherwise>
</choose>
</where>
</sql>
<select id="queryList" parameterType="com.mhd.wms.domain.sowingWall.repository.todo.SowingWallDO" resultMap="SowingWallResult">
<include refid="selectSowingWallPo"/>
<include refid="selectSowingWallPo1"/>
</select>
</mapper>