集成wms服务模块
This commit is contained in:
+103
@@ -0,0 +1,103 @@
|
||||
<?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.materialWarehouseControl.repository.mapper.MaterialWarehouseControlMapper">
|
||||
|
||||
<resultMap type="com.mhd.wms.domain.materialWarehouseControl.repository.po.MaterialWarehouseControlPO" id="MaterialWarehouseControlResult">
|
||||
<result property="materialWarehouseControlId" column="material_warehouse_control_id" />
|
||||
<result property="organizationId" column="organization_id" />
|
||||
<result property="organizationName" column="organization_name" />
|
||||
<result property="topOrganizationId" column="top_organization_id" />
|
||||
<result property="materialBaseInfoId" column="material_base_info_id" />
|
||||
<result property="temperatureControl" column="temperature_control" />
|
||||
<result property="cycleType" column="cycle_type" />
|
||||
<result property="inValidityPeriod" column="in_validity_period" />
|
||||
<result property="outValidityPeriod" column="out_validity_period" />
|
||||
<result property="allowOvercharge" column="allow_overcharge" />
|
||||
<result property="overchargeRatio" column="overcharge_ratio" />
|
||||
<result property="classify" column="classify" />
|
||||
<result property="serialNumberManage" column="serial_number_manage" />
|
||||
<result property="qualityInspectionManage" column="quality_inspection_manage" />
|
||||
<result property="qualityInspectionStage" column="quality_inspection_stage" />
|
||||
<result property="qualityInspectionRule" column="quality_inspection_rule" />
|
||||
<result property="qualityInspectionTerm" column="quality_inspection_term" />
|
||||
<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="selectMaterialWarehouseControlPo">
|
||||
select material_warehouse_control_id, organization_id, organization_name, top_organization_id, material_base_info_id, temperature_control, cycle_type, in_validity_period, out_validity_period, allow_overcharge, overcharge_ratio, classify, serial_number_manage, quality_inspection_manage, quality_inspection_stage, quality_inspection_rule, quality_inspection_term, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from material_warehouse_control
|
||||
</sql>
|
||||
|
||||
<sql id="selectMaterialWarehouseControlPo1">
|
||||
<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="materialBaseInfoId != null ">
|
||||
and material_base_info_id = #{materialBaseInfoId}
|
||||
</if>
|
||||
<if test="temperatureControl != null ">
|
||||
and temperature_control = #{temperatureControl}
|
||||
</if>
|
||||
<if test="cycleType != null ">
|
||||
and cycle_type = #{cycleType}
|
||||
</if>
|
||||
<if test="inValidityPeriod != null ">
|
||||
and in_validity_period = #{inValidityPeriod}
|
||||
</if>
|
||||
<if test="outValidityPeriod != null ">
|
||||
and out_validity_period = #{outValidityPeriod}
|
||||
</if>
|
||||
<if test="allowOvercharge != null ">
|
||||
and allow_overcharge = #{allowOvercharge}
|
||||
</if>
|
||||
<if test="overchargeRatio != null ">
|
||||
and overcharge_ratio = #{overchargeRatio}
|
||||
</if>
|
||||
<if test="classify != null and classify != ''">
|
||||
and classify = #{classify}
|
||||
</if>
|
||||
<if test="serialNumberManage != null ">
|
||||
and serial_number_manage = #{serialNumberManage}
|
||||
</if>
|
||||
<if test="qualityInspectionManage != null ">
|
||||
and quality_inspection_manage = #{qualityInspectionManage}
|
||||
</if>
|
||||
<if test="qualityInspectionStage != null ">
|
||||
and quality_inspection_stage = #{qualityInspectionStage}
|
||||
</if>
|
||||
<if test="qualityInspectionRule != null ">
|
||||
and quality_inspection_rule = #{qualityInspectionRule}
|
||||
</if>
|
||||
<if test="qualityInspectionTerm != null ">
|
||||
and quality_inspection_term = #{qualityInspectionTerm}
|
||||
</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>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<select id="queryList" parameterType="com.mhd.wms.domain.materialWarehouseControl.repository.todo.MaterialWarehouseControlDO" resultMap="MaterialWarehouseControlResult">
|
||||
<include refid="selectMaterialWarehouseControlPo"/>
|
||||
<include refid="selectMaterialWarehouseControlPo1"/>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user