集成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,54 @@
<?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.qcRule.repository.mapper.QcRuleMapper">
<resultMap type="com.mhd.wms.domain.qcRule.repository.po.QcRulePO" id="QcRuleResult">
<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="ruleNum" column="rule_num" />
<result property="ruleName" column="rule_name" />
<result property="enabled" column="enabled" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectQcRulePo">
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, rule_num, rule_name, enabled, remark from qc_rule
where del_flag = 1
</sql>
<sql id="selectQcRulePo1">
<if test="topOrganizationId != null ">
and top_organization_id = #{topOrganizationId}
</if>
<if test="organizationId != null ">
and organization_id = #{organizationId}
</if>
<if test="ruleNum != null and ruleNum != ''">
and rule_num = #{ruleNum}
</if>
<if test="ruleName != null and ruleName != ''">
and rule_name like concat('%', #{ruleName}, '%')
</if>
<if test="enabled != null ">
and enabled = #{enabled}
</if>
</sql>
<select id="queryList" parameterType="com.mhd.wms.domain.qcRule.repository.todo.QcRuleDO" resultMap="QcRuleResult">
<include refid="selectQcRulePo"/>
<include refid="selectQcRulePo1"/>
</select>
</mapper>