Permana
2018-10-02 2429c55948869951cf10ffea42e8b79054e93068
unipin_cms_service/src/main/resources/mybatis/mapper/monitoringUser.xml
....@@ -53,6 +53,15 @@
5353 id=#{id} AND
5454 rule='ADMIN'
5555 </select>
56
+ <select id="isTechnical" parameterType="String" resultMap="user">
57
+ SELECT
58
+ id
59
+ FROM
60
+ tbl_monitoring_user_rules
61
+ WHERE
62
+ id=#{id} AND
63
+ rule='TECHNICAL'
64
+ </select>
5665
5766 <select id="findByID" parameterType="String" resultMap="user">
5867 SELECT * from tbl_monitoring_user where id=#{id}