From 3b55d06b89bf64873e685c3d78fce5affbba3d17 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Tue, 16 Apr 2019 11:20:38 +0900 Subject: Add warehouse server source code. [Patch Set 2] Add ReadMe.md Change-Id: I6ade52d2490f5ca4ba107c1a27ed6d5b39048725 Signed-off-by: zheng_wenlong --- .../xml/user/UserAuthorityLinkMapper.xml | 146 +++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 appmarket-persistence/src/main/java/app/market/persistence/xml/user/UserAuthorityLinkMapper.xml (limited to 'appmarket-persistence/src/main/java/app/market/persistence/xml/user/UserAuthorityLinkMapper.xml') diff --git a/appmarket-persistence/src/main/java/app/market/persistence/xml/user/UserAuthorityLinkMapper.xml b/appmarket-persistence/src/main/java/app/market/persistence/xml/user/UserAuthorityLinkMapper.xml new file mode 100644 index 0000000..367aad2 --- /dev/null +++ b/appmarket-persistence/src/main/java/app/market/persistence/xml/user/UserAuthorityLinkMapper.xml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + A_USER_ID, A_AU_ID + + + + delete from t_user_authority_link + where A_USER_ID = #{userId,jdbcType=CHAR} + and A_AU_ID = #{auId,jdbcType=CHAR} + + + delete from t_user_authority_link + + + + + + insert into t_user_authority_link (A_USER_ID, A_AU_ID) + values (#{userId,jdbcType=CHAR}, #{auId,jdbcType=CHAR}) + + + insert into t_user_authority_link + + + A_USER_ID, + + + A_AU_ID, + + + + + #{userId,jdbcType=CHAR}, + + + #{auId,jdbcType=CHAR}, + + + + + + update t_user_authority_link + + + A_USER_ID = #{record.userId,jdbcType=CHAR}, + + + A_AU_ID = #{record.auId,jdbcType=CHAR}, + + + + + + + + update t_user_authority_link + set A_USER_ID = #{record.userId,jdbcType=CHAR}, + A_AU_ID = #{record.auId,jdbcType=CHAR} + + + + + \ No newline at end of file -- cgit 1.2.3-korg