AccountSiteMapper.xml
412 Bytes
<?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="cn.runsa.crmapp.common.mapper.AccountSiteMapper" >
<select id="selectAccountsBySite" parameterType="java.lang.Long" resultType="java.lang.Long">
SELECT DISTINCT ACT_ID FROM crm_account_set_site WHERE SIT_ID = #{sitId}
</select>
</mapper>