集成oms服务模块

This commit is contained in:
hjx
2026-01-19 15:20:20 +08:00
parent 1837337488
commit 56356839bf
163 changed files with 16893 additions and 0 deletions
@@ -0,0 +1,70 @@
<?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.oms.domain.receiptInfo.repository.mapper.ReceiptInfoMapper">
<resultMap type="com.mhd.oms.domain.receiptInfo.repository.po.ReceiptInfoPO" id="ReceiptInfoResult">
<result property="id" column="id" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<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="orderId" column="order_id" />
<result property="consignee" column="consignee" />
<result property="consigneePhone" column="consignee_phone" />
<result property="consigneeAreaCode" column="consignee_area_code" />
<result property="consigneeArea" column="consignee_area" />
<result property="consigneeAddress" column="consignee_address" />
<result property="raddressLatLon" column="raddress_lat_lon" />
</resultMap>
<sql id="selectReceiptInfoPo">
select id, create_by, create_time, update_by, update_time, del_flag, top_organization_id, organization_id, organization_name, order_id, consignee, consignee_phone, consignee_area_code, consignee_area, consignee_address, raddress_lat_lon from oms_receipt_info
</sql>
<sql id="selectReceiptInfoPo1">
<where>
<if test="topOrganizationId != null ">
and top_organization_id = #{topOrganizationId}
</if>
<if test="organizationId != null ">
and organization_id = #{organizationId}
</if>
<if test="organizationName != null and organizationName != ''">
and organization_name like concat('%', #{organizationName}, '%')
</if>
<if test="orderId != null ">
and order_id = #{orderId}
</if>
<if test="consignee != null and consignee != ''">
and consignee = #{consignee}
</if>
<if test="consigneePhone != null and consigneePhone != ''">
and consignee_phone = #{consigneePhone}
</if>
<if test="consigneeAreaCode != null and consigneeAreaCode != ''">
and consignee_area_code = #{consigneeAreaCode}
</if>
<if test="consigneeArea != null and consigneeArea != ''">
and consignee_area = #{consigneeArea}
</if>
<if test="consigneeAddress != null and consigneeAddress != ''">
and consignee_address = #{consigneeAddress}
</if>
<if test="raddressLatLon != null and raddressLatLon != ''">
and raddress_lat_lon = #{raddressLatLon}
</if>
</where>
</sql>
<select id="queryList" parameterType="com.mhd.oms.domain.receiptInfo.repository.todo.ReceiptInfoDO" resultMap="ReceiptInfoResult">
<include refid="selectReceiptInfoPo"/>
<include refid="selectReceiptInfoPo1"/>
</select>
</mapper>