集成wms服务模块
This commit is contained in:
@@ -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.putawayRule.repository.mapper.PutawayRuleMapper">
|
||||
|
||||
<resultMap type="com.mhd.wms.domain.putawayRule.repository.po.PutawayRulePO" id="PutawayRuleResult">
|
||||
<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="selectPutawayRulePo">
|
||||
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 putaway_rule
|
||||
where del_flag = 1
|
||||
</sql>
|
||||
|
||||
<sql id="selectPutawayRulePo1">
|
||||
|
||||
<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 != ''">
|
||||
and enabled = #{enabled}
|
||||
</if>
|
||||
</sql>
|
||||
|
||||
<select id="queryList" parameterType="com.mhd.wms.domain.putawayRule.repository.todo.PutawayRuleDO" resultMap="PutawayRuleResult">
|
||||
<include refid="selectPutawayRulePo"/>
|
||||
<include refid="selectPutawayRulePo1"/>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user