|
@@ -212,6 +212,14 @@
|
|
|
</collection>
|
|
|
</resultMap>
|
|
|
|
|
|
+ <select id="getUserGroupById" parameterType="INTEGER" resultType="com.example.opc_common.entity.UserGroup">
|
|
|
+ select tcug.user_group_id as id,
|
|
|
+ tug.user_group_name as userGroupName
|
|
|
+ from t_chart_user_group tcug
|
|
|
+ left join t_user_group tug on tcug.user_group_id = tug.id
|
|
|
+ where tcug.chart_id = #{id}
|
|
|
+ </select>
|
|
|
+
|
|
|
<select id="getUserGroupList" resultType="com.example.opc_common.entity.UserGroup">
|
|
|
select tcug.user_group_id as id,
|
|
|
tug.user_group_name as userGroupName
|