|
@@ -3,8 +3,8 @@
|
|
|
<mapper namespace="com.xt.js.gkaq.frame.mappers.GroupModelMapper" >
|
|
|
<resultMap id="BaseResultMap" type="com.xt.js.gkaq.frame.model.GroupModel" >
|
|
|
<id column="ID" property="id" jdbcType="VARCHAR" />
|
|
|
- <result column="ORG" property="org" jdbcType="VARCHAR" />
|
|
|
- <result column="ROLE" property="role" jdbcType="VARCHAR" />
|
|
|
+ <result column="ORG_ID" property="org" jdbcType="VARCHAR" />
|
|
|
+ <result column="ROLE_ID" property="role" jdbcType="VARCHAR" />
|
|
|
<result column="REMARK" property="remark" jdbcType="VARCHAR" />
|
|
|
<result column="CREATE_TIME" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
<result column="UPDATE_TIME" property="updateTime" jdbcType="TIMESTAMP" />
|
|
@@ -17,7 +17,7 @@
|
|
|
where ID = #{id,jdbcType=VARCHAR}
|
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.xt.js.gkaq.frame.model.GroupModel" >
|
|
|
- insert into AQ_BASIC_FRAME_GROUP (ID, ORG, ROLE,
|
|
|
+ insert into AQ_BASIC_FRAME_GROUP (ID, ORG_ID, ROLE_ID,
|
|
|
REMARK, CREATE_TIME, UPDATE_TIME,
|
|
|
STATE,CREATE_USER,UPDATE_USER)
|
|
|
values (#{id,jdbcType=VARCHAR}, #{org,jdbcType=VARCHAR}, #{role,jdbcType=VARCHAR},
|
|
@@ -26,8 +26,8 @@
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.xt.js.gkaq.frame.model.GroupModel" >
|
|
|
update AQ_BASIC_FRAME_GROUP
|
|
|
- set ORG = #{org,jdbcType=VARCHAR},
|
|
|
- ROLE = #{role,jdbcType=VARCHAR},
|
|
|
+ set ORG_ID = #{org,jdbcType=VARCHAR},
|
|
|
+ ROLE_ID = #{role,jdbcType=VARCHAR},
|
|
|
REMARK = #{remark,jdbcType=VARCHAR},
|
|
|
CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
|
|
|
UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
|
|
@@ -37,12 +37,12 @@
|
|
|
where ID = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
|
|
|
- select ID, ORG, ROLE, REMARK, CREATE_TIME, UPDATE_TIME, STATE, CREATE_USER, UPDATE_USER
|
|
|
+ select ID, ORG_ID, ROLE_ID, REMARK, CREATE_TIME, UPDATE_TIME, STATE, CREATE_USER, UPDATE_USER
|
|
|
from AQ_BASIC_FRAME_GROUP
|
|
|
where ID = #{id,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<select id="selectAll" resultMap="BaseResultMap" >
|
|
|
- select ID, ORG, ROLE, REMARK, CREATE_TIME, UPDATE_TIME, STATE, CREATE_USER, UPDATE_USER
|
|
|
+ select ID, ORG_ID, ROLE_ID, REMARK, CREATE_TIME, UPDATE_TIME, STATE, CREATE_USER, UPDATE_USER
|
|
|
from AQ_BASIC_FRAME_GROUP
|
|
|
</select>
|
|
|
</mapper>
|