IGR_ID, IG_ID, IGR_Result_Code, IGR_Result_Name, IGR_Iscomplete, IGR_Recordor, IGR_Record_Time, IGR_Del_Reason, IGR_Operation_Time, IGR_Operator, IGR_IsDel ,IGR_Indicator_Name, IGR_Indicator_Code, IGR_Remark delete from inp_guidance_result where IGR_ID = #{igrId,jdbcType=INTEGER} insert into inp_guidance_result (IGR_ID, IG_ID, IGR_Result_Code, IGR_Result_Name, IGR_Iscomplete, IGR_Recordor, IGR_Record_Time, IGR_Del_Reason, IGR_Operation_Time, IGR_Operator, IGR_IsDel ,IGR_Indicator_Name, IGR_Indicator_Code) values (#{igrId,jdbcType=INTEGER}, #{igId,jdbcType=INTEGER}, #{igrResultCode,jdbcType=VARCHAR}, #{igrResultName,jdbcType=VARCHAR}, #{igrIscomplete,jdbcType=INTEGER}, #{igrRecordor,jdbcType=VARCHAR}, #{igrRecordTime,jdbcType=TIMESTAMP}, #{igrDelReason,jdbcType=VARCHAR}, #{igrOperationTime,jdbcType=TIMESTAMP}, #{igrOperator,jdbcType=VARCHAR}, #{igrIsdel,jdbcType=INTEGER}, #{igrIndicatorName,jdbcType=VARCHAR}, #{igrIndicatorCode,jdbcType=VARCHAR}) insert into inp_guidance_result (IG_ID, IGR_Result_Code, IGR_Result_Name, IGR_Iscomplete, IGR_Recordor, IGR_Record_Time, IGR_Operation_Time, IGR_Operator, IGR_Indicator_Name, IGR_Indicator_Code, IGR_Remark) values (#{item.igId,jdbcType=INTEGER}, #{item.igrResultCode,jdbcType=VARCHAR}, #{item.igrResultName,jdbcType=VARCHAR}, #{item.igrIscomplete,jdbcType=INTEGER}, #{item.igrRecordor,jdbcType=VARCHAR}, #{item.igrRecordTime,jdbcType=TIMESTAMP}, now(), #{item.igrOperator,jdbcType=VARCHAR}, #{item.igrIndicatorName,jdbcType=VARCHAR}, #{item.igrIndicatorCode,jdbcType=VARCHAR},#{item.igrRemark,jdbcType=VARCHAR}) insert into inp_guidance_result IGR_ID, IG_ID, IGR_Result_Code, IGR_Result_Name, IGR_Iscomplete, IGR_Recordor, IGR_Record_Time, IGR_Del_Reason, IGR_Operation_Time, IGR_Operator, IGR_IsDel, IGR_Indicator_Name, IGR_Indicator_Code, IGR_Remark, #{igrId,jdbcType=INTEGER}, #{igId,jdbcType=INTEGER}, #{igrResultCode,jdbcType=VARCHAR}, #{igrResultName,jdbcType=VARCHAR}, #{igrIscomplete,jdbcType=INTEGER}, #{igrRecordor,jdbcType=VARCHAR}, #{igrRecordTime,jdbcType=TIMESTAMP}, #{igrDelReason,jdbcType=VARCHAR}, #{igrOperationTime,jdbcType=TIMESTAMP}, #{igrOperator,jdbcType=VARCHAR}, #{igrIsdel,jdbcType=INTEGER}, #{igrIndicatorName,jdbcType=VARCHAR}, #{igrIndicatorCode,jdbcType=VARCHAR}, #{igrRemark,jdbcType=VARCHAR}, update inp_guidance_result IG_ID = #{igId,jdbcType=INTEGER}, IGR_Result_Code = #{igrResultCode,jdbcType=VARCHAR}, IGR_Result_Name = #{igrResultName,jdbcType=VARCHAR}, IGR_Iscomplete = #{igrIscomplete,jdbcType=INTEGER}, IGR_Recordor = #{igrRecordor,jdbcType=VARCHAR}, IGR_Record_Time = #{igrRecordTime,jdbcType=TIMESTAMP}, IGR_Del_Reason = #{igrDelReason,jdbcType=VARCHAR}, IGR_Operation_Time = #{igrOperationTime,jdbcType=TIMESTAMP}, IGR_Operator = #{igrOperator,jdbcType=VARCHAR}, IGR_IsDel = #{igrIsdel,jdbcType=INTEGER}, IGR_Indicator_Name = #{igrIndicatorName,jdbcType=VARCHAR}, IGR_Indicator_Code = #{igrIndicatorCode,jdbcType=VARCHAR}, IGR_Remark = #{igrRemark,jdbcType=VARCHAR}, where IGR_ID = #{igrId,jdbcType=INTEGER} update inp_guidance_result set IG_ID = #{igId,jdbcType=INTEGER}, IGR_Result_Code = #{igrResultCode,jdbcType=VARCHAR}, IGR_Result_Name = #{igrResultName,jdbcType=VARCHAR}, IGR_Iscomplete = #{igrIscomplete,jdbcType=INTEGER}, IGR_Recordor = #{igrRecordor,jdbcType=VARCHAR}, IGR_Record_Time = #{igrRecordTime,jdbcType=TIMESTAMP}, IGR_Del_Reason = #{igrDelReason,jdbcType=VARCHAR}, IGR_Operation_Time = #{igrOperationTime,jdbcType=TIMESTAMP}, IGR_Operator = #{igrOperator,jdbcType=VARCHAR}, IGR_IsDel = #{igrIsdel,jdbcType=INTEGER}, IGR_Indicator_Name = #{igrIndicatorName,jdbcType=VARCHAR}, IGR_Indicator_Code = #{igrIndicatorCode,jdbcType=VARCHAR}, IGR_Remark = #{igrRemark,jdbcType=VARCHAR} where IGR_ID = #{igrId,jdbcType=INTEGER} update inp_guidance_result set IG_ID = #{item.igId,jdbcType=INTEGER}, IGR_Result_Code = #{item.igrResultCode,jdbcType=VARCHAR}, IGR_Result_Name = #{item.igrResultName,jdbcType=VARCHAR}, IGR_Iscomplete = #{item.igrIscomplete,jdbcType=INTEGER}, IGR_Recordor = #{item.igrRecordor,jdbcType=VARCHAR}, IGR_Record_Time = #{item.igrRecordTime,jdbcType=TIMESTAMP}, IGR_Operation_Time = now(), IGR_Operator = #{item.igrOperator,jdbcType=VARCHAR}, IGR_Remark = #{item.igrRemark,jdbcType=VARCHAR} where IGR_ID = #{item.igrId,jdbcType=INTEGER} update inp_guidance_result set IGR_Result_Name = #{item.igrResultName,jdbcType=VARCHAR}, IGR_Remark = #{item.igrRemark,jdbcType=VARCHAR}, IGR_Iscomplete = 1 where IGR_ID = #{item.igrId,jdbcType=INTEGER} update inp_guidance_result set IGR_IsDel = -1 where IGR_ID = #{igrId,jdbcType=INTEGER}