Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Commit 80169c5

Browse files
author
hainguyen
committed
Add missing files
1 parent cc9fdbe commit 80169c5

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.mycollab.module.project.dao
2+
3+
import com.mycollab.module.project.domain.ProjectNotificationSetting
4+
import org.apache.ibatis.annotations.Param
5+
6+
interface ProjectNotificationSettingMapperExt {
7+
fun findNotifications(@Param("projectId") projectId: Int, @Param("sAccountId") sAccountId: Int): List<ProjectNotificationSetting>
8+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
3+
<mapper namespace="com.mycollab.module.project.dao.ProjectNotificationSettingMapperExt">
4+
<select id="findNotifications" parameterType="map" lang="velocity"
5+
resultMap="com.mycollab.module.project.dao.ProjectNotificationSettingMapper.BaseResultMap">
6+
<!--
7+
WARNING - @mbg.generated
8+
This element is automatically generated by MyBatis Generator, do not modify.
9+
This element was generated on Fri Dec 01 20:52:18 ICT 2017.
10+
-->
11+
SELECT id, username, projectId, sAccountId, level
12+
FROM m_prj_notifications
13+
INNER JOIN s_user ON (s_user.username = m_prj_notifications.username AND s_user.status = 'EmailVerified')
14+
WHERE
15+
m_prj_notifications.sAccountId = @{sAccountId, jdbcType=NUMERIC}
16+
AND m_prj_notifications.projectId = @{projectId, jdbcType=NUMERIC}
17+
</select>
18+
</mapper>

0 commit comments

Comments
 (0)