|
@@ -13,6 +13,10 @@
|
|
|
|
|
|
<select id="getList" resultMap="result">
|
|
|
select * from identity_resource
|
|
|
+ <where>
|
|
|
+ <if test="identityId!=0">and identityId=#{identityId}</if>
|
|
|
+ <if test="type!=null">and type=#{type}</if>
|
|
|
+ </where>
|
|
|
</select>
|
|
|
|
|
|
<insert id="insert" parameterType="com.bosshand.virgo.core.model.IdentityResource" useGeneratedKeys="true" keyProperty="id">
|