|
@@ -6,7 +6,7 @@
|
|
|
<resultMap id="FeedbackStepStatusMap" type="com.jpsoft.excellent.modules.base.entity.FeedbackStepStatus">
|
|
|
<id property="id" column="id_" />
|
|
|
<result property="feedbackStepId" column="feedback_step_id" />
|
|
|
- <result property="orgId" column="org_id" />
|
|
|
+ <result property="stationId" column="station_id" />
|
|
|
<result property="userId" column="user_id" />
|
|
|
<result property="content" column="content_" />
|
|
|
<result property="status" column="status_" />
|
|
@@ -25,12 +25,12 @@
|
|
|
-->
|
|
|
<![CDATA[
|
|
|
insert into base_feedback_step_status
|
|
|
- (id_,feedback_step_id,org_id,user_id,content_,status_,alloted_date,del_flag,create_time,create_by,update_time,update_by)
|
|
|
+ (id_,feedback_step_id,station_id,user_id,content_,status_,alloted_date,del_flag,create_time,create_by,update_time,update_by)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
|
,#{feedbackStepId,jdbcType=VARCHAR}
|
|
|
-,#{orgId,jdbcType=VARCHAR}
|
|
|
+,#{stationId,jdbcType=VARCHAR}
|
|
|
,#{userId,jdbcType=VARCHAR}
|
|
|
,#{content,jdbcType=VARCHAR}
|
|
|
,#{status,jdbcType= NUMERIC }
|
|
@@ -52,8 +52,8 @@
|
|
|
<if test="feedbackStepId!=null">
|
|
|
feedback_step_id=#{feedbackStepId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="orgId!=null">
|
|
|
- org_id=#{orgId,jdbcType=VARCHAR},
|
|
|
+ <if test="stationId!=null">
|
|
|
+ station_id=#{stationId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="userId!=null">
|
|
|
user_id=#{userId,jdbcType=VARCHAR},
|
|
@@ -87,7 +87,7 @@
|
|
|
</update>
|
|
|
<select id="get" parameterType="string" resultMap="FeedbackStepStatusMap">
|
|
|
select
|
|
|
-id_,feedback_step_id,org_id,user_id,content_,status_,alloted_date,del_flag,create_time,create_by,update_time,update_by from base_feedback_step_status where id_=#{0}
|
|
|
+id_,feedback_step_id,station_id,user_id,content_,status_,alloted_date,del_flag,create_time,create_by,update_time,update_by from base_feedback_step_status where id_=#{0}
|
|
|
</select>
|
|
|
<select id="exist" parameterType="string" resultType="int">
|
|
|
select count(*) from base_feedback_step_status where id_=#{0}
|