first commit
This commit is contained in:
+83
@@ -0,0 +1,83 @@
|
||||
<?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.basic.domain.thirdPartyServiceReqLog.repository.mapper.ThirdPartyServiceReqLogMapper">
|
||||
|
||||
<resultMap type="com.mhd.basic.domain.thirdPartyServiceReqLog.repository.po.ThirdPartyServiceReqLogPO" id="ThirdPartyServiceReqLogResult">
|
||||
<result property="thiParSerReqLogId" column="thi_par_ser_req_log_id" />
|
||||
<result property="organizationId" column="organization_id" />
|
||||
<result property="organizationName" column="organization_name" />
|
||||
<result property="topOrganizationId" column="top_organization_id" />
|
||||
<result property="waybillSource" column="waybill_source" />
|
||||
<result property="waybillSourceName" column="waybill_source_name" />
|
||||
<result property="orderNumber" column="order_number" />
|
||||
<result property="interfaceCode" column="interface_code" />
|
||||
<result property="interfaceName" column="interface_name" />
|
||||
<result property="operUrl" column="oper_url" />
|
||||
<result property="operParam" column="oper_param" />
|
||||
<result property="jsonResult" column="json_result" />
|
||||
<result property="status" column="status" />
|
||||
<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="selectThirdPartyServiceReqLogPo">
|
||||
select thi_par_ser_req_log_id, organization_id, organization_name, top_organization_id, waybill_source, waybill_source_name,
|
||||
order_number, interface_code, interface_name, oper_url, status, create_time, create_by, create_by_name,
|
||||
update_time, update_by, update_by_name, del_flag
|
||||
from third_party_service_req_log
|
||||
</sql>
|
||||
|
||||
<sql id="selectThirdPartyServiceReqLogPo1">
|
||||
<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="waybillSource != null and waybillSource != ''">
|
||||
and waybill_source = #{waybillSource}
|
||||
</if>
|
||||
<if test="waybillSourceName != null and waybillSourceName != ''">
|
||||
and waybill_source_name like concat('%', #{waybillSourceName}, '%')
|
||||
</if>
|
||||
<if test="orderNumber != null and orderNumber != ''">
|
||||
and order_number = #{orderNumber}
|
||||
</if>
|
||||
<if test="interfaceCode != null and interfaceCode != ''">
|
||||
and interface_code = #{interfaceCode}
|
||||
</if>
|
||||
<if test="interfaceName != null and interfaceName != ''">
|
||||
and interface_name like concat('%', #{interfaceName}, '%')
|
||||
</if>
|
||||
<if test="operUrl != null and operUrl != ''">
|
||||
and oper_url = #{operUrl}
|
||||
</if>
|
||||
<if test="status != null ">
|
||||
and status = #{status}
|
||||
</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.basic.domain.thirdPartyServiceReqLog.repository.todo.ThirdPartyServiceReqLogDO" resultMap="ThirdPartyServiceReqLogResult">
|
||||
<include refid="selectThirdPartyServiceReqLogPo"/>
|
||||
<include refid="selectThirdPartyServiceReqLogPo1"/>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user