|
@@ -4,6 +4,7 @@
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.ruoyi.business.mapper.BjLocaleSecurityCheckMapper">
|
|
<mapper namespace="com.ruoyi.business.mapper.BjLocaleSecurityCheckMapper">
|
|
|
<resultMap id="LocaleSecurityCheckVoList" type="com.ruoyi.business.domain.vo.BjLocaleSecurityCheckVo">
|
|
<resultMap id="LocaleSecurityCheckVoList" type="com.ruoyi.business.domain.vo.BjLocaleSecurityCheckVo">
|
|
|
|
|
+ <result property="localeSecurityCheckId" column="locale_security_check_id"/>
|
|
|
<result property="shipId" column="ship_id"/>
|
|
<result property="shipId" column="ship_id"/>
|
|
|
<result property="shipNameCn" column="ship_name_cn"/>
|
|
<result property="shipNameCn" column="ship_name_cn"/>
|
|
|
<result property="checkOrganization" column="check_organization"/>
|
|
<result property="checkOrganization" column="check_organization"/>
|
|
@@ -17,7 +18,8 @@
|
|
|
<result property="releaseFlag" column="release_flag"/>
|
|
<result property="releaseFlag" column="release_flag"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<select id="queryLocalSecurityCheckList" resultMap="LocaleSecurityCheckVoList">
|
|
<select id="queryLocalSecurityCheckList" resultMap="LocaleSecurityCheckVoList">
|
|
|
- select ship_id,
|
|
|
|
|
|
|
+ select locale_security_check_id,
|
|
|
|
|
+ ship_id,
|
|
|
ship_name_cn,
|
|
ship_name_cn,
|
|
|
check_organization,
|
|
check_organization,
|
|
|
check_address,
|
|
check_address,
|
|
@@ -30,7 +32,7 @@
|
|
|
release_flag
|
|
release_flag
|
|
|
from ry.bj_locale_security_check
|
|
from ry.bj_locale_security_check
|
|
|
where del_flag = '0'
|
|
where del_flag = '0'
|
|
|
- order by ship_id,
|
|
|
|
|
|
|
+ order by locale_security_check_id,
|
|
|
RANDOM()
|
|
RANDOM()
|
|
|
</select>
|
|
</select>
|
|
|
</mapper>
|
|
</mapper>
|