南歧nc65对接

This commit is contained in:
hjx
2025-12-05 18:21:36 +08:00
parent 73a2d7f1c9
commit 7efbe3d404
49 changed files with 2117 additions and 44 deletions
@@ -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.linke.finance.domain.ncLog.repository.mapper.NcLogMapper">
<resultMap type="com.linke.finance.domain.ncLog.repository.po.NcLogPO" id="NcLogResult">
<result property="ncLogId" column="nc_log_id" />
<result property="type" column="type" />
<result property="orderId" column="order_id" />
<result property="requestBody" column="request_body" />
<result property="responeBody" column="respone_body" />
<result property="delFlag" column="del_flag" />
<result property="organizationId" column="organization_id" />
<result property="topOrganizationId" column="top_organization_id" />
<result property="organizationName" column="organization_name" />
</resultMap>
<sql id="selectNcLogPo">
select nc_log_id, type, order_id, request_body, respone_body, del_flag, organization_id, top_organization_id, organization_name from nc_log
</sql>
<sql id="selectNcLogPo1">
<where>
<if test="type != null ">
and type = #{type}
</if>
<if test="orderId != null ">
and order_id = #{orderId}
</if>
<if test="requestBody != null and requestBody != ''">
and request_body = #{requestBody}
</if>
<if test="responeBody != null and responeBody != ''">
and respone_body = #{responeBody}
</if>
<if test="organizationId != null ">
and organization_id = #{organizationId}
</if>
<if test="topOrganizationId != null ">
and top_organization_id = #{topOrganizationId}
</if>
<if test="organizationName != null and organizationName != ''">
and organization_name like concat('%', #{organizationName}, '%')
</if>
</where>
</sql>
<select id="queryList" parameterType="com.linke.finance.domain.ncLog.repository.todo.NcLogDO" resultMap="NcLogResult">
<include refid="selectNcLogPo"/>
<include refid="selectNcLogPo1"/>
</select>
</mapper>