集成wms服务模块
This commit is contained in:
@@ -0,0 +1,141 @@
|
||||
<?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.mobilizeManage.repository.mapper.MobilizeManageMapper">
|
||||
|
||||
|
||||
<resultMap type="com.mhd.wms.domain.mobilizeManage.repository.po.MobilizeManagePO" id="MobilizeManageResult">
|
||||
<result property="mobilizeManageId" column="mobilize_manage_id" />
|
||||
<result property="organizationId" column="organization_id" />
|
||||
<result property="organizationName" column="organization_name" />
|
||||
<result property="topOrganizationId" column="top_organization_id" />
|
||||
<result property="mobilizeNumber" column="mobilize_number" />
|
||||
<result property="mobilizeCode" column="mobilize_code" />
|
||||
<result property="mobilizeStatus" column="mobilize_status" />
|
||||
<result property="mobilizeMaterialQuantity" column="mobilize_material_quantity" />
|
||||
<result property="materialTypeQuantity" column="material_type_quantity" />
|
||||
<result property="inWarehouseId" column="in_warehouse_id" />
|
||||
<result property="inWarehouseCode" column="in_warehouse_code" />
|
||||
<result property="inWarehouseName" column="in_warehouse_name" />
|
||||
<result property="auditStatus" column="audit_status" />
|
||||
<result property="auditRemark" column="audit_remark" />
|
||||
<result property="auditBy" column="audit_by" />
|
||||
<result property="auditByName" column="audit_by_name" />
|
||||
<result property="auditTime" column="audit_time" />
|
||||
<result property="taskDistribution" column="task_distribution" />
|
||||
<result property="taskDistributionTime" column="task_distribution_time" />
|
||||
<result property="operatorsBy" column="operators_by" />
|
||||
<result property="operatorsName" column="operators_name" />
|
||||
<result property="nullify" column="nullify" />
|
||||
<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" />
|
||||
<result property="outWarehouseId" column="out_warehouse_id" />
|
||||
<result property="outWarehouseCode" column="out_warehouse_code" />
|
||||
<result property="outWarehouseName" column="out_warehouse_name" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
|
||||
<sql id="selectMobilizeManagePo">
|
||||
select mobilize_manage_id, organization_id, organization_name, top_organization_id, mobilize_number, mobilize_code, mobilize_status, mobilize_material_quantity, material_type_quantity, in_warehouse_id, in_warehouse_code, in_warehouse_name, audit_status, audit_remark, audit_by, audit_by_name, audit_time, task_distribution, task_distribution_time, operators_by, operators_name, nullify, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag, out_warehouse_id, out_warehouse_code, out_warehouse_name from mobilize_manage
|
||||
</sql>
|
||||
|
||||
<sql id="selectMobilizeManagePo1">
|
||||
<where>
|
||||
and del_flag = 1
|
||||
<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="mobilizeCode != null and mobilizeCode != ''">
|
||||
and mobilize_code = #{mobilizeCode}
|
||||
</if>
|
||||
<if test="mobilizeStatus != null ">
|
||||
and mobilize_status = #{mobilizeStatus}
|
||||
</if>
|
||||
<if test="mobilizeNumber != null ">
|
||||
and mobilize_number = #{mobilizeNumber}
|
||||
</if>
|
||||
<if test="materialTypeQuantity != null ">
|
||||
and material_type_quantity = #{materialTypeQuantity}
|
||||
</if>
|
||||
<if test="mobilizeMaterialQuantity != null ">
|
||||
and mobilize_material_quantity = #{mobilizeMaterialQuantity}
|
||||
</if>
|
||||
<if test="inWarehouseId != null ">
|
||||
and in_warehouse_id = #{inWarehouseId}
|
||||
</if>
|
||||
<if test="inWarehouseCode != null and inWarehouseCode != ''">
|
||||
and in_warehouse_code = #{inWarehouseCode}
|
||||
</if>
|
||||
<if test="inWarehouseName != null and inWarehouseName != ''">
|
||||
and in_warehouse_name like concat('%', #{inWarehouseName}, '%')
|
||||
</if>
|
||||
<if test="outWarehouseId != null ">
|
||||
and out_warehouse_id = #{outWarehouseId}
|
||||
</if>
|
||||
<if test="outWarehouseCode != null and outWarehouseCode != ''">
|
||||
and out_warehouse_code = #{outWarehouseCode}
|
||||
</if>
|
||||
<if test="outWarehouseName != null and outWarehouseName != ''">
|
||||
and out_warehouse_name like concat('%', #{outWarehouseName}, '%')
|
||||
</if>
|
||||
<if test="auditStatus != null ">
|
||||
and audit_status = #{auditStatus}
|
||||
</if>
|
||||
<if test="auditRemark != null and auditRemark != ''">
|
||||
and audit_remark = #{auditRemark}
|
||||
</if>
|
||||
<if test="auditBy != null ">
|
||||
and audit_by = #{auditBy}
|
||||
</if>
|
||||
<if test="auditByName != null and auditByName != ''">
|
||||
and audit_by_name like concat('%', #{auditByName}, '%')
|
||||
</if>
|
||||
<if test="auditTime != null ">
|
||||
and audit_time = #{auditTime}
|
||||
</if>
|
||||
<if test="taskDistribution != null ">
|
||||
and task_distribution = #{taskDistribution}
|
||||
</if>
|
||||
<if test="taskDistributionTime != null ">
|
||||
and task_distribution_time = #{taskDistributionTime}
|
||||
</if>
|
||||
<if test="operatorsBy != null ">
|
||||
and operators_by = #{operatorsBy}
|
||||
</if>
|
||||
<if test="operatorsName != null and operatorsName != ''">
|
||||
and operators_name like concat('%', #{operatorsName}, '%')
|
||||
</if>
|
||||
<if test="nullify != null ">
|
||||
and nullify = #{nullify}
|
||||
</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>
|
||||
<update id="updateQuantity">
|
||||
update mobilize_manage set material_type_quantity = #{materialTypeQuantity},mobilize_material_quantity = #{mobilizeMaterialQuantity}
|
||||
</update>
|
||||
|
||||
<select id="queryList" parameterType="com.mhd.wms.domain.mobilizeManage.repository.todo.MobilizeManageDO" resultMap="MobilizeManageResult">
|
||||
<include refid="selectMobilizeManagePo"/>
|
||||
<include refid="selectMobilizeManagePo1"/>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user