2026-01-05 21:46:01 +08:00
|
|
|
<?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.chinaweal.aiccs.aiccs.expelled.mapper.ExpelledBizInfoMapper">
|
2026-01-06 19:53:09 +08:00
|
|
|
|
2026-01-07 16:26:11 +08:00
|
|
|
<select id="listTodoNoticeInfo" resultType="com.chinaweal.aiccs.aiccs.expelled.vo.BizInfoVo">
|
2026-01-06 19:53:09 +08:00
|
|
|
SELECT
|
|
|
|
|
i.ID id,
|
|
|
|
|
i.BIZ_NO bizNo,
|
|
|
|
|
i.TRUTH truth,
|
|
|
|
|
i.REASON reason,
|
|
|
|
|
i.LAW law,
|
|
|
|
|
i."RESULT" result,
|
|
|
|
|
i.REMOVE_TIME removeTime,
|
2026-01-07 16:26:11 +08:00
|
|
|
r.ID entId,
|
2026-01-06 19:53:09 +08:00
|
|
|
r.NOTICE_NO noticeNo,
|
|
|
|
|
e.ENT_NAME entName,
|
|
|
|
|
e.USCC uscc,
|
|
|
|
|
e.LEREP_NAME lerepName,
|
|
|
|
|
e.ADDRESS address,
|
|
|
|
|
r.SEND_STATUS sendStatus,
|
2026-01-07 16:26:11 +08:00
|
|
|
r.SEND_TIME sendTime
|
2026-01-06 19:53:09 +08:00
|
|
|
FROM
|
|
|
|
|
EXPELLED_BIZ_INFO i
|
2026-01-07 16:26:11 +08:00
|
|
|
LEFT JOIN EXPELLED_ENT_INFO r ON i.ID = r.BIZ_ID
|
|
|
|
|
LEFT JOIN ENT_BASE_EXPELLED_INFO e ON r.EXPELLED_ID = e.ID
|
2026-01-06 19:53:09 +08:00
|
|
|
<where>
|
2026-01-07 16:26:11 +08:00
|
|
|
AND r.STATUS IN ('0')
|
2026-01-06 19:53:09 +08:00
|
|
|
<if test="map.bizNo != null and map.bizNo != ''">
|
|
|
|
|
AND i.BIZ_NO = #{map.bizNo}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="map.entName != null and map.entName != ''">
|
|
|
|
|
AND e.ENT_NAME LIKE '%' || #{map.entName} || '%'
|
|
|
|
|
</if>
|
|
|
|
|
<if test="map.uscc != null and map.uscc != ''">
|
|
|
|
|
AND e.USCC = #{map.uscc}
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
2026-01-05 21:46:01 +08:00
|
|
|
</mapper>
|