dyh_th_third_cause id, third_sys_id, third_sys_name, third_code, third_name, third_parent_code, cause_code, level, create_time, update_time third_sys_id = #{entity.thirdSysId}, third_sys_name = #{entity.thirdSysName}, third_code = #{entity.thirdCode}, third_name = #{entity.thirdName}, third_parent_code = #{entity.thirdParentCode}, cause_code = #{entity.causeCode}, level = #{entity.level}, create_time = #{entity.createTime}, update_time = #{entity.updateTime} and id = #{terms.id} and third_sys_id = #{terms.thirdSysId} and third_sys_name = #{terms.thirdSysName} and third_code = #{terms.thirdCode} and third_name = #{terms.thirdName} and third_parent_code = #{terms.thirdParentCode} and cause_code = #{terms.causeCode} and level = #{terms.level} and DATE_FORMAT(create_time,'%Y-%m-%d') = #{terms.createTime} and (DATE_FORMAT(create_time,'%Y-%m-%d') = ]]> #{terms.createStart} and DATE_FORMAT(create_time,'%Y-%m-%d') #{terms.createEnd}) and DATE_FORMAT(update_time,'%Y-%m-%d') = #{terms.updateTime} and (DATE_FORMAT(update_time,'%Y-%m-%d') = ]]> #{terms.updateStart} and DATE_FORMAT(update_time,'%Y-%m-%d') #{terms.updateEnd}) update id = #{entity.id} update delete from where id = #{id}