delete from ocp_model_version where requirement_code = #{requirementCode} delete from ocp_model_prop_version where model_code =#{modelCode} delete from ocp_model_requirement_approval where requirement_code = #{requirementCode} update ocp_model_requirement_accept set accept_stats = 1 where requirement_code = #{requirementCode} delete from ocp_model_rel_version where relation_mode_code = #{modelCode} insert into ocp_model_prop(obj_id,model_code, column_name, prop_code, column_comments, data_type, data_length, data_scale, is_pk, is_required, prop_order_no, prop_user_id, prop_user_name, prop_ctime, prop_mtime) values (#{entity.objId},#{entity.modelCode}, #{entity.propName}, #{entity.propCode}, #{entity.columnComments}, #{entity.propType}, #{entity.propLength}, #{entity.dataScale}, #{entity.isPk}, #{entity.isRequired}, #{entity.propOrderNo}, #{entity.propUserId}, #{entity.propUserName}, #{entity.propCtime}, #{entity.propMtime})