| | |
| | | </resultMap> |
| | | |
| | | <select id="selectUserByZaqns" resultMap="com.matrix.system.common.dao.SysUsersDao.SysUsersMap" > |
| | | select su_id,su_name from sys_users where FIND_IN_SET(#{zans}, su_id) |
| | | select su_id,su_name from sys_users where FIND_IN_SET(su_id,#{zans}) |
| | | </select> |
| | | |
| | | <!-- 定义SysFollowup 的简单map ,本map不添加其他的关联属性 --> |
| | |
| | | left join sys_vip_info c on a.vip_id=c.id |
| | | <where> |
| | | and a.company_id=#{companyId} |
| | | |
| | | and (c.IS_DELETE is null or c.IS_DELETE = '') |
| | | <if test="shopId != null "> |
| | | and a.shop_id=#{shopId} |
| | | </if> |
| | |
| | | </where> |
| | | |
| | | |
| | | |
| | | order by a.create_time desc |
| | | |
| | | |
| | | limit ${offset},${limit} |